Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00187/0.00187, allocations: 122.5 kB / 18.51 MB, free: 4.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002167/0.002167, allocations: 215.2 kB / 21.46 MB, free: 1.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.451/1.451, allocations: 230.5 MB / 254.8 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_LowPass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_LowPass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 67.98 kB / 373.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1105, allocations: 53.33 MB / 427 MB, free: 4.766 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.004876/0.1153, allocations: 3.106 MB / 430.2 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001554/0.1169, allocations: 0.8142 MB / 431 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001691/0.1171, allocations: 4 kB / 431 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001884/0.1173, allocations: 55.44 kB / 431 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002221/0.1175, allocations: 115.1 kB / 431.1 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003299/0.1178, allocations: 135.8 kB / 431.3 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005271/0.1183, allocations: 458.2 kB / 431.7 MB, free: 68 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1996/0.318, allocations: 94.06 kB / 431.8 MB, free: 7.668 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005791/0.3185, allocations: 181.7 kB / 432 MB, free: 7.664 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002381/0.3188, allocations: 196.3 kB / 432.2 MB, free: 7.625 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.765e-05/0.3189, allocations: 44.91 kB / 432.2 MB, free: 7.625 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.115e-05/0.3189, allocations: 44.34 kB / 432.3 MB, free: 7.625 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.972e-05/0.319, allocations: 84.45 kB / 432.3 MB, free: 7.613 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001844/0.3192, allocations: 198.4 kB / 432.5 MB, free: 7.562 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005341/0.3197, allocations: 0.4915 MB / 433 MB, free: 7.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3197, allocations: 0 / 433 MB, free: 7.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3197, allocations: 0.5625 kB / 433 MB, free: 7.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.413e-06/0.3197, allocations: 4.719 kB / 433 MB, free: 7.496 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001189/0.3209, allocations: 0.7165 MB / 433.8 MB, free: 6.996 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.321, allocations: 10.06 kB / 433.8 MB, free: 6.996 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.035e-05/0.321, allocations: 63.09 kB / 433.8 MB, free: 6.957 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.429e-05/0.3211, allocations: 41.27 kB / 433.9 MB, free: 6.938 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003433/0.3214, allocations: 316.1 kB / 434.2 MB, free: 6.711 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.3215, allocations: 19.58 kB / 434.2 MB, free: 6.711 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.749e-05/0.3215, allocations: 28.47 kB / 434.2 MB, free: 6.711 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006665/0.3222, allocations: 358.6 kB / 434.6 MB, free: 6.652 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.3222, allocations: 0 / 434.6 MB, free: 6.652 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.057e-05/0.3222, allocations: 11.47 kB / 434.6 MB, free: 6.652 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.3222, allocations: 5.031 kB / 434.6 MB, free: 6.652 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007858/0.323, allocations: 304.7 kB / 434.9 MB, free: 6.652 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001927/0.3249, allocations: 1.265 MB / 436.2 MB, free: 6.105 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007699/0.3257, allocations: 324.4 kB / 436.5 MB, free: 5.984 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004076/0.3261, allocations: 129.1 kB / 436.6 MB, free: 5.977 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.296e-05/0.3261, allocations: 3.578 kB / 436.6 MB, free: 5.977 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004719/0.3266, allocations: 200.6 kB / 436.8 MB, free: 5.902 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.352e-06/0.3266, allocations: 0 / 436.8 MB, free: 5.902 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.002165/0.3288, allocations: 0.6448 MB / 437.4 MB, free: 5.734 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.846e-05/0.3288, allocations: 110.2 kB / 437.5 MB, free: 5.609 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003349/0.3292, allocations: 291.5 kB / 437.8 MB, free: 5.504 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.796e-05/0.3292, allocations: 34.98 kB / 437.9 MB, free: 5.469 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.3293, allocations: 209.9 kB / 438.1 MB, free: 5.332 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.926e-05/0.3294, allocations: 64.77 kB / 438.1 MB, free: 5.293 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.844e-05/0.3295, allocations: 56.05 kB / 438.2 MB, free: 5.273 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.178e-05/0.3295, allocations: 343 kB / 438.5 MB, free: 4.957 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003755/0.3299, allocations: 116.4 kB / 438.6 MB, free: 4.953 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004315/0.3303, allocations: 216 kB / 438.8 MB, free: 4.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000733/0.3311, allocations: 340.2 kB / 439.2 MB, free: 4.699 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.3311, allocations: 1.125 kB / 439.2 MB, free: 4.699 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001298/0.3324, allocations: 488.4 kB / 439.7 MB, free: 4.605 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.472e-05/0.3324, allocations: 33.31 kB / 439.7 MB, free: 4.574 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.3324, allocations: 3.188 kB / 439.7 MB, free: 4.574 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003137/0.3327, allocations: 68.62 kB / 439.8 MB, free: 4.555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002956/0.333, allocations: 70.16 kB / 439.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001974/0.335, allocations: 1.631 MB / 441.5 MB, free: 3.117 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000418/0.3354, allocations: 66.05 kB / 441.5 MB, free: 3.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.522e-05/0.3354, allocations: 12.2 kB / 441.5 MB, free: 3.09 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001608/0.3356, allocations: 149 kB / 441.7 MB, free: 2.957 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.631e-05/0.3357, allocations: 32.69 kB / 441.7 MB, free: 2.938 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.565e-05/0.3357, allocations: 32.59 kB / 441.7 MB, free: 2.918 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.3357, allocations: 7.328 kB / 441.8 MB, free: 2.918 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3357, allocations: 0.5156 kB / 441.8 MB, free: 2.918 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.3357, allocations: 4.75 kB / 441.8 MB, free: 2.914 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001575/0.3373, allocations: 0.7947 MB / 442.6 MB, free: 2.445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.3373, allocations: 0 / 442.6 MB, free: 2.445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002316/0.3375, allocations: 45.72 kB / 442.6 MB, free: 2.441 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002254/0.3378, allocations: 65.83 kB / 442.7 MB, free: 2.426 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.809e-05/0.3378, allocations: 6.562 kB / 442.7 MB, free: 2.422 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001762/0.3395, allocations: 1.62 MB / 444.3 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.3395, allocations: 5.219 kB / 444.3 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001553/0.3411, allocations: 0.5646 MB / 444.9 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.874e-05/0.3412, allocations: 105.9 kB / 445 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.121e-05/0.3412, allocations: 7.953 kB / 445 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002947/0.3415, allocations: 30.55 kB / 445 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.899e-05/0.3416, allocations: 28.67 kB / 445 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.93e-05/0.3416, allocations: 17.22 kB / 445 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002571/0.3419, allocations: 208.1 kB / 445.2 MB, free: 468 kB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3419, allocations: 0 / 445.2 MB, free: 468 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004687/0.3423, allocations: 82.23 kB / 445.3 MB, free: 452 kB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (firstOrder.c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001865/0.3442, allocations: 1.105 MB / 446.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001196/0.3454, allocations: 443.5 kB / 446.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.3454, allocations: 1.75 kB / 446.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005423/0.346, allocations: 238.5 kB / 447.1 MB, free: 15.26 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000468/0.3464, allocations: 47.97 kB / 447.1 MB, free: 15.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00768/0.3541, allocations: 3.665 MB / 450.8 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00039/0.3545, allocations: 0.7652 MB / 451.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000164/0.3547, allocations: 40.89 kB / 451.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000161/0.3548, allocations: 94.27 kB / 451.7 MB, free: 12.31 MB / 366.1 MB Notification: Performance of SimCode: time 8.92e-07/0.3548, allocations: 1.031 kB / 451.7 MB, free: 12.31 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03722/0.392, allocations: 7.312 MB / 459 MB, free: 10.09 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.97, allocations: 1.75 kB / 459 MB, free: 10.09 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_LowPass.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.460626360960305] Failed to read output from testmodel.py, exit status != 0: ['time', 'firstOrder.c.v', 'firstOrder.opAmp.out.v', 'firstOrder.opAmp.out.i'] 12.062562588136643 12.077015101 11.754178786 Calling exit ...