Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.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.00126/0.00126, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.00143/0.00143, allocations: 217.6 kB / 23.03 MB, free: 4.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.39/1.39, allocations: 207.7 MB / 233.9 MB, free: 9.785 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.06255/0.06255, allocations: 8.2 MB / 294.3 MB, free: 13.48 MB / 238.1 MB " [Timeout remaining time 180] Using package ModelicaByExample with version 0.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations,fileNamePrefix="ModelicaByExample_ModelicaByExample_Subsystems_LotkaVolterra_Examples_UnconnectedPopulations",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations,fileNamePrefix="ModelicaByExample_ModelicaByExample_Subsystems_LotkaVolterra_Examples_UnconnectedPopulations",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Ignoring unknown experiment annotation option: Intervals = 0.008 Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaByExample requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002095/0.002095, allocations: 76.75 kB / 411.2 MB, free: 46.88 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08012/0.08221, allocations: 50.95 MB / 462.1 MB, free: 13.33 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations): time 0.002608/0.08482, allocations: 1.068 MB / 463.2 MB, free: 12.26 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006748/0.08549, allocations: 374.7 kB / 463.6 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.08561, allocations: 8 kB / 463.6 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000102/0.08571, allocations: 55.3 kB / 463.6 MB, free: 11.83 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001778/0.08589, allocations: 59.42 kB / 463.7 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002778/0.08616, allocations: 135.9 kB / 463.8 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00043/0.08659, allocations: 395.1 kB / 464.2 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000315/0.08691, allocations: 181.4 kB / 464.4 MB, free: 11.07 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001608/0.08707, allocations: 171.2 kB / 464.5 MB, free: 10.9 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002144/0.08728, allocations: 195 kB / 464.7 MB, free: 10.71 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.203e-05/0.08736, allocations: 60 kB / 464.8 MB, free: 10.65 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.3e-05/0.08742, allocations: 67.88 kB / 464.9 MB, free: 10.58 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.08753, allocations: 115.7 kB / 465 MB, free: 10.47 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000151/0.08769, allocations: 171.1 kB / 465.1 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000601/0.08829, allocations: 0.5879 MB / 465.7 MB, free: 9.711 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.08829, allocations: 0 / 465.7 MB, free: 9.711 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.08829, allocations: 0 / 465.7 MB, free: 9.711 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.0883, allocations: 0 / 465.7 MB, free: 9.711 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001087/0.08939, allocations: 0.6611 MB / 466.4 MB, free: 9.016 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.08944, allocations: 11.98 kB / 466.4 MB, free: 9.004 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.902e-05/0.08946, allocations: 17.12 kB / 466.4 MB, free: 8.988 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000103/0.08957, allocations: 82.72 kB / 466.5 MB, free: 8.898 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.18e-05/0.08966, allocations: 56.61 kB / 466.6 MB, free: 8.844 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004015/0.09006, allocations: 285.2 kB / 466.8 MB, free: 8.539 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.529e-05/0.0901, allocations: 33.38 kB / 466.9 MB, free: 8.508 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.93e-05/0.09017, allocations: 48.38 kB / 466.9 MB, free: 8.461 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007964/0.09096, allocations: 0.6208 MB / 467.5 MB, free: 7.773 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.347e-05/0.09099, allocations: 7.953 kB / 467.5 MB, free: 7.766 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.203e-05/0.09104, allocations: 20 kB / 467.6 MB, free: 7.746 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.09105, allocations: 8 kB / 467.6 MB, free: 7.738 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004515/0.0915, allocations: 259.8 kB / 467.8 MB, free: 7.484 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001872/0.09337, allocations: 1.268 MB / 469.1 MB, free: 6.16 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000564/0.09394, allocations: 334.1 kB / 469.4 MB, free: 5.797 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002418/0.09418, allocations: 156 kB / 469.6 MB, free: 5.633 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.561e-05/0.0942, allocations: 4 kB / 469.6 MB, free: 5.629 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.081e-05/0.09425, allocations: 46.55 kB / 469.6 MB, free: 5.574 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 2.315e-06/0.09426, allocations: 0 / 469.6 MB, free: 5.574 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.0006631/0.09492, allocations: 349.3 kB / 470 MB, free: 5.227 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.342e-05/0.095, allocations: 136.5 kB / 470.1 MB, free: 5.062 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000298/0.0953, allocations: 284.1 kB / 470.4 MB, free: 4.777 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.251e-05/0.09534, allocations: 33.7 kB / 470.4 MB, free: 4.738 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/0.09551, allocations: 232.5 kB / 470.6 MB, free: 4.504 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.694e-05/0.09561, allocations: 126.9 kB / 470.8 MB, free: 4.379 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.09571, allocations: 70.09 kB / 470.8 MB, free: 4.305 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.09588, allocations: 342.8 kB / 471.2 MB, free: 3.961 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001584/0.09604, allocations: 96.84 kB / 471.3 MB, free: 3.867 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002403/0.09628, allocations: 190.6 kB / 471.4 MB, free: 3.641 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004277/0.09671, allocations: 318 kB / 471.7 MB, free: 3.293 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.09671, allocations: 0 / 471.7 MB, free: 3.293 MB / 334.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005236/0.09724, allocations: 365.2 kB / 472.1 MB, free: 2.93 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.09725, allocations: 8 kB / 472.1 MB, free: 2.922 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.09726, allocations: 4 kB / 472.1 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.97e-05/0.09729, allocations: 11.97 kB / 472.1 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003362/0.09763, allocations: 79.91 kB / 472.2 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.778e-05/0.09764, allocations: 15.86 kB / 472.2 MB, free: 2.812 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.09775, allocations: 31.78 kB / 472.3 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.598e-05/0.09778, allocations: 16 kB / 472.3 MB, free: 2.766 MB / 334.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001786/0.09796, allocations: 165.9 kB / 472.4 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.09806, allocations: 35.77 kB / 472.5 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.647e-05/0.09814, allocations: 41.73 kB / 472.5 MB, free: 2.52 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.09814, allocations: 4 kB / 472.5 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.09815, allocations: 7.938 kB / 472.5 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.09816, allocations: 0 / 472.5 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006177/0.09878, allocations: 380.4 kB / 472.9 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.09878, allocations: 4 kB / 472.9 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003273/0.09911, allocations: 67.89 kB / 473 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.09911, allocations: 4 kB / 473 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.239e-05/0.09913, allocations: 8 kB / 473 MB, free: 2.012 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.09914, allocations: 4 kB / 473 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.09914, allocations: 5.188 kB / 473 MB, free: 2.004 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000752/0.09989, allocations: 0.7047 MB / 473.7 MB, free: 1.277 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.566e-05/0.09994, allocations: 35.75 kB / 473.7 MB, free: 1.242 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.799e-05/0.09997, allocations: 11.98 kB / 473.7 MB, free: 1.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002159/0.1002, allocations: 11.94 kB / 473.7 MB, free: 1.219 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.674e-05/0.1002, allocations: 19.97 kB / 473.8 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.815e-05/0.1002, allocations: 8 kB / 473.8 MB, free: 1.191 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001902/0.1004, allocations: 191.1 kB / 474 MB, free: 1.004 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1004, allocations: 4 kB / 474 MB, free: 1 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004342/0.1009, allocations: 87.67 kB / 474 MB, free: 0.9141 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (A.rabbit_population.population,A.fox_population.population,B.rabbit_population.population,B.fox_population.population,C.rabbit_population.population,C.fox_population.population,D.rabbit_population.population,D.fox_population.population) * 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 (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001066/0.1019, allocations: 1.261 MB / 475.3 MB, free: 15.62 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004047/0.1023, allocations: 248.3 kB / 475.6 MB, free: 15.38 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1023, allocations: 0 / 475.6 MB, free: 15.38 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001599/0.1025, allocations: 119.8 kB / 475.7 MB, free: 15.26 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007212/0.1032, allocations: 65.3 kB / 475.7 MB, free: 15.2 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003937/0.1072, allocations: 3.399 MB / 479.1 MB, free: 11.63 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000231/0.1074, allocations: 211.7 kB / 479.3 MB, free: 11.4 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000124/0.1075, allocations: 28.34 kB / 479.4 MB, free: 11.38 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001806/0.1077, allocations: 127.4 kB / 479.5 MB, free: 11.25 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1077, allocations: 0 / 479.5 MB, free: 11.25 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02841/0.1361, allocations: 6.252 MB / 485.7 MB, free: 5.078 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.43, allocations: 15.97 kB / 485.8 MB, free: 5.062 MB / 350.1 MB " [Timeout remaining time 648] (rm -f ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.pipe >> ../files/ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaByExample_ModelicaByExample_Subsystems_LotkaVolterra_Examples_UnconnectedPopulations_fmu --startTime=0 --stopTime=40 --stepSize=0.016 --timeout=50 --tolerance=1e-06 ModelicaByExample_ModelicaByExample_Subsystems_LotkaVolterra_Examples_UnconnectedPopulations.fmu > ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.998177749919705] Failed to read output from testmodel.py, exit status != 0: 11.588982647983357 11.608886845 11.517519187 Calling exit ...