Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.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.001169/0.001169, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001323/0.001323, 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.8538/0.8538, allocations: 158.6 MB / 184.2 MB, free: 3.055 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.02569/0.02569, allocations: 6.406 MB / 242.9 MB, free: 8.996 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.Components.LotkaVolterra.Examples.ThirdSpecies,fileNamePrefix="ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ThirdSpecies",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies,fileNamePrefix="ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ThirdSpecies",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 359.8 MB, free: 4.422 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.922e-05/2.081e-05, allocations: 2.281 kB / 359.8 MB, free: 4.418 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies): time 0.001262/0.001283, allocations: 0.669 MB / 360.5 MB, free: 3.746 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000344/0.001627, allocations: 175.5 kB / 360.6 MB, free: 3.574 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.78e-05/0.001685, allocations: 4 kB / 360.6 MB, free: 3.57 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.597e-05/0.001731, allocations: 19.75 kB / 360.7 MB, free: 3.551 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.338e-05/0.001814, allocations: 11.88 kB / 360.7 MB, free: 3.539 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001658/0.00198, allocations: 55.86 kB / 360.7 MB, free: 3.484 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001564/0.002136, allocations: 147.7 kB / 360.9 MB, free: 3.34 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001781/0.002314, allocations: 57.75 kB / 360.9 MB, free: 3.285 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.955e-05/0.002394, allocations: 95.78 kB / 361 MB, free: 3.191 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.993e-05/0.002464, allocations: 47.8 kB / 361.1 MB, free: 3.145 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.082e-05/0.002495, allocations: 20 kB / 361.1 MB, free: 3.125 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.683e-05/0.002511, allocations: 16 kB / 361.1 MB, free: 3.109 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.49e-05/0.002536, allocations: 47.83 kB / 361.1 MB, free: 3.062 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.942e-05/0.002576, allocations: 51.89 kB / 361.2 MB, free: 3.012 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001538/0.002729, allocations: 187.4 kB / 361.4 MB, free: 2.828 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.002732, allocations: 0 / 361.4 MB, free: 2.828 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.002733, allocations: 0 / 361.4 MB, free: 2.828 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.002738, allocations: 4 kB / 361.4 MB, free: 2.824 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0004253/0.003164, allocations: 398 kB / 361.8 MB, free: 2.398 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.003205, allocations: 11.98 kB / 361.8 MB, free: 2.387 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.693e-05/0.003242, allocations: 58.73 kB / 361.8 MB, free: 2.32 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.345e-05/0.003286, allocations: 20.8 kB / 361.9 MB, free: 2.301 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/0.003439, allocations: 153.5 kB / 362 MB, free: 2.125 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.003453, allocations: 16.75 kB / 362 MB, free: 2.109 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.929e-05/0.003482, allocations: 20.38 kB / 362 MB, free: 2.09 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002218/0.003704, allocations: 242.3 kB / 362.3 MB, free: 1.832 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.003717, allocations: 4.141 kB / 362.3 MB, free: 1.828 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.003732, allocations: 8.312 kB / 362.3 MB, free: 1.82 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.974e-06/0.003739, allocations: 12.12 kB / 362.3 MB, free: 1.809 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001238/0.003863, allocations: 111.6 kB / 362.4 MB, free: 1.699 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006022/0.004465, allocations: 0.5031 MB / 362.9 MB, free: 1.152 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001641/0.004629, allocations: 118.5 kB / 363 MB, free: 1.027 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.211e-05/0.004691, allocations: 76.77 kB / 363.1 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.177e-05/0.004703, allocations: 0 / 363.1 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.639e-05/0.004719, allocations: 34.56 kB / 363.1 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of pre-optimization done (n=15): time 1.062e-06/0.00472, allocations: 0 / 363.1 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002247/0.004945, allocations: 179.6 kB / 363.3 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.932e-05/0.004964, allocations: 51.41 kB / 363.4 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.062e-05/0.005015, allocations: 129.1 kB / 363.5 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.047e-06/0.005024, allocations: 29.7 kB / 363.5 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.274e-05/0.005057, allocations: 124.5 kB / 363.6 MB, free: 380 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.993e-05/0.005087, allocations: 59.48 kB / 363.7 MB, free: 320 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.555e-05/0.005122, allocations: 37.7 kB / 363.7 MB, free: 276 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.646e-05/0.005179, allocations: 322.8 kB / 364.1 MB, free: 15.95 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.422e-05/0.005233, allocations: 43.92 kB / 364.1 MB, free: 15.9 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.671e-05/0.00528, allocations: 43.98 kB / 364.1 MB, free: 15.86 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001117/0.005391, allocations: 107.4 kB / 364.2 MB, free: 15.75 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.005393, allocations: 0 / 364.2 MB, free: 15.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000143/0.005536, allocations: 145.6 kB / 364.4 MB, free: 15.61 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.00555, allocations: 4 kB / 364.4 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.005554, allocations: 4 kB / 364.4 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.005566, allocations: 0 / 364.4 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.005686, allocations: 35.92 kB / 364.4 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.005691, allocations: 0 / 364.4 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.291e-05/0.005714, allocations: 11.94 kB / 364.4 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.005722, allocations: 4 kB / 364.5 MB, free: 15.55 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (18): * Single equations (assignments): 18 * 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 7.418e-05/0.005796, allocations: 129.8 kB / 364.6 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.934e-05/0.005815, allocations: 11.91 kB / 364.6 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.191e-05/0.005847, allocations: 20.42 kB / 364.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.005849, allocations: 0 / 364.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.005854, allocations: 0 / 364.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.005857, allocations: 0 / 364.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001942/0.006051, allocations: 232.6 kB / 364.8 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.006053, allocations: 7.938 kB / 364.8 MB, free: 15.1 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001013/0.006155, allocations: 31.92 kB / 364.9 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.006157, allocations: 0 / 364.9 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.006168, allocations: 7.938 kB / 364.9 MB, free: 15.06 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.006171, allocations: 4 kB / 364.9 MB, free: 15.06 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.006172, allocations: 0 / 364.9 MB, free: 15.06 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000279/0.006451, allocations: 295.2 kB / 365.2 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.42e-05/0.006465, allocations: 15.89 kB / 365.2 MB, free: 14.74 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.885e-05/0.006484, allocations: 8.031 kB / 365.2 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.121e-05/0.006535, allocations: 8 kB / 365.2 MB, free: 14.72 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.188e-05/0.006557, allocations: 11.98 kB / 365.2 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.523e-06/0.006564, allocations: 0 / 365.2 MB, free: 14.71 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.224e-05/0.006606, allocations: 95.27 kB / 365.3 MB, free: 14.62 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006606, allocations: 0 / 365.3 MB, free: 14.62 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001705/0.006777, allocations: 39.84 kB / 365.3 MB, free: 14.58 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (rabbits.population,foxes.population,wolves.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 (15): * Single equations (assignments): 15 * 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.0004935/0.00727, allocations: 0.8331 MB / 366.2 MB, free: 13.72 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001798/0.00745, allocations: 102.4 kB / 366.3 MB, free: 13.62 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.007453, allocations: 0 / 366.3 MB, free: 13.62 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.369e-05/0.007506, allocations: 59.92 kB / 366.3 MB, free: 13.56 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000324/0.00783, allocations: 27.42 kB / 366.4 MB, free: 13.54 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/0.009056, allocations: 1.767 MB / 368.1 MB, free: 11.69 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.624e-05/0.009132, allocations: 111.6 kB / 368.2 MB, free: 11.56 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.808e-05/0.00918, allocations: 8.984 kB / 368.3 MB, free: 11.55 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.855e-05/0.009238, allocations: 44.48 kB / 368.3 MB, free: 11.5 MB / 298.7 MB Notification: Performance of SimCode: time 4.91e-07/0.009239, allocations: 4 kB / 368.3 MB, free: 11.5 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01644/0.02568, allocations: 3.357 MB / 371.7 MB, free: 8.215 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.182/7.208, allocations: 11.92 kB / 371.7 MB, free: 8.203 MB / 298.7 MB " [Timeout remaining time 653] (rm -f ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe >> ../files/ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ThirdSpecies_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ThirdSpecies.fmu > ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.926693581044674] Failed to read output from testmodel.py, exit status != 0: 7.290331615135074 7.300605091 7.29608251 Calling exit ...