Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00169/0.00169, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001941/0.001941, allocations: 180.1 kB / 23.7 MB, free: 4.414 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 225.7 MB / 252.5 MB, free: 12.81 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 55.89 kB / 370.4 MB, free: 9.633 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2339/0.2355, allocations: 52.18 MB / 422.6 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.003757/0.2392, allocations: 2.439 MB / 425 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001138/0.2403, allocations: 0.6349 MB / 425.7 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001267/0.2405, allocations: 7.938 kB / 425.7 MB, free: 11.42 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001446/0.2406, allocations: 43.56 kB / 425.7 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002463/0.2409, allocations: 83.33 kB / 425.8 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002005/0.2411, allocations: 91.81 kB / 425.9 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003435/0.2414, allocations: 306.6 kB / 426.2 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001903/0.2416, allocations: 72.92 kB / 426.3 MB, free: 10.83 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001534/0.2418, allocations: 115.6 kB / 426.4 MB, free: 10.72 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001617/0.2419, allocations: 107.5 kB / 426.5 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.844e-05/0.242, allocations: 24 kB / 426.5 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.036e-05/0.242, allocations: 24 kB / 426.5 MB, free: 10.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.902e-05/0.2421, allocations: 59.77 kB / 426.6 MB, free: 10.51 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001174/0.2422, allocations: 107.5 kB / 426.7 MB, free: 10.4 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003329/0.2425, allocations: 289 kB / 427 MB, free: 10.12 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.2425, allocations: 8 kB / 427 MB, free: 10.11 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2425, allocations: 0 / 427 MB, free: 10.11 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.101e-05/0.2425, allocations: 0 / 427 MB, free: 10.11 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0009302/0.2435, allocations: 0.4897 MB / 427.5 MB, free: 9.594 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.2435, allocations: 12.03 kB / 427.5 MB, free: 9.582 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.545e-05/0.2436, allocations: 58.73 kB / 427.5 MB, free: 9.516 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.249e-05/0.2436, allocations: 32.75 kB / 427.6 MB, free: 9.484 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003489/0.244, allocations: 194.1 kB / 427.8 MB, free: 9.27 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/0.244, allocations: 16.88 kB / 427.8 MB, free: 9.25 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.367e-05/0.2441, allocations: 20.38 kB / 427.8 MB, free: 9.23 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004954/0.2446, allocations: 305.3 kB / 428.1 MB, free: 8.91 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.2446, allocations: 8 kB / 428.1 MB, free: 8.902 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.202e-05/0.2446, allocations: 7.938 kB / 428.1 MB, free: 8.895 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.2446, allocations: 8 kB / 428.1 MB, free: 8.887 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004235/0.245, allocations: 185.9 kB / 428.3 MB, free: 8.703 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001445/0.2465, allocations: 0.8074 MB / 429.1 MB, free: 7.828 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006356/0.2471, allocations: 210.5 kB / 429.3 MB, free: 7.613 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003254/0.2474, allocations: 120.7 kB / 429.4 MB, free: 7.492 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.2475, allocations: 0 / 429.4 MB, free: 7.492 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.469e-05/0.2475, allocations: 38.56 kB / 429.5 MB, free: 7.445 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 9.72e-07/0.2475, allocations: 0 / 429.5 MB, free: 7.445 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.001782/0.2493, allocations: 482 kB / 429.9 MB, free: 6.965 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/0.2493, allocations: 63.28 kB / 430 MB, free: 6.891 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002442/0.2496, allocations: 223.1 kB / 430.2 MB, free: 6.66 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.2496, allocations: 29.7 kB / 430.3 MB, free: 6.625 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.2497, allocations: 172.2 kB / 430.4 MB, free: 6.453 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.455e-05/0.2498, allocations: 63.47 kB / 430.5 MB, free: 6.391 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.773e-05/0.2498, allocations: 41.7 kB / 430.5 MB, free: 6.344 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.25, allocations: 326.8 kB / 430.8 MB, free: 6.016 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001776/0.2501, allocations: 68.77 kB / 430.9 MB, free: 5.945 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002024/0.2503, allocations: 118 kB / 431 MB, free: 5.809 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003555/0.2507, allocations: 180.5 kB / 431.2 MB, free: 5.613 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.2507, allocations: 4 kB / 431.2 MB, free: 5.609 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008514/0.2516, allocations: 342.1 kB / 431.5 MB, free: 5.266 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.2516, allocations: 11.98 kB / 431.6 MB, free: 5.254 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.2516, allocations: 0 / 431.6 MB, free: 5.254 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003532/0.2519, allocations: 80.78 kB / 431.6 MB, free: 5.172 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/0.2521, allocations: 43.91 kB / 431.7 MB, free: 5.129 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002896/0.255, allocations: 1.89 MB / 433.6 MB, free: 3.117 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001722/0.2552, allocations: 35.8 kB / 433.6 MB, free: 3.082 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.901e-05/0.2552, allocations: 12 kB / 433.6 MB, free: 3.07 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001677/0.2553, allocations: 140.2 kB / 433.7 MB, free: 2.93 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001286/0.2555, allocations: 97.92 kB / 433.8 MB, free: 2.812 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002046/0.2557, allocations: 149.3 kB / 434 MB, free: 2.648 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.193e-06/0.2557, allocations: 0 / 434 MB, free: 2.648 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003567/0.256, allocations: 222.1 kB / 434.2 MB, free: 2.422 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.256, allocations: 8 kB / 434.2 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.365e-06/0.2561, allocations: 128 / 434.2 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.177e-05/0.2561, allocations: 32.83 kB / 434.2 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.2563, allocations: 47.92 kB / 434.3 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001096/0.2574, allocations: 1.304 MB / 435.6 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001199/0.2575, allocations: 15.92 kB / 435.6 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.2575, allocations: 8 kB / 435.6 MB, free: 0.8906 MB / 334.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 0.0001426/0.2577, allocations: 193.2 kB / 435.8 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.835e-05/0.2577, allocations: 23.84 kB / 435.8 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.852e-05/0.2578, allocations: 33.33 kB / 435.9 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.2578, allocations: 0 / 435.9 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.2578, allocations: 0 / 435.9 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.2578, allocations: 0 / 435.9 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001141/0.2589, allocations: 0.5804 MB / 436.4 MB, free: 8 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-06/0.2589, allocations: 4 kB / 436.5 MB, free: 4 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001274/0.259, allocations: 19.98 kB / 436.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002761/0.2593, allocations: 72.81 kB / 436.5 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.2593, allocations: 4 kB / 436.5 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00241/0.2617, allocations: 1.804 MB / 438.3 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2617, allocations: 0 / 438.3 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008976/0.2626, allocations: 443.7 kB / 438.8 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.449e-05/0.2627, allocations: 27.8 kB / 438.8 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.335e-05/0.2627, allocations: 0 / 438.8 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001857/0.2629, allocations: 23.98 kB / 438.8 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.42e-05/0.2629, allocations: 11.92 kB / 438.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/0.2629, allocations: 0 / 438.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001614/0.2631, allocations: 176.5 kB / 439 MB, free: 13.31 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2631, allocations: 4 kB / 439 MB, free: 13.3 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005295/0.2636, allocations: 107.8 kB / 439.1 MB, free: 13.2 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.001248/0.2649, allocations: 0.9669 MB / 440.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001132/0.266, allocations: 0.5289 MB / 440.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.266, allocations: 4.125 kB / 440.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002971/0.2663, allocations: 202.2 kB / 440.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003626/0.2667, allocations: 32.66 kB / 440.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004109/0.2708, allocations: 2.639 MB / 443.5 MB, free: 8.645 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001411/0.2709, allocations: 134.2 kB / 443.6 MB, free: 8.492 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001144/0.271, allocations: 25.94 kB / 443.7 MB, free: 8.469 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.2711, allocations: 63.42 kB / 443.7 MB, free: 8.406 MB / 350.1 MB Notification: Performance of SimCode: time 6.11e-07/0.2711, allocations: 0 / 443.7 MB, free: 8.406 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03688/0.308, allocations: 6.073 MB / 449.8 MB, free: 2.52 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.86/13.17, allocations: 4 kB / 449.8 MB, free: 2.516 MB / 350.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.628374921157956] Failed to read output from testmodel.py, exit status != 0: ['time', 'c.v', 'opAmp.out.v', 'opAmp.out.i'] 13.29184367833659 13.321278082 13.073613582 Calling exit ...