Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.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.001277/0.001277, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00146/0.00146, allocations: 213.3 kB / 22.25 MB, free: 5.262 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.386/1.386, allocations: 207.7 MB / 233.1 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.05001/0.05001, allocations: 8.192 MB / 293.5 MB, free: 13.47 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.Components.LotkaVolterra.Examples.ClassicLotkaVolterra,fileNamePrefix="ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ClassicLotkaVolterra",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra,fileNamePrefix="ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ClassicLotkaVolterra",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "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.002183/0.002183, allocations: 64.81 kB / 410.4 MB, free: 46.87 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07824/0.08042, allocations: 50.94 MB / 461.3 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra): time 0.001764/0.08218, allocations: 0.5396 MB / 461.9 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003394/0.08252, allocations: 124 kB / 462 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.691e-05/0.08257, allocations: 0 / 462 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.395e-05/0.08262, allocations: 7.875 kB / 462 MB, free: 12.63 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.18e-05/0.08269, allocations: 11.88 kB / 462 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001419/0.08283, allocations: 23.97 kB / 462.1 MB, free: 12.6 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001409/0.08297, allocations: 67.84 kB / 462.1 MB, free: 12.53 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.08311, allocations: 35.83 kB / 462.2 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.571e-05/0.08316, allocations: 35.86 kB / 462.2 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.653e-05/0.08323, allocations: 31.78 kB / 462.2 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.08325, allocations: 8 kB / 462.2 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.921e-05/0.08327, allocations: 8 kB / 462.2 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.493e-05/0.0833, allocations: 23.92 kB / 462.3 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.464e-05/0.08334, allocations: 35.8 kB / 462.3 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001504/0.08349, allocations: 95.81 kB / 462.4 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.08349, allocations: 0 / 462.4 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.0835, allocations: 0 / 462.4 MB, free: 12.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.08351, allocations: 4 kB / 462.4 MB, free: 12.26 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004851/0.08399, allocations: 306.3 kB / 462.7 MB, free: 11.93 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.08403, allocations: 15.98 kB / 462.7 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.655e-05/0.08408, allocations: 42.73 kB / 462.7 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.678e-05/0.08411, allocations: 20.84 kB / 462.8 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001807/0.08429, allocations: 126.4 kB / 462.9 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.08431, allocations: 8.562 kB / 462.9 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.687e-05/0.08434, allocations: 8.375 kB / 462.9 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002241/0.08456, allocations: 145.2 kB / 463.1 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.08457, allocations: 3.938 kB / 463.1 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.08459, allocations: 8 kB / 463.1 MB, free: 11.51 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.08459, allocations: 0 / 463.1 MB, free: 11.51 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.08469, allocations: 47.98 kB / 463.1 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005716/0.08527, allocations: 359.7 kB / 463.5 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001821/0.08545, allocations: 82.48 kB / 463.5 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.37e-05/0.08551, allocations: 36.84 kB / 463.6 MB, free: 10.94 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.17e-05/0.08552, allocations: 0 / 463.6 MB, free: 10.94 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.08555, allocations: 34.56 kB / 463.6 MB, free: 10.89 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 9.32e-07/0.08555, allocations: 0 / 463.6 MB, free: 10.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002344/0.08578, allocations: 101.8 kB / 463.7 MB, free: 10.79 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.08582, allocations: 51.41 kB / 463.8 MB, free: 10.73 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.852e-05/0.08592, allocations: 117.8 kB / 463.9 MB, free: 10.6 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.08594, allocations: 29.7 kB / 463.9 MB, free: 10.57 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.171e-05/0.086, allocations: 104 kB / 464 MB, free: 10.46 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.145e-05/0.08603, allocations: 31.73 kB / 464 MB, free: 10.43 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.269e-05/0.08607, allocations: 25.72 kB / 464.1 MB, free: 10.4 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.08623, allocations: 314.8 kB / 464.4 MB, free: 10.08 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.133e-05/0.08627, allocations: 20 kB / 464.4 MB, free: 10.06 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.477e-05/0.0863, allocations: 27.92 kB / 464.4 MB, free: 10.04 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.396e-05/0.08639, allocations: 52.8 kB / 464.5 MB, free: 9.98 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.08639, allocations: 4 kB / 464.5 MB, free: 9.977 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001365/0.08653, allocations: 89.83 kB / 464.6 MB, free: 9.883 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.08654, allocations: 8.094 kB / 464.6 MB, free: 9.875 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.08654, allocations: 3.938 kB / 464.6 MB, free: 9.871 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.08656, allocations: 3.938 kB / 464.6 MB, free: 9.867 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.08666, allocations: 19.98 kB / 464.6 MB, free: 9.848 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.08667, allocations: 3.938 kB / 464.6 MB, free: 9.844 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.713e-05/0.0867, allocations: 7.953 kB / 464.6 MB, free: 9.836 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.0867, allocations: 4.625 kB / 464.6 MB, free: 9.832 MB / 334.1 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 (10): * Single equations (assignments): 10 * 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 9.056e-05/0.08679, allocations: 113.8 kB / 464.7 MB, free: 9.711 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.593e-05/0.08682, allocations: 4 kB / 464.7 MB, free: 9.707 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.238e-05/0.08685, allocations: 12.38 kB / 464.7 MB, free: 9.695 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.08686, allocations: 7.984 kB / 464.7 MB, free: 9.688 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.08686, allocations: 3.938 kB / 464.7 MB, free: 9.684 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.08687, allocations: 4 kB / 464.8 MB, free: 9.68 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002129/0.08708, allocations: 160.7 kB / 464.9 MB, free: 9.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.08708, allocations: 7.984 kB / 464.9 MB, free: 9.473 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.08719, allocations: 23.92 kB / 464.9 MB, free: 9.449 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.08719, allocations: 0 / 464.9 MB, free: 9.449 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.198e-06/0.0872, allocations: 0 / 464.9 MB, free: 9.449 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.0872, allocations: 0 / 464.9 MB, free: 9.449 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.0872, allocations: 3.938 kB / 464.9 MB, free: 9.445 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002484/0.08745, allocations: 215.5 kB / 465.2 MB, free: 9.219 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.335e-05/0.08747, allocations: 11.92 kB / 465.2 MB, free: 9.207 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.08748, allocations: 0 / 465.2 MB, free: 9.207 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.916e-05/0.08754, allocations: 0 / 465.2 MB, free: 9.207 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.907e-05/0.08757, allocations: 11.92 kB / 465.2 MB, free: 9.195 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.08757, allocations: 4 kB / 465.2 MB, free: 9.191 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.031e-05/0.08762, allocations: 83.28 kB / 465.3 MB, free: 9.109 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.08762, allocations: 0 / 465.3 MB, free: 9.109 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002157/0.08784, allocations: 19.95 kB / 465.3 MB, free: 9.09 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (rabbits.population,foxes.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 (8): * Single equations (assignments): 8 * 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.0005215/0.08836, allocations: 0.7398 MB / 466 MB, free: 8.324 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001334/0.0885, allocations: 60.03 kB / 466.1 MB, free: 8.266 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.0885, allocations: 0 / 466.1 MB, free: 8.266 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.486e-05/0.08854, allocations: 27.94 kB / 466.1 MB, free: 8.238 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/0.08885, allocations: 25.45 kB / 466.1 MB, free: 8.215 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.09023, allocations: 1.424 MB / 467.6 MB, free: 6.711 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.67e-05/0.09031, allocations: 77.33 kB / 467.6 MB, free: 6.609 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.754e-05/0.09035, allocations: 16.11 kB / 467.6 MB, free: 6.594 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.702e-05/0.09041, allocations: 23.44 kB / 467.7 MB, free: 6.57 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.09041, allocations: 0 / 467.7 MB, free: 6.57 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02818/0.1186, allocations: 2.406 MB / 470.1 MB, free: 4.211 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/10.96, allocations: 0 / 470.1 MB, free: 4.211 MB / 334.1 MB " [Timeout remaining time 649] (rm -f ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.pipe >> ../files/ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.sim & python3 -m fmpy simulate --output-file ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ClassicLotkaVolterra.fmu > ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.5760019402951] Failed to read output from testmodel.py, exit status != 0: 11.06286069424823 11.079804753 10.993379966 Calling exit ...