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/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo", uses=false) Using package Physiolibrary with version 3.0.0-beta1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/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 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) Running command: translateModel(Physiolibrary.Population.Examples.PredatorPrey,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey") translateModel(Physiolibrary.Population.Examples.PredatorPrey,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001664/0.001664, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.291/1.291, allocations: 222.9 MB / 239.7 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 106.6 kB / 289.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.3398/0.3398, allocations: 36.66 MB / 376.7 MB, free: 41.4 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 64.19 kB / 446.4 MB, free: 11.85 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1152, allocations: 58.92 MB / 0.4935 GB, free: 0.875 MB / 378.7 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Population.Examples.PredatorPrey): time 0.2068/0.3221, allocations: 2.368 MB / 0.4958 GB, free: 41.38 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003209/0.3224, allocations: 138.6 kB / 0.4959 GB, free: 41.34 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.3226, allocations: 3.438 kB / 0.4959 GB, free: 41.34 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000155/0.3227, allocations: 22.52 kB / 0.4959 GB, free: 41.34 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001004/0.3229, allocations: 45.61 kB / 0.496 GB, free: 41.33 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001395/0.323, allocations: 36.55 kB / 0.496 GB, free: 41.33 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002182/0.3233, allocations: 170.8 kB / 0.4962 GB, free: 41.32 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001778/0.3234, allocations: 59.55 kB / 0.4962 GB, free: 41.31 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.855e-05/0.3235, allocations: 55.23 kB / 0.4963 GB, free: 41.3 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001279/0.3237, allocations: 67.52 kB / 0.4964 GB, free: 41.29 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.518e-05/0.3237, allocations: 6.531 kB / 0.4964 GB, free: 41.29 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.908e-05/0.3237, allocations: 8.656 kB / 0.4964 GB, free: 41.29 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.177e-05/0.3238, allocations: 21.36 kB / 0.4964 GB, free: 41.28 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.889e-05/0.3239, allocations: 76.33 kB / 0.4965 GB, free: 41.26 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001797/0.324, allocations: 136.9 kB / 0.4966 GB, free: 41.23 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.3241, allocations: 1.469 kB / 0.4966 GB, free: 41.23 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.3241, allocations: 0 / 0.4966 GB, free: 41.23 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.3241, allocations: 0 / 0.4966 GB, free: 41.23 MB / 378.7 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.0005202/0.3246, allocations: 450.9 kB / 0.497 GB, free: 40.83 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.3246, allocations: 9.812 kB / 0.497 GB, free: 40.83 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.284e-05/0.3247, allocations: 20.09 kB / 0.4971 GB, free: 40.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001838/0.3249, allocations: 206.7 kB / 0.4972 GB, free: 40.62 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.3249, allocations: 9.156 kB / 0.4973 GB, free: 40.62 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.066e-05/0.3249, allocations: 14.72 kB / 0.4973 GB, free: 40.62 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000205/0.3252, allocations: 111.1 kB / 0.4974 GB, free: 40.59 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.3252, allocations: 1.938 kB / 0.4974 GB, free: 40.59 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.3252, allocations: 8 kB / 0.4974 GB, free: 40.58 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.3252, allocations: 5.469 kB / 0.4974 GB, free: 40.58 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001377/0.3253, allocations: 79.7 kB / 0.4975 GB, free: 40.58 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005918/0.3259, allocations: 450 kB / 0.4979 GB, free: 40.29 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002037/0.3262, allocations: 117.2 kB / 0.498 GB, free: 40.27 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.891e-05/0.3262, allocations: 46.84 kB / 0.4981 GB, free: 40.26 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.3263, allocations: 2.344 kB / 0.4981 GB, free: 40.26 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.3263, allocations: 37.19 kB / 0.4981 GB, free: 40.21 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.133e-06/0.3263, allocations: 2.25 kB / 0.4981 GB, free: 40.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002875/0.3266, allocations: 129.7 kB / 0.4982 GB, free: 40.18 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/0.3266, allocations: 53.66 kB / 0.4983 GB, free: 40.12 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.3268, allocations: 151.9 kB / 0.4984 GB, free: 40.02 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.3268, allocations: 30.33 kB / 0.4984 GB, free: 39.98 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.654e-05/0.3269, allocations: 129.1 kB / 0.4986 GB, free: 39.88 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.16e-05/0.3269, allocations: 44.39 kB / 0.4986 GB, free: 39.85 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.344e-05/0.327, allocations: 37.3 kB / 0.4986 GB, free: 39.83 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.505e-05/0.327, allocations: 333.3 kB / 0.499 GB, free: 39.51 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.645e-05/0.3271, allocations: 26.19 kB / 0.499 GB, free: 39.51 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.359e-05/0.3272, allocations: 35.8 kB / 0.499 GB, free: 39.51 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003738/0.3275, allocations: 152 kB / 0.4992 GB, free: 39.5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3275, allocations: 0.5938 kB / 0.4992 GB, free: 39.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000182/0.3277, allocations: 138.2 kB / 0.4993 GB, free: 39.46 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.3278, allocations: 11.12 kB / 0.4993 GB, free: 39.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.3278, allocations: 0 / 0.4993 GB, free: 39.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.3278, allocations: 1.875 kB / 0.4993 GB, free: 39.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.3279, allocations: 27.72 kB / 0.4993 GB, free: 39.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.3279, allocations: 2.578 kB / 0.4993 GB, free: 39.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.677e-05/0.328, allocations: 18.55 kB / 0.4994 GB, free: 39.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/0.328, allocations: 3.203 kB / 0.4994 GB, free: 39.45 MB / 378.7 MB Warning: Assuming fixed start value for the following 2 variables: predator.population:VARIABLE(flow=false min = max(0.0, max(0.0, max(0.0, 0.0))) start = predator.population_start unit = "1" fixed = true nominal = predator.NominalPopulation ) type: Real prey.population:VARIABLE(flow=false min = max(0.0, max(0.0, max(0.0, 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.0002181/0.3283, allocations: 157.9 kB / 0.4995 GB, free: 39.33 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.189e-05/0.3283, allocations: 18.84 kB / 0.4995 GB, free: 39.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.795e-05/0.3283, allocations: 14.64 kB / 0.4995 GB, free: 39.32 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3283, allocations: 1.531 kB / 0.4995 GB, free: 39.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.3284, allocations: 3.203 kB / 0.4995 GB, free: 39.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3284, allocations: 0 / 0.4995 GB, free: 39.32 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002333/0.3286, allocations: 228.7 kB / 0.4998 GB, free: 39.13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.3286, allocations: 1.906 kB / 0.4998 GB, free: 39.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/0.3287, allocations: 17.78 kB / 0.4998 GB, free: 39.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.3287, allocations: 6.078 kB / 0.4998 GB, free: 39.12 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.3288, allocations: 7.469 kB / 0.4998 GB, free: 39.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.3288, allocations: 2.188 kB / 0.4998 GB, free: 39.12 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3288, allocations: 3.531 kB / 0.4998 GB, free: 39.12 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001589/0.3304, allocations: 1.565 MB / 0.5013 GB, free: 38.1 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.36e-05/0.3304, allocations: 87.16 kB / 0.5014 GB, free: 38 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.3304, allocations: 6.75 kB / 0.5014 GB, free: 38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.209e-05/0.3305, allocations: 5 kB / 0.5014 GB, free: 38 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.76e-05/0.3306, allocations: 6.25 kB / 0.5014 GB, free: 38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.3306, allocations: 4.281 kB / 0.5014 GB, free: 38 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.962e-05/0.3306, allocations: 119.8 kB / 0.5015 GB, free: 37.93 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3307, allocations: 0 / 0.5015 GB, free: 37.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003498/0.331, allocations: 59.41 kB / 0.5016 GB, free: 37.92 MB / 378.7 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 8.288e-05/0.3311, allocations: 104.7 kB / 0.5017 GB, free: 37.84 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001846/0.3313, allocations: 89.73 kB / 0.5018 GB, free: 37.83 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3313, allocations: 0 / 0.5018 GB, free: 37.83 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.31e-05/0.3314, allocations: 43.7 kB / 0.5018 GB, free: 37.83 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003022/0.3317, allocations: 28.3 kB / 0.5019 GB, free: 37.83 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007856/0.3325, allocations: 0.5652 MB / 0.5024 GB, free: 37.38 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000217/0.3327, allocations: 0.7166 MB / 0.5031 GB, free: 36.68 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.369e-05/0.3328, allocations: 17.09 kB / 0.5031 GB, free: 36.68 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.293e-05/0.3328, allocations: 17.03 kB / 0.5031 GB, free: 36.67 MB / 378.7 MB Notification: Performance of SimCode: time 8.42e-07/0.3329, allocations: 0 / 0.5031 GB, free: 36.67 MB / 378.7 MB Notification: Performance of Templates: time 0.004987/0.3378, allocations: 1.741 MB / 0.5048 GB, free: 36.54 MB / 378.7 MB make -j1 -f Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.makefile (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 & ./Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.pipe 2>&1)