Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SystemDynamics_SystemDynamics.PopulationDynamics.LarchBudMoth.LBM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 107.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.1995/0.1995, allocations: 29.23 MB / 331.9 MB, free: 0.8906 MB / 254.1 MB " [Timeout remaining time 180] Using package SystemDynamics with version 2.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/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) Running command: "" <> buildModelFMU(SystemDynamics.PopulationDynamics.LarchBudMoth.LBM,fileNamePrefix="SystemDynamics_SystemDynamics_PopulationDynamics_LarchBudMoth_LBM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(SystemDynamics.PopulationDynamics.LarchBudMoth.LBM,fileNamePrefix="SystemDynamics_SystemDynamics_PopulationDynamics_LarchBudMoth_LBM",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001827/0.001827, allocations: 63.03 kB / 464.7 MB, free: 35.65 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1126, allocations: 59.57 MB / 0.5119 GB, free: 14.6 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.PopulationDynamics.LarchBudMoth.LBM): time 0.00371/0.1164, allocations: 2.382 MB / 0.5143 GB, free: 12.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009846/0.1173, allocations: 430.7 kB / 0.5147 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001252/0.1175, allocations: 4 kB / 0.5147 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000147/0.1176, allocations: 47.45 kB / 0.5147 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001407/0.1177, allocations: 35.55 kB / 0.5148 GB, free: 11.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004497/0.1182, allocations: 143.7 kB / 0.5149 GB, free: 11.56 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003595/0.1186, allocations: 320.7 kB / 0.5152 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002862/0.1188, allocations: 167 kB / 0.5154 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001479/0.119, allocations: 143.4 kB / 0.5155 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002278/0.1192, allocations: 175.1 kB / 0.5157 GB, free: 10.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.618e-05/0.1193, allocations: 39.94 kB / 0.5157 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001277/0.1194, allocations: 59.97 kB / 0.5158 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001552/0.1196, allocations: 123.6 kB / 0.5159 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001858/0.1197, allocations: 214.5 kB / 0.5161 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005122/0.1203, allocations: 437.6 kB / 0.5165 GB, free: 9.906 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1203, allocations: 0 / 0.5165 GB, free: 9.906 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1203, allocations: 4 kB / 0.5165 GB, free: 9.902 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.902e-06/0.1203, allocations: 0 / 0.5165 GB, free: 9.902 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001315/0.1216, allocations: 0.7966 MB / 0.5173 GB, free: 9.051 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.1216, allocations: 16.03 kB / 0.5173 GB, free: 9.035 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001459/0.1218, allocations: 83.7 kB / 0.5174 GB, free: 8.945 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.784e-05/0.1219, allocations: 68.52 kB / 0.5174 GB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002818/0.1222, allocations: 278.3 kB / 0.5177 GB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.648e-05/0.1222, allocations: 37.38 kB / 0.5177 GB, free: 8.531 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.609e-05/0.1223, allocations: 44.31 kB / 0.5178 GB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008263/0.1231, allocations: 474.7 kB / 0.5182 GB, free: 8.012 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/0.1231, allocations: 7.938 kB / 0.5182 GB, free: 8.004 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.41e-05/0.1231, allocations: 19.94 kB / 0.5183 GB, free: 7.984 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.742e-05/0.1232, allocations: 12 kB / 0.5183 GB, free: 7.973 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007285/0.1239, allocations: 379.7 kB / 0.5186 GB, free: 7.602 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001716/0.1256, allocations: 1.149 MB / 0.5198 GB, free: 6.398 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001232/0.1268, allocations: 0.4964 MB / 0.5202 GB, free: 5.887 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003335/0.1272, allocations: 161.7 kB / 0.5204 GB, free: 5.723 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.214e-05/0.1273, allocations: 32.98 kB / 0.5204 GB, free: 5.691 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005841/0.1278, allocations: 268.7 kB / 0.5207 GB, free: 5.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=41): time 1.973e-06/0.1278, allocations: 0 / 0.5207 GB, free: 5.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=41): time 0.001079/0.1289, allocations: 0.5673 MB / 0.5212 GB, free: 4.836 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.836e-05/0.129, allocations: 81.11 kB / 0.5213 GB, free: 4.738 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003841/0.1294, allocations: 353.7 kB / 0.5217 GB, free: 4.383 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.539e-05/0.1294, allocations: 37.7 kB / 0.5217 GB, free: 4.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001926/0.1296, allocations: 256.6 kB / 0.5219 GB, free: 4.082 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.1297, allocations: 138.8 kB / 0.5221 GB, free: 3.945 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.344e-05/0.1298, allocations: 57.7 kB / 0.5221 GB, free: 3.883 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.13, allocations: 354.8 kB / 0.5225 GB, free: 3.527 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002765/0.1303, allocations: 135.9 kB / 0.5226 GB, free: 3.395 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003049/0.1306, allocations: 182.3 kB / 0.5228 GB, free: 3.207 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002615/0.1332, allocations: 0.6686 MB / 0.5234 GB, free: 2.531 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.716e-06/0.1332, allocations: 0 / 0.5234 GB, free: 2.531 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006966/0.1339, allocations: 429.3 kB / 0.5238 GB, free: 2.105 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.1339, allocations: 8 kB / 0.5238 GB, free: 2.098 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/0.1339, allocations: 4.031 kB / 0.5238 GB, free: 2.094 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.284e-05/0.1339, allocations: 15.95 kB / 0.5239 GB, free: 2.078 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002927/0.1342, allocations: 67.91 kB / 0.5239 GB, free: 2.012 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.679e-06/0.1342, allocations: 4 kB / 0.5239 GB, free: 2.008 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001493/0.1344, allocations: 31.77 kB / 0.524 GB, free: 1.977 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.425e-05/0.1344, allocations: 12 kB / 0.524 GB, free: 1.965 MB / 382.1 MB Warning: Assuming fixed start value for the following 2 variables: Eggs.level:DISCRETE(start = Eggs.x0 fixed = true ) \"Discrete state variable\" type: Real Rawfiber.level:DISCRETE(start = Rawfiber.x0 fixed = true ) \"Discrete state variable\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.Eggs.level,$PRE.Rawfiber.level,Rawfiber.level,Eggs.level) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0002666/0.1347, allocations: 189.5 kB / 0.5241 GB, free: 1.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.617e-05/0.1347, allocations: 51.72 kB / 0.5242 GB, free: 1.719 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008359/0.1356, allocations: 462.3 kB / 0.5246 GB, free: 1.258 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.1356, allocations: 7.938 kB / 0.5246 GB, free: 1.25 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.1356, allocations: 0 / 0.5246 GB, free: 1.25 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.1356, allocations: 7.984 kB / 0.5247 GB, free: 1.242 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005506/0.1361, allocations: 0.501 MB / 0.5251 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1361, allocations: 8 kB / 0.5251 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00028/0.1364, allocations: 67.83 kB / 0.5252 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.1364, allocations: 4 kB / 0.5252 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.655e-05/0.1365, allocations: 12 kB / 0.5252 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.1365, allocations: 3.938 kB / 0.5252 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1365, allocations: 0 / 0.5252 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007125/0.1372, allocations: 465.3 kB / 0.5257 GB, free: 124 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/0.1373, allocations: 113 kB / 0.5258 GB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.551e-05/0.1373, allocations: 8 kB / 0.5258 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000141/0.1375, allocations: 19.92 kB / 0.5258 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.527e-05/0.1375, allocations: 31.7 kB / 0.5258 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.126e-05/0.1376, allocations: 12 kB / 0.5259 GB, free: 15.92 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000258/0.1378, allocations: 251.1 kB / 0.5261 GB, free: 15.68 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1378, allocations: 4 kB / 0.5261 GB, free: 15.67 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003153/0.1381, allocations: 99.61 kB / 0.5262 GB, free: 15.57 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,Eggs.level,Rawfiber.level) * Number of discrete states: 2 (Eggs.level,Rawfiber.level) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001471/0.1396, allocations: 1.218 MB / 0.5274 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006579/0.1403, allocations: 355.4 kB / 0.5277 GB, free: 13.98 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1403, allocations: 0 / 0.5277 GB, free: 13.98 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003481/0.1406, allocations: 187.5 kB / 0.5279 GB, free: 13.79 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002516/0.1409, allocations: 25.56 kB / 0.5279 GB, free: 13.76 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005138/0.146, allocations: 3.8 MB / 0.5316 GB, free: 9.859 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005055/0.1465, allocations: 0.8512 MB / 0.5325 GB, free: 8.98 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001389/0.1467, allocations: 30.28 kB / 0.5325 GB, free: 8.949 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002173/0.1469, allocations: 175.4 kB / 0.5327 GB, free: 8.777 MB / 398.1 MB Notification: Performance of SimCode: time 9.52e-07/0.1469, allocations: 3.938 kB / 0.5327 GB, free: 8.773 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03006/0.1769, allocations: 6.497 MB / 0.539 GB, free: 2.359 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.551/8.728, allocations: 4.047 kB / 0.539 GB, free: 2.355 MB / 398.1 MB " [Timeout remaining time 651] (rm -f SystemDynamics_SystemDynamics.PopulationDynamics.LarchBudMoth.LBM.pipe ; mkfifo SystemDynamics_SystemDynamics.PopulationDynamics.LarchBudMoth.LBM.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.PopulationDynamics.LarchBudMoth.LBM.pipe >> ../files/SystemDynamics_SystemDynamics.PopulationDynamics.LarchBudMoth.LBM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_SystemDynamics_SystemDynamics_PopulationDynamics_LarchBudMoth_LBM_fmu --startTime=1949 --stopTime=1978 --stepSize=0.0116 --timeout=50 --tolerance=1e-06 SystemDynamics_SystemDynamics_PopulationDynamics_LarchBudMoth_LBM.fmu > SystemDynamics_SystemDynamics.PopulationDynamics.LarchBudMoth.LBM.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.756867629941553] Failed to read output from testmodel.py, exit status != 0: 8.798309923149645 8.813085463 8.690057151 Calling exit ...