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.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.0007647/0.0007647, allocations: 80.44 kB / 19.17 MB, free: 0.7344 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.0008065/0.0008065, allocations: 165.9 kB / 22.45 MB, free: 2.098 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9349/0.9349, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics master/package.mo): time 0.1334/0.1334, allocations: 21.8 MB / 281 MB, free: 7.383 MB / 266.7 MB " [Timeout remaining time 180] Using package SystemDynamics with version 2.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(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 4.489e-06/4.489e-06, allocations: 0 / 417.7 MB, free: 9.43 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.484e-05/3.932e-05, allocations: 2.281 kB / 417.7 MB, free: 9.426 MB / 394.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.PopulationDynamics.LarchBudMoth.LBM): time 0.002755/0.002795, allocations: 2.189 MB / 419.9 MB, free: 7.223 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009563/0.003751, allocations: 434.6 kB / 420.3 MB, free: 6.797 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000195/0.003946, allocations: 8 kB / 420.3 MB, free: 6.789 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001555/0.004101, allocations: 47.45 kB / 420.4 MB, free: 6.742 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000169/0.00427, allocations: 27.62 kB / 420.4 MB, free: 6.715 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005283/0.004799, allocations: 163.5 kB / 420.6 MB, free: 6.555 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003345/0.005133, allocations: 316.7 kB / 420.9 MB, free: 6.242 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002683/0.005402, allocations: 159.1 kB / 421 MB, free: 6.086 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001892/0.005591, allocations: 199.5 kB / 421.2 MB, free: 5.891 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001496/0.00574, allocations: 123.5 kB / 421.3 MB, free: 5.77 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.239e-05/0.005783, allocations: 39.94 kB / 421.4 MB, free: 5.73 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001364/0.005919, allocations: 63.95 kB / 421.4 MB, free: 5.668 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001295/0.006049, allocations: 135.5 kB / 421.6 MB, free: 5.535 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 8.884e-05/0.006138, allocations: 127.5 kB / 421.7 MB, free: 5.41 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004179/0.006555, allocations: 434.3 kB / 422.1 MB, free: 4.984 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.006559, allocations: 4 kB / 422.1 MB, free: 4.98 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.006561, allocations: 0 / 422.1 MB, free: 4.98 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.006568, allocations: 0 / 422.1 MB, free: 4.98 MB / 394.7 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.0009452/0.007513, allocations: 0.7251 MB / 422.8 MB, free: 4.219 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.007556, allocations: 8.031 kB / 422.9 MB, free: 4.211 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000107/0.007663, allocations: 91.66 kB / 422.9 MB, free: 4.113 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001435/0.007806, allocations: 72.5 kB / 423 MB, free: 4.043 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001708/0.007977, allocations: 219.8 kB / 423.2 MB, free: 3.801 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.357e-05/0.008011, allocations: 33.38 kB / 423.3 MB, free: 3.77 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.546e-05/0.008056, allocations: 48.38 kB / 423.3 MB, free: 3.723 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005744/0.008631, allocations: 466.7 kB / 423.8 MB, free: 3.258 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.008643, allocations: 192 / 423.8 MB, free: 3.258 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.615e-05/0.008669, allocations: 20.38 kB / 423.8 MB, free: 3.238 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/0.008682, allocations: 16.12 kB / 423.8 MB, free: 3.223 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004584/0.009141, allocations: 375.7 kB / 424.2 MB, free: 2.855 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001237/0.01038, allocations: 1.031 MB / 425.2 MB, free: 1.773 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007461/0.01112, allocations: 490.2 kB / 425.7 MB, free: 1.277 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001892/0.01131, allocations: 161.6 kB / 425.8 MB, free: 1.113 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.493e-05/0.01137, allocations: 32.98 kB / 425.9 MB, free: 1.082 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003747/0.01174, allocations: 284.4 kB / 426.1 MB, free: 0.7852 MB / 394.7 MB Notification: Performance of pre-optimization done (n=41): time 1.212e-06/0.01174, allocations: 0 / 426.1 MB, free: 0.7852 MB / 394.7 MB Notification: Performance of matching and sorting (n=41): time 0.0006938/0.01244, allocations: 0.5553 MB / 426.7 MB, free: 228 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.605e-05/0.01249, allocations: 88.84 kB / 426.8 MB, free: 120 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002657/0.01276, allocations: 353.6 kB / 427.1 MB, free: 15.76 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.803e-05/0.01279, allocations: 41.7 kB / 427.2 MB, free: 15.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.01293, allocations: 248.6 kB / 427.4 MB, free: 15.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.786e-05/0.01303, allocations: 142.8 kB / 427.6 MB, free: 15.32 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.879e-05/0.01311, allocations: 53.7 kB / 427.6 MB, free: 15.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.01321, allocations: 354.8 kB / 428 MB, free: 14.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001682/0.01338, allocations: 143.9 kB / 428.1 MB, free: 14.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001684/0.01355, allocations: 182.2 kB / 428.3 MB, free: 14.58 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001349/0.0149, allocations: 0.6701 MB / 428.9 MB, free: 13.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.0149, allocations: 0 / 428.9 MB, free: 13.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004534/0.01536, allocations: 433.1 kB / 429.4 MB, free: 13.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.01537, allocations: 4 kB / 429.4 MB, free: 13.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.01538, allocations: 11.88 kB / 429.4 MB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.0154, allocations: 0 / 429.4 MB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/0.01556, allocations: 71.89 kB / 429.5 MB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.01557, allocations: 0 / 429.5 MB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.893e-05/0.01565, allocations: 35.72 kB / 429.5 MB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.051e-05/0.01567, allocations: 15.98 kB / 429.5 MB, free: 13.34 MB / 410.7 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.000209/0.01588, allocations: 185.8 kB / 429.7 MB, free: 13.15 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.418e-05/0.01591, allocations: 39.72 kB / 429.7 MB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005351/0.01645, allocations: 472.8 kB / 430.2 MB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/0.01646, allocations: 4 kB / 430.2 MB, free: 12.63 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.391e-06/0.01646, allocations: 0 / 430.2 MB, free: 12.63 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.707e-06/0.01647, allocations: 15.92 kB / 430.2 MB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003739/0.01685, allocations: 452.3 kB / 430.6 MB, free: 12.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.01685, allocations: 0 / 430.6 MB, free: 12.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001578/0.01701, allocations: 63.91 kB / 430.7 MB, free: 12.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.339e-06/0.01701, allocations: 4 kB / 430.7 MB, free: 12.07 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/0.01703, allocations: 11.98 kB / 430.7 MB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.01703, allocations: 0 / 430.7 MB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.01703, allocations: 3.938 kB / 430.7 MB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000498/0.01753, allocations: 465.1 kB / 431.2 MB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.818e-05/0.01758, allocations: 43.92 kB / 431.2 MB, free: 11.53 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.412e-05/0.01761, allocations: 12 kB / 431.2 MB, free: 11.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.761e-05/0.01768, allocations: 15.98 kB / 431.3 MB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.967e-05/0.01775, allocations: 31.88 kB / 431.3 MB, free: 11.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.01777, allocations: 12 kB / 431.3 MB, free: 11.46 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001793/0.01795, allocations: 251.1 kB / 431.5 MB, free: 11.22 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01795, allocations: 0 / 431.5 MB, free: 11.22 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002741/0.01822, allocations: 95.67 kB / 431.6 MB, free: 11.13 MB / 410.7 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.001035/0.01926, allocations: 1.226 MB / 432.9 MB, free: 9.867 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000457/0.01971, allocations: 355.2 kB / 433.2 MB, free: 9.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/0.01972, allocations: 3.938 kB / 433.2 MB, free: 9.516 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001985/0.01992, allocations: 183.9 kB / 433.4 MB, free: 9.336 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002444/0.02016, allocations: 36.7 kB / 433.4 MB, free: 9.301 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003503/0.02366, allocations: 3.803 MB / 437.2 MB, free: 5.398 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001766/0.02384, allocations: 256.5 kB / 437.5 MB, free: 5.121 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.941e-05/0.02393, allocations: 30.28 kB / 437.5 MB, free: 5.086 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001573/0.02409, allocations: 172.4 kB / 437.7 MB, free: 4.918 MB / 410.7 MB Notification: Performance of SimCode: time 9.92e-07/0.02409, allocations: 4 kB / 437.7 MB, free: 4.914 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2003/0.2244, allocations: 7.103 MB / 444.8 MB, free: 64.42 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.553/6.777, allocations: 1.719 kB / 444.8 MB, free: 64.42 MB / 410.7 MB " [Timeout remaining time 653] (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: 8.795733595266938] Failed to read output from testmodel.py, exit status != 0: 6.862475663423538 6.874521216 6.865661069 Calling exit ...