Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001801/0.001801, allocations: 123 kB / 17.79 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002225/0.002225, allocations: 203.3 kB / 20.75 MB, free: 2.277 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.436/1.436, allocations: 230.6 MB / 254.1 MB, free: 15.13 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002225/0.002225, allocations: 43.94 kB / 373 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.135, allocations: 53.34 MB / 426.4 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.003766/0.1388, allocations: 2.621 MB / 429 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00118/0.14, allocations: 0.705 MB / 429.7 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001233/0.1401, allocations: 7.938 kB / 429.7 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001592/0.1403, allocations: 43.58 kB / 429.7 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002312/0.1405, allocations: 75.34 kB / 429.8 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001823/0.1407, allocations: 91.81 kB / 429.9 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003327/0.141, allocations: 310.6 kB / 430.2 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001773/0.1412, allocations: 68.94 kB / 430.3 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/0.1413, allocations: 119.6 kB / 430.4 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001626/0.1415, allocations: 127.5 kB / 430.5 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.978e-05/0.1415, allocations: 24 kB / 430.5 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.264e-05/0.1416, allocations: 28 kB / 430.6 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.229e-05/0.1416, allocations: 55.77 kB / 430.6 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001209/0.1417, allocations: 131.4 kB / 430.7 MB, free: 376 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000316/0.1421, allocations: 290.7 kB / 431 MB, free: 84 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1421, allocations: 0 / 431 MB, free: 84 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1421, allocations: 0 / 431 MB, free: 84 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.1421, allocations: 0 / 431 MB, free: 84 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.175/0.3171, allocations: 0.5617 MB / 431.6 MB, free: 11.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.3171, allocations: 10.52 kB / 431.6 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.501e-05/0.3172, allocations: 58.97 kB / 431.7 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.146e-05/0.3173, allocations: 31.47 kB / 431.7 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003586/0.3176, allocations: 260.1 kB / 431.9 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.3176, allocations: 17.03 kB / 432 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.385e-05/0.3177, allocations: 21.47 kB / 432 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004419/0.3181, allocations: 225.9 kB / 432.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.3181, allocations: 3.938 kB / 432.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.475e-05/0.3182, allocations: 9.719 kB / 432.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.3182, allocations: 5.75 kB / 432.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004215/0.3186, allocations: 193.4 kB / 432.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001278/0.3199, allocations: 0.8963 MB / 433.3 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005838/0.3205, allocations: 202.1 kB / 433.5 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003018/0.3208, allocations: 117.6 kB / 433.6 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.3208, allocations: 5.828 kB / 433.6 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.3208, allocations: 32.56 kB / 433.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.313e-06/0.3208, allocations: 0 / 433.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.001745/0.3225, allocations: 0.5559 MB / 434.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.374e-05/0.3226, allocations: 52.88 kB / 434.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001985/0.3228, allocations: 232 kB / 434.5 MB, free: 10 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.3228, allocations: 33.45 kB / 434.5 MB, free: 9.973 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.025e-05/0.3229, allocations: 170 kB / 434.7 MB, free: 9.855 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.344e-05/0.3229, allocations: 60.17 kB / 434.7 MB, free: 9.816 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.306e-05/0.323, allocations: 42.41 kB / 434.8 MB, free: 9.801 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.668e-05/0.323, allocations: 328.8 kB / 435.1 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001716/0.3232, allocations: 69.89 kB / 435.2 MB, free: 9.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001876/0.3234, allocations: 111.4 kB / 435.3 MB, free: 9.422 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000349/0.3237, allocations: 188.5 kB / 435.5 MB, free: 9.363 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3237, allocations: 1.125 kB / 435.5 MB, free: 9.363 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008796/0.3246, allocations: 344.3 kB / 435.8 MB, free: 9.258 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.3246, allocations: 6.562 kB / 435.8 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.3246, allocations: 2.875 kB / 435.8 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003912/0.325, allocations: 77.53 kB / 435.9 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001608/0.3252, allocations: 48.34 kB / 435.9 MB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002531/0.3277, allocations: 2.009 MB / 437.9 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001927/0.3279, allocations: 29.31 kB / 438 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/0.3279, allocations: 7.469 kB / 438 MB, free: 7.566 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001298/0.328, allocations: 140 kB / 438.1 MB, free: 7.461 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.495e-05/0.3281, allocations: 104.5 kB / 438.2 MB, free: 7.379 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001521/0.3283, allocations: 149.5 kB / 438.4 MB, free: 7.277 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.242e-06/0.3283, allocations: 0 / 438.4 MB, free: 7.277 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003196/0.3286, allocations: 224.5 kB / 438.6 MB, free: 7.168 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.3286, allocations: 5.688 kB / 438.6 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.785e-06/0.3286, allocations: 1.375 kB / 438.6 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.282e-05/0.3287, allocations: 31 kB / 438.6 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.3289, allocations: 42.33 kB / 438.7 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006726/0.3295, allocations: 1.423 MB / 440.1 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001244/0.3297, allocations: 12.7 kB / 440.1 MB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.3297, allocations: 14.66 kB / 440.1 MB, free: 5.719 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 8.672e-05/0.3298, allocations: 189.6 kB / 440.3 MB, free: 5.531 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.806e-05/0.3298, allocations: 20.58 kB / 440.3 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.53e-05/0.3299, allocations: 24.78 kB / 440.3 MB, free: 5.504 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.3299, allocations: 6.281 kB / 440.3 MB, free: 5.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.3299, allocations: 4.062 kB / 440.4 MB, free: 5.496 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.3299, allocations: 4.781 kB / 440.4 MB, free: 5.496 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.3309, allocations: 0.6156 MB / 441 MB, free: 5.086 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3309, allocations: 0 / 441 MB, free: 5.086 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/0.331, allocations: 23 kB / 441 MB, free: 5.086 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000257/0.3313, allocations: 77.36 kB / 441.1 MB, free: 5.062 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.3313, allocations: 5.969 kB / 441.1 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001985/0.3333, allocations: 1.922 MB / 443 MB, free: 3.402 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3333, allocations: 0 / 443 MB, free: 3.402 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008414/0.3341, allocations: 439 kB / 443.4 MB, free: 3.172 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.69e-05/0.3342, allocations: 97.52 kB / 443.5 MB, free: 3.066 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.524e-05/0.3342, allocations: 9.562 kB / 443.5 MB, free: 3.059 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001849/0.3344, allocations: 23.11 kB / 443.6 MB, free: 3.055 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.712e-05/0.3344, allocations: 13.36 kB / 443.6 MB, free: 3.051 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.3344, allocations: 4.078 kB / 443.6 MB, free: 3.051 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001332/0.3346, allocations: 162.3 kB / 443.7 MB, free: 2.949 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3346, allocations: 0 / 443.7 MB, free: 2.949 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005576/0.3351, allocations: 119 kB / 443.8 MB, free: 2.922 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001036/0.3362, allocations: 0.9725 MB / 444.8 MB, free: 2.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001152/0.3373, allocations: 0.5242 MB / 445.3 MB, free: 1.855 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3373, allocations: 4.062 kB / 445.3 MB, free: 1.852 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002689/0.3376, allocations: 200.7 kB / 445.5 MB, free: 1.711 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003674/0.338, allocations: 39.41 kB / 445.6 MB, free: 1.699 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003657/0.3416, allocations: 2.64 MB / 448.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004012/0.342, allocations: 0.7421 MB / 449 MB, free: 15.23 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001084/0.3421, allocations: 22.56 kB / 449 MB, free: 15.22 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/0.3422, allocations: 67.81 kB / 449.1 MB, free: 15.17 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3422, allocations: 0 / 449.1 MB, free: 15.17 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03689/0.3791, allocations: 5.496 MB / 454.5 MB, free: 14.4 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/12.16, allocations: 17.19 kB / 454.6 MB, free: 14.39 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_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_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.66293831099756] Failed to read output from testmodel.py, exit status != 0: ['time', 'c.v', 'opAmp.out.v', 'opAmp.out.i'] 12.254176140995696 12.276922276 12.129984874 Calling exit ...