Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo", uses=false) Using package Physiolibrary with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo) 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) Using package Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo) Running command: "" <> buildModelFMU(Physiolibrary.Population.Examples.PredatorPrey,fileNamePrefix="Physiolibrary_Physiolibrary_Population_Examples_PredatorPrey",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Population.Examples.PredatorPrey,fileNamePrefix="Physiolibrary_Physiolibrary_Population_Examples_PredatorPrey",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.07018/0.07018, allocations: 15.28 MB / 30.78 MB, free: 4.215 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008803/0.0008803, allocations: 108.7 kB / 35.78 MB, free: 3.234 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009861/0.0009861, allocations: 197 kB / 40.88 MB, free: 7.223 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.182/1.182, allocations: 222.9 MB / 268.7 MB, free: 6.957 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1122/0.1122, allocations: 23.37 MB / 346.4 MB, free: 0.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001796/0.001796, allocations: 107.8 kB / 418.3 MB, free: 30.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07532/0.07713, allocations: 59.37 MB / 477.7 MB, free: 2.898 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Population.Examples.PredatorPrey): time 0.002907/0.08007, allocations: 2.315 MB / 480 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000315/0.08039, allocations: 143.5 kB / 480.1 MB, free: 436 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.309e-05/0.08049, allocations: 7.938 kB / 480.1 MB, free: 428 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001113/0.0806, allocations: 27.72 kB / 480.2 MB, free: 400 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.782e-05/0.08072, allocations: 55.55 kB / 480.2 MB, free: 344 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001139/0.08084, allocations: 35.95 kB / 480.3 MB, free: 308 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000167/0.08101, allocations: 175.1 kB / 480.4 MB, free: 132 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001417/0.08116, allocations: 62.22 kB / 480.5 MB, free: 72 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.737e-05/0.08122, allocations: 63.78 kB / 480.5 MB, free: 8 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.08134, allocations: 71.77 kB / 480.6 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.077e-05/0.08137, allocations: 12 kB / 480.6 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.461e-05/0.0814, allocations: 12 kB / 480.6 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.999e-05/0.08144, allocations: 23.92 kB / 480.7 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.587e-05/0.08151, allocations: 75.61 kB / 480.7 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00014/0.08165, allocations: 155.3 kB / 480.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.08166, allocations: 0 / 480.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.08167, allocations: 0 / 480.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.08167, allocations: 0 / 480.9 MB, free: 15.66 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0004608/0.08214, allocations: 439 kB / 481.3 MB, free: 15.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.08218, allocations: 12.03 kB / 481.3 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.812e-05/0.08222, allocations: 50.67 kB / 481.4 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.176e-05/0.08226, allocations: 16.75 kB / 481.4 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001804/0.08244, allocations: 208 kB / 481.6 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.08246, allocations: 12.38 kB / 481.6 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.597e-05/0.08249, allocations: 12.38 kB / 481.6 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.08268, allocations: 114.2 kB / 481.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.0827, allocations: 3.938 kB / 481.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.08272, allocations: 4 kB / 481.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.08273, allocations: 8 kB / 481.7 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001234/0.08286, allocations: 71.97 kB / 481.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005406/0.08341, allocations: 452.2 kB / 482.3 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/0.08359, allocations: 114.5 kB / 482.4 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.653e-05/0.08367, allocations: 52.94 kB / 482.4 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.045e-06/0.08368, allocations: 0 / 482.4 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.08371, allocations: 34.5 kB / 482.5 MB, free: 13.92 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 9.11e-07/0.08371, allocations: 0 / 482.5 MB, free: 13.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002451/0.08396, allocations: 137.4 kB / 482.6 MB, free: 13.78 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.475e-05/0.08399, allocations: 55.34 kB / 482.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.08411, allocations: 157.7 kB / 482.8 MB, free: 13.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.08413, allocations: 29.64 kB / 482.8 MB, free: 13.51 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.719e-05/0.0842, allocations: 127.7 kB / 483 MB, free: 13.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.075e-05/0.08423, allocations: 47.34 kB / 483 MB, free: 13.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.014e-05/0.08429, allocations: 29.72 kB / 483 MB, free: 13.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.781e-05/0.08438, allocations: 318.8 kB / 483.3 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.474e-05/0.08444, allocations: 31.98 kB / 483.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.713e-05/0.08449, allocations: 35.98 kB / 483.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003454/0.08484, allocations: 163.3 kB / 483.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.08486, allocations: 0 / 483.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001802/0.08504, allocations: 139.6 kB / 483.7 MB, free: 12.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.08506, allocations: 11.92 kB / 483.7 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.656e-06/0.08507, allocations: 0 / 483.7 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.08508, allocations: 0 / 483.7 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.08521, allocations: 24 kB / 483.7 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.08522, allocations: 0 / 483.7 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.003e-05/0.08528, allocations: 19.89 kB / 483.8 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.0853, allocations: 4 kB / 483.8 MB, free: 12.55 MB / 350.1 MB Warning: Assuming fixed start value for the following 2 variables: predator.population:VARIABLE(flow=false min = 0.0 start = predator.population_start unit = "1" fixed = true nominal = predator.NominalPopulation ) type: Real prey.population:VARIABLE(flow=false min = 0.0 start = prey.population_start unit = "1" fixed = true nominal = prey.NominalPopulation ) type: Real 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 0.0001387/0.08544, allocations: 137.6 kB / 483.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.143e-05/0.08548, allocations: 11.84 kB / 483.9 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.094e-05/0.08552, allocations: 20.7 kB / 483.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.08553, allocations: 4 kB / 483.9 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.08554, allocations: 0 / 483.9 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.08555, allocations: 4 kB / 483.9 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002121/0.08576, allocations: 229.5 kB / 484.2 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.08577, allocations: 0 / 484.2 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/0.08588, allocations: 27.92 kB / 484.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.08589, allocations: 0 / 484.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.146e-06/0.0859, allocations: 0 / 484.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.08591, allocations: 4 kB / 484.2 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.08591, allocations: 0 / 484.2 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002417/0.08616, allocations: 251.7 kB / 484.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.388e-05/0.08621, allocations: 92.89 kB / 484.5 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/0.08624, allocations: 8 kB / 484.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.191e-05/0.08632, allocations: 0 / 484.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.003e-05/0.08635, allocations: 7.984 kB / 484.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.08636, allocations: 8 kB / 484.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.609e-05/0.08643, allocations: 115.1 kB / 484.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.08644, allocations: 0 / 484.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002347/0.08667, allocations: 39.94 kB / 484.7 MB, free: 11.52 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (predator.population,prey.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 (12): * Single equations (assignments): 12 * 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.0004478/0.08713, allocations: 0.7863 MB / 485.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000161/0.0873, allocations: 91.91 kB / 485.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.08731, allocations: 0 / 485.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.546e-05/0.08737, allocations: 47.92 kB / 485.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/0.08763, allocations: 24.05 kB / 485.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001519/0.08915, allocations: 1.749 MB / 487.4 MB, free: 8.715 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002274/0.08939, allocations: 0.7124 MB / 488.1 MB, free: 7.977 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.442e-05/0.08944, allocations: 8.656 kB / 488.1 MB, free: 7.969 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.641e-05/0.0895, allocations: 39.42 kB / 488.2 MB, free: 7.93 MB / 350.1 MB Notification: Performance of SimCode: time 3.7e-07/0.08951, allocations: 4 kB / 488.2 MB, free: 7.926 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01737/0.1069, allocations: 2.851 MB / 491 MB, free: 5.148 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.321/6.428, allocations: 15.47 kB / 491 MB, free: 5.137 MB / 350.1 MB (rm -f Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.pipe ; mkfifo Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.pipe >> ../files/Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_Population_Examples_PredatorPrey_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Physiolibrary_Physiolibrary_Population_Examples_PredatorPrey.fmu > Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.pipe 2>&1)