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.001819/0.001819, allocations: 117.8 kB / 18.49 MB, free: 4.566 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.002018/0.002018, allocations: 190.7 kB / 21.43 MB, free: 1.641 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.411/1.411, allocations: 225.6 MB / 249.8 MB, free: 3.613 MB / 190.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 51.92 kB / 366.4 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1045, allocations: 52.14 MB / 418.5 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.003917/0.1084, allocations: 2.606 MB / 421.1 MB, free: 9.945 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001316/0.1098, allocations: 0.6622 MB / 421.8 MB, free: 9.277 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001367/0.1099, allocations: 15.94 kB / 421.8 MB, free: 9.262 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001682/0.1101, allocations: 43.58 kB / 421.8 MB, free: 9.219 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002578/0.1103, allocations: 79.31 kB / 421.9 MB, free: 9.141 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001939/0.1105, allocations: 91.81 kB / 422 MB, free: 9.051 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003657/0.1109, allocations: 302.7 kB / 422.3 MB, free: 8.754 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002138/0.1111, allocations: 76.94 kB / 422.4 MB, free: 8.672 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000162/0.1113, allocations: 111.6 kB / 422.5 MB, free: 8.562 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001765/0.1114, allocations: 135.4 kB / 422.6 MB, free: 8.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.419e-05/0.1115, allocations: 24 kB / 422.7 MB, free: 8.406 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.949e-05/0.1115, allocations: 24 kB / 422.7 MB, free: 8.383 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.779e-05/0.1116, allocations: 59.77 kB / 422.7 MB, free: 8.324 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001263/0.1117, allocations: 127.4 kB / 422.9 MB, free: 8.199 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003498/0.1121, allocations: 286.8 kB / 423.1 MB, free: 7.918 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.1121, allocations: 3.938 kB / 423.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1121, allocations: 0 / 423.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.1121, allocations: 0 / 423.1 MB, free: 7.914 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001022/0.1131, allocations: 0.569 MB / 423.7 MB, free: 7.297 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.1131, allocations: 12.03 kB / 423.7 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.53e-05/0.1132, allocations: 4.75 kB / 423.7 MB, free: 7.281 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.989e-05/0.1132, allocations: 62.73 kB / 423.8 MB, free: 7.211 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.529e-05/0.1133, allocations: 28.75 kB / 423.8 MB, free: 7.184 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003539/0.1136, allocations: 256 kB / 424.1 MB, free: 6.895 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.1137, allocations: 16.94 kB / 424.1 MB, free: 6.879 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.898e-05/0.1137, allocations: 24.38 kB / 424.1 MB, free: 6.855 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004544/0.1142, allocations: 228.8 kB / 424.3 MB, free: 6.625 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.1142, allocations: 4 kB / 424.3 MB, free: 6.621 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.496e-05/0.1142, allocations: 11.94 kB / 424.3 MB, free: 6.609 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.958e-06/0.1142, allocations: 4 kB / 424.3 MB, free: 6.605 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004386/0.1146, allocations: 190.1 kB / 424.5 MB, free: 6.422 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001529/0.1162, allocations: 0.9009 MB / 425.4 MB, free: 5.445 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006507/0.1168, allocations: 221 kB / 425.7 MB, free: 5.223 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003285/0.1171, allocations: 116.8 kB / 425.8 MB, free: 5.105 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.1172, allocations: 0 / 425.8 MB, free: 5.105 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.1172, allocations: 34.56 kB / 425.8 MB, free: 5.062 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 9.12e-07/0.1172, allocations: 0 / 425.8 MB, free: 5.062 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.001907/0.1191, allocations: 0.5615 MB / 426.4 MB, free: 4.473 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.154e-05/0.1191, allocations: 55.34 kB / 426.4 MB, free: 4.406 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002363/0.1194, allocations: 227.1 kB / 426.6 MB, free: 4.172 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.1194, allocations: 29.7 kB / 426.7 MB, free: 4.137 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.1195, allocations: 176.1 kB / 426.8 MB, free: 3.961 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.436e-05/0.1196, allocations: 47.59 kB / 426.9 MB, free: 3.914 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.525e-05/0.1196, allocations: 53.66 kB / 426.9 MB, free: 3.855 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.1198, allocations: 330.8 kB / 427.3 MB, free: 3.523 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001775/0.12, allocations: 64.83 kB / 427.3 MB, free: 3.457 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002044/0.1202, allocations: 122.6 kB / 427.4 MB, free: 3.316 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00036/0.1205, allocations: 179.9 kB / 427.6 MB, free: 3.121 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.1205, allocations: 0 / 427.6 MB, free: 3.121 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008678/0.1214, allocations: 336.5 kB / 427.9 MB, free: 2.785 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.1214, allocations: 8.031 kB / 428 MB, free: 2.777 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.1214, allocations: 11.94 kB / 428 MB, free: 2.766 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003679/0.1218, allocations: 76.8 kB / 428 MB, free: 2.688 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.1219, allocations: 35.98 kB / 428.1 MB, free: 2.652 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003004/0.1249, allocations: 2.021 MB / 430.1 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001674/0.1251, allocations: 31.78 kB / 430.1 MB, free: 472 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.518e-05/0.1251, allocations: 4 kB / 430.1 MB, free: 468 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001672/0.1253, allocations: 152 kB / 430.3 MB, free: 312 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001214/0.1254, allocations: 101.9 kB / 430.4 MB, free: 188 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001813/0.1256, allocations: 138 kB / 430.5 MB, free: 28 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.132e-06/0.1256, allocations: 0 / 430.5 MB, free: 28 kB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003661/0.126, allocations: 232.9 kB / 430.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.726e-06/0.126, allocations: 4 kB / 430.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-06/0.126, allocations: 0 / 430.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.443e-05/0.126, allocations: 28.84 kB / 430.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/0.1262, allocations: 39.92 kB / 430.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001108/0.1273, allocations: 1.43 MB / 432.2 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001153/0.1274, allocations: 15.89 kB / 432.3 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.1274, allocations: 8.062 kB / 432.3 MB, free: 14.12 MB / 366.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.0001435/0.1276, allocations: 192.2 kB / 432.5 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.785e-05/0.1276, allocations: 19.91 kB / 432.5 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.318e-05/0.1277, allocations: 29.45 kB / 432.5 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.1277, allocations: 0 / 432.5 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.1277, allocations: 0 / 432.5 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1277, allocations: 0 / 432.5 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001169/0.1289, allocations: 0.6203 MB / 433.1 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1289, allocations: 0 / 433.1 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/0.129, allocations: 27.98 kB / 433.2 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002809/0.1293, allocations: 76.8 kB / 433.2 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.1293, allocations: 4 kB / 433.2 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002674/0.1319, allocations: 1.931 MB / 435.2 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1319, allocations: 0 / 435.2 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009359/0.1329, allocations: 438.5 kB / 435.6 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.031e-05/0.133, allocations: 100.9 kB / 435.7 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.104e-05/0.133, allocations: 0 / 435.7 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001837/0.1332, allocations: 19.98 kB / 435.7 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.753e-05/0.1332, allocations: 11.98 kB / 435.7 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.1332, allocations: 4 kB / 435.7 MB, free: 10.42 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000165/0.1334, allocations: 168.7 kB / 435.9 MB, free: 10.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1334, allocations: 0 / 435.9 MB, free: 10.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005383/0.1339, allocations: 115.8 kB / 436 MB, free: 10.14 MB / 366.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.001345/0.1352, allocations: 0.9772 MB / 437 MB, free: 9.133 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00122/0.1365, allocations: 0.5204 MB / 437.5 MB, free: 8.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.1365, allocations: 0 / 437.5 MB, free: 8.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000318/0.1368, allocations: 203.2 kB / 437.7 MB, free: 8.379 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003722/0.1372, allocations: 39.97 kB / 437.7 MB, free: 8.344 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004245/0.1414, allocations: 2.646 MB / 440.4 MB, free: 5.578 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003767/0.1418, allocations: 0.7402 MB / 441.1 MB, free: 4.809 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.289e-05/0.1419, allocations: 25.94 kB / 441.1 MB, free: 4.785 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.502e-05/0.142, allocations: 63.36 kB / 441.2 MB, free: 4.723 MB / 366.1 MB Notification: Performance of SimCode: time 9.81e-07/0.142, allocations: 0 / 441.2 MB, free: 4.723 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2007/0.3427, allocations: 5.521 MB / 446.7 MB, free: 29.65 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/12.17, allocations: 8.938 kB / 446.7 MB, free: 29.65 MB / 366.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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: 14.564506268012337] Failed to read output from testmodel.py, exit status != 0: ['time', 'c.v', 'opAmp.out.v', 'opAmp.out.i'] 12.330071228032466 12.343358577 12.228358918 Calling exit ...