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.00174/0.00174, allocations: 106.4 kB / 21.22 MB, free: 0.6758 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.002094/0.002094, allocations: 209.9 kB / 24.53 MB, free: 4.035 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.426/1.426, allocations: 230.6 MB / 258.3 MB, free: 8.055 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.001932/0.001932, allocations: 64.77 kB / 378.6 MB, free: 3.129 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2409/0.2429, allocations: 53.36 MB / 431.9 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.004556/0.2474, allocations: 3.131 MB / 435.1 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001532/0.2489, allocations: 0.8065 MB / 435.9 MB, free: 2.926 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000192/0.2491, allocations: 15.94 kB / 435.9 MB, free: 2.91 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001733/0.2493, allocations: 47.5 kB / 435.9 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000228/0.2495, allocations: 119 kB / 436.1 MB, free: 2.746 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003287/0.2499, allocations: 131.8 kB / 436.2 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004978/0.2504, allocations: 458.3 kB / 436.6 MB, free: 2.168 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002201/0.2506, allocations: 99.45 kB / 436.7 MB, free: 2.07 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003053/0.2509, allocations: 187.4 kB / 436.9 MB, free: 1.887 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002516/0.2511, allocations: 195.1 kB / 437.1 MB, free: 1.695 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.08e-05/0.2512, allocations: 44 kB / 437.1 MB, free: 1.652 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.431e-05/0.2513, allocations: 48 kB / 437.2 MB, free: 1.605 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.24e-05/0.2513, allocations: 87.69 kB / 437.3 MB, free: 1.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001811/0.2515, allocations: 191.1 kB / 437.5 MB, free: 1.332 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005465/0.2521, allocations: 0.4989 MB / 438 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2521, allocations: 0 / 438 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2521, allocations: 0 / 438 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.2521, allocations: 0 / 438 MB, free: 0.8359 MB / 334.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.001278/0.2534, allocations: 0.6433 MB / 438.6 MB, free: 156 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.2534, allocations: 8.031 kB / 438.6 MB, free: 148 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.414e-05/0.2535, allocations: 62.72 kB / 438.7 MB, free: 76 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.333e-05/0.2535, allocations: 40.7 kB / 438.7 MB, free: 36 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004374/0.254, allocations: 256.9 kB / 439 MB, free: 15.76 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.826e-05/0.254, allocations: 25.02 kB / 439 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.574e-05/0.2541, allocations: 32.12 kB / 439 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007407/0.2548, allocations: 361 kB / 439.4 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.2548, allocations: 0 / 439.4 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.203e-05/0.2549, allocations: 11.94 kB / 439.4 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.2549, allocations: 8 kB / 439.4 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008142/0.2557, allocations: 302.4 kB / 439.7 MB, free: 15.03 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002245/0.2579, allocations: 1.226 MB / 440.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007508/0.2587, allocations: 246.3 kB / 441.2 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004024/0.2591, allocations: 132.8 kB / 441.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.056e-05/0.2591, allocations: 4 kB / 441.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005028/0.2596, allocations: 196.8 kB / 441.5 MB, free: 13.13 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.512e-06/0.2596, allocations: 0 / 441.5 MB, free: 13.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001959/0.2616, allocations: 0.5642 MB / 442 MB, free: 12.55 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.342e-05/0.2617, allocations: 110.8 kB / 442.2 MB, free: 12.42 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003465/0.262, allocations: 300.4 kB / 442.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.89e-05/0.262, allocations: 29.7 kB / 442.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001619/0.2622, allocations: 216.3 kB / 442.7 MB, free: 11.87 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.241e-05/0.2622, allocations: 55.55 kB / 442.7 MB, free: 11.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.2624, allocations: 57.66 kB / 442.8 MB, free: 11.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.2625, allocations: 334.8 kB / 443.1 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003624/0.2629, allocations: 120.2 kB / 443.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004347/0.2633, allocations: 217.3 kB / 443.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007599/0.2641, allocations: 341.5 kB / 443.8 MB, free: 10.67 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.2641, allocations: 4.094 kB / 443.8 MB, free: 10.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001251/0.2653, allocations: 491.7 kB / 444.3 MB, free: 10.17 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.241e-05/0.2654, allocations: 41.69 kB / 444.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.2654, allocations: 0 / 444.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003243/0.2657, allocations: 64.89 kB / 444.4 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000292/0.266, allocations: 71.86 kB / 444.5 MB, free: 9.988 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002343/0.2683, allocations: 1.533 MB / 446 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000339/0.2687, allocations: 63.8 kB / 446 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.495e-05/0.2687, allocations: 12 kB / 446.1 MB, free: 8.258 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.0001851/0.2689, allocations: 163.4 kB / 446.2 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.505e-05/0.2689, allocations: 31.75 kB / 446.2 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.571e-05/0.269, allocations: 30.14 kB / 446.3 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.269, allocations: 0 / 446.3 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.269, allocations: 0 / 446.3 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.269, allocations: 7.938 kB / 446.3 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001519/0.2705, allocations: 0.7643 MB / 447 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.2705, allocations: 0 / 447 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002357/0.2708, allocations: 51.94 kB / 447.1 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002164/0.271, allocations: 64.8 kB / 447.2 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.271, allocations: 0 / 447.2 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002013/0.273, allocations: 1.533 MB / 448.7 MB, free: 5.441 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.273, allocations: 4.094 kB / 448.7 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001381/0.2744, allocations: 0.562 MB / 449.3 MB, free: 4.855 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.889e-05/0.2745, allocations: 43.7 kB / 449.3 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4e-05/0.2745, allocations: 4 kB / 449.3 MB, free: 4.809 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002726/0.2748, allocations: 31.97 kB / 449.3 MB, free: 4.777 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.195e-05/0.2748, allocations: 23.95 kB / 449.4 MB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.2749, allocations: 4.062 kB / 449.4 MB, free: 4.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002372/0.2751, allocations: 211.1 kB / 449.6 MB, free: 4.543 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2751, allocations: 0 / 449.6 MB, free: 4.543 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003963/0.2755, allocations: 79.89 kB / 449.7 MB, free: 4.465 MB / 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.001762/0.2773, allocations: 1.108 MB / 450.8 MB, free: 3.324 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001031/0.2783, allocations: 433.8 kB / 451.2 MB, free: 2.875 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2783, allocations: 0.6875 kB / 451.2 MB, free: 2.875 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004779/0.2788, allocations: 238.5 kB / 451.4 MB, free: 2.629 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004126/0.2792, allocations: 51.62 kB / 451.5 MB, free: 2.582 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007094/0.2863, allocations: 3.661 MB / 455.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004157/0.2867, allocations: 0.7639 MB / 455.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001398/0.2868, allocations: 34.95 kB / 455.9 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001566/0.287, allocations: 95.39 kB / 456 MB, free: 13.84 MB / 366.1 MB Notification: Performance of SimCode: time 6.21e-07/0.287, allocations: 3.938 kB / 456 MB, free: 13.84 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03731/0.3243, allocations: 7.457 MB / 463.5 MB, free: 6.547 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.04/12.37, allocations: 13.84 kB / 463.5 MB, free: 6.539 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.76899744803086] Failed to read output from testmodel.py, exit status != 0: ['time', 'firstOrder.c.v', 'firstOrder.opAmp.out.v', 'firstOrder.opAmp.out.i'] 12.463884606957436 12.479711453 12.224485533 Calling exit ...