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.00108/0.00108, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001191/0.001191, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 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 0.9424/0.9424, allocations: 158.6 MB / 184.2 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] 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.02632/0.02632, allocations: 6.402 MB / 242.9 MB, free: 8.977 MB / 234.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations,fileNamePrefix="ModelicaByExample_ModelicaByExample_Subsystems_LotkaVolterra_Examples_UnconnectedPopulations",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Ignoring unknown experiment annotation option: Intervals = 0.008 Notification: Performance of FrontEnd - loaded program: time 4.037e-06/4.037e-06, allocations: 0 / 359.8 MB, free: 4.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.557e-05/2.961e-05, allocations: 2.281 kB / 359.8 MB, free: 4.422 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations): time 0.001717/0.001746, allocations: 1.077 MB / 360.9 MB, free: 3.34 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006695/0.002416, allocations: 378.9 kB / 361.2 MB, free: 2.969 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001305/0.002546, allocations: 8 kB / 361.2 MB, free: 2.961 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.569e-05/0.002642, allocations: 59.3 kB / 361.3 MB, free: 2.902 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001577/0.0028, allocations: 59.42 kB / 361.4 MB, free: 2.844 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003667/0.003167, allocations: 139.8 kB / 361.5 MB, free: 2.707 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003266/0.003493, allocations: 403 kB / 361.9 MB, free: 2.312 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002679/0.003761, allocations: 165.4 kB / 362 MB, free: 2.148 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001728/0.003934, allocations: 263.4 kB / 362.3 MB, free: 1.891 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.004043, allocations: 123.5 kB / 362.4 MB, free: 1.77 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.626e-05/0.00409, allocations: 56 kB / 362.5 MB, free: 1.715 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.21e-05/0.004122, allocations: 64 kB / 362.5 MB, free: 1.652 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.414e-05/0.004166, allocations: 119.5 kB / 362.7 MB, free: 1.535 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.172e-05/0.004228, allocations: 147.6 kB / 362.8 MB, free: 1.391 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002811/0.004509, allocations: 0.5881 MB / 363.4 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.004511, allocations: 0 / 363.4 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.004512, allocations: 0 / 363.4 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.00452, allocations: 0 / 363.4 MB, free: 0.8008 MB / 282.7 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.0006726/0.005193, allocations: 0.653 MB / 364 MB, free: 120 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.005238, allocations: 15.98 kB / 364.1 MB, free: 104 kB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.984e-05/0.005298, allocations: 82.72 kB / 364.1 MB, free: 12 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001052/0.005403, allocations: 60.39 kB / 364.2 MB, free: 15.95 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003541/0.005757, allocations: 276.4 kB / 364.5 MB, free: 15.65 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.788e-05/0.005785, allocations: 37.38 kB / 364.5 MB, free: 15.61 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6e-05/0.005845, allocations: 44.38 kB / 364.5 MB, free: 15.57 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006008/0.006446, allocations: 0.6134 MB / 365.2 MB, free: 14.89 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.006466, allocations: 4.141 kB / 365.2 MB, free: 14.89 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.29e-05/0.006499, allocations: 24.38 kB / 365.2 MB, free: 14.87 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.006509, allocations: 8.375 kB / 365.2 MB, free: 14.86 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003383/0.006848, allocations: 269.9 kB / 365.5 MB, free: 14.6 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001343/0.00819, allocations: 1.264 MB / 366.7 MB, free: 13.28 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000367/0.008557, allocations: 346.1 kB / 367.1 MB, free: 12.91 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001442/0.008702, allocations: 151.4 kB / 367.2 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.008722, allocations: 7.938 kB / 367.2 MB, free: 12.74 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.299e-05/0.008765, allocations: 46.5 kB / 367.3 MB, free: 12.68 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 2.034e-06/0.008767, allocations: 0 / 367.3 MB, free: 12.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.0005276/0.009294, allocations: 349.9 kB / 367.6 MB, free: 12.34 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.139e-05/0.009356, allocations: 140.5 kB / 367.7 MB, free: 12.17 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002125/0.009568, allocations: 276.2 kB / 368 MB, free: 11.88 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.009592, allocations: 29.7 kB / 368 MB, free: 11.85 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.009718, allocations: 244.4 kB / 368.3 MB, free: 11.61 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.021e-05/0.009788, allocations: 123 kB / 368.4 MB, free: 11.48 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.751e-05/0.009866, allocations: 66.19 kB / 368.5 MB, free: 11.41 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.009981, allocations: 346.8 kB / 368.8 MB, free: 11.07 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.01009, allocations: 96.95 kB / 368.9 MB, free: 10.97 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001503/0.01024, allocations: 195.2 kB / 369.1 MB, free: 10.75 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002833/0.01052, allocations: 302 kB / 369.4 MB, free: 10.41 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.01053, allocations: 4 kB / 369.4 MB, free: 10.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003536/0.01088, allocations: 361.3 kB / 369.7 MB, free: 10.05 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.0109, allocations: 12.03 kB / 369.8 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.0109, allocations: 0 / 369.8 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.01092, allocations: 4 kB / 369.8 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000208/0.01113, allocations: 83.89 kB / 369.8 MB, free: 9.953 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.01114, allocations: 8.375 kB / 369.8 MB, free: 9.945 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.754e-05/0.0112, allocations: 35.73 kB / 369.9 MB, free: 9.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.433e-05/0.01122, allocations: 15.98 kB / 369.9 MB, free: 9.895 MB / 298.7 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.0001316/0.01135, allocations: 177.6 kB / 370.1 MB, free: 9.711 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.713e-05/0.01142, allocations: 39.75 kB / 370.1 MB, free: 9.672 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.382e-05/0.01147, allocations: 41.8 kB / 370.1 MB, free: 9.625 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.01147, allocations: 4 kB / 370.2 MB, free: 9.621 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.01148, allocations: 0 / 370.2 MB, free: 9.621 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.01149, allocations: 4 kB / 370.2 MB, free: 9.617 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004296/0.01192, allocations: 384.4 kB / 370.5 MB, free: 9.199 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.01192, allocations: 0 / 370.5 MB, free: 9.199 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001768/0.01209, allocations: 63.91 kB / 370.6 MB, free: 9.137 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.0121, allocations: 7.984 kB / 370.6 MB, free: 9.129 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.01211, allocations: 8 kB / 370.6 MB, free: 9.121 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.01212, allocations: 4 kB / 370.6 MB, free: 9.117 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.01212, allocations: 4 kB / 370.6 MB, free: 9.113 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005237/0.01264, allocations: 0.702 MB / 371.3 MB, free: 8.391 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.044e-05/0.01267, allocations: 35.7 kB / 371.4 MB, free: 8.355 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.537e-05/0.0127, allocations: 15.94 kB / 371.4 MB, free: 8.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.01282, allocations: 4 kB / 371.4 MB, free: 8.336 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.879e-05/0.01285, allocations: 19.95 kB / 371.4 MB, free: 8.316 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/0.01287, allocations: 15.94 kB / 371.4 MB, free: 8.301 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001234/0.01299, allocations: 195.1 kB / 371.6 MB, free: 8.113 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01299, allocations: 0 / 371.6 MB, free: 8.113 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003208/0.01331, allocations: 79.78 kB / 371.7 MB, free: 8.035 MB / 298.7 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.0006577/0.01397, allocations: 1.262 MB / 372.9 MB, free: 6.746 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003025/0.01427, allocations: 247.9 kB / 373.2 MB, free: 6.504 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.01427, allocations: 4 kB / 373.2 MB, free: 6.5 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.01439, allocations: 119.9 kB / 373.3 MB, free: 6.383 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005229/0.01491, allocations: 75.39 kB / 373.4 MB, free: 6.309 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002674/0.01759, allocations: 3.372 MB / 376.7 MB, free: 2.773 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001433/0.01773, allocations: 207.7 kB / 377 MB, free: 2.543 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.638e-05/0.01783, allocations: 34.22 kB / 377 MB, free: 2.516 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002003/0.01803, allocations: 128.5 kB / 377.1 MB, free: 2.391 MB / 298.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01803, allocations: 3.938 kB / 377.1 MB, free: 2.387 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01931/0.03734, allocations: 6.627 MB / 383.7 MB, free: 11.87 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.391/7.428, allocations: 7.984 kB / 383.7 MB, free: 11.86 MB / 314.7 MB " [Timeout remaining time 652] (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: 9.317602405324578] Failed to read output from testmodel.py, exit status != 0: 7.513243998400867 7.524710624 7.518276788 Calling exit ...