Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.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.0007536/0.0007536, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007773/0.0007773, allocations: 169.9 kB / 23.21 MB, free: 1.355 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.8741/0.8741, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5878/0.5878, allocations: 114 MB / 373.9 MB, free: 8.711 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Utilities_Validation_SunRiseSet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Utilities_Validation_SunRiseSet",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.396e-06/3.396e-06, allocations: 0 / 0.5542 GB, free: 2.82 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.394e-05/2.733e-05, allocations: 3.688 kB / 0.5542 GB, free: 2.816 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.001764/0.001791, allocations: 0.8378 MB / 0.555 GB, free: 1.98 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.002733/0.004524, allocations: 2.412 MB / 0.5573 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.835e-05/0.004602, allocations: 0 / 0.5573 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 4.378e-05/0.004646, allocations: 19.69 kB / 0.5574 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.000218/0.004864, allocations: 47.61 kB / 0.5574 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008865/0.005751, allocations: 0.5019 MB / 0.5579 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0002947/0.006045, allocations: 327 kB / 0.5582 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 6.554e-05/0.006111, allocations: 9.812 kB / 0.5582 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003185/0.006429, allocations: 199.7 kB / 0.5584 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001638/0.006593, allocations: 123.7 kB / 0.5585 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 4.128e-05/0.006635, allocations: 28 kB / 0.5585 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005384/0.007173, allocations: 383.5 kB / 0.5589 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 6.162e-05/0.007234, allocations: 67.84 kB / 0.559 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 9.271e-05/0.007327, allocations: 91.78 kB / 0.5591 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0006739/0.008001, allocations: 0.666 MB / 0.5597 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.008005, allocations: 0 / 0.5597 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of FrontEnd: time 4.329e-06/0.008009, allocations: 0 / 0.5597 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.008015, allocations: 0 / 0.5597 GB, free: 13.11 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001032/0.009047, allocations: 0.6039 MB / 0.5603 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/0.009101, allocations: 8.625 kB / 0.5603 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.445e-05/0.009155, allocations: 50.73 kB / 0.5604 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007469/0.009902, allocations: 84.77 kB / 0.5604 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.01003, allocations: 138.2 kB / 0.5606 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001877/0.01021, allocations: 230.2 kB / 0.5608 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.956e-05/0.01025, allocations: 24.38 kB / 0.5608 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003227/0.01058, allocations: 244.2 kB / 0.561 GB, free: 11.58 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.01059, allocations: 192 / 0.561 GB, free: 11.58 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.307e-05/0.01061, allocations: 11.94 kB / 0.5611 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.884e-06/0.01062, allocations: 7.938 kB / 0.5611 GB, free: 11.56 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002136/0.01083, allocations: 115.7 kB / 0.5612 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003791/0.01121, allocations: 322.4 kB / 0.5615 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/0.01226, allocations: 487.3 kB / 0.5619 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001938/0.01245, allocations: 146.2 kB / 0.5621 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.123e-05/0.01249, allocations: 7.984 kB / 0.5621 GB, free: 10.28 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004709/0.01296, allocations: 315.6 kB / 0.5624 GB, free: 9.922 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=40): time 2.234e-06/0.01296, allocations: 0 / 0.5624 GB, free: 9.922 MB / 0.5261 GB Notification: Performance of matching and sorting (n=40): time 0.0007834/0.01375, allocations: 421.9 kB / 0.5628 GB, free: 9.504 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001547/0.0139, allocations: 350.1 kB / 0.5631 GB, free: 9.082 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.01405, allocations: 169.1 kB / 0.5633 GB, free: 8.906 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.589e-05/0.01409, allocations: 37.7 kB / 0.5633 GB, free: 8.863 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.636e-05/0.01414, allocations: 101.1 kB / 0.5634 GB, free: 8.762 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.298e-05/0.01423, allocations: 111.1 kB / 0.5635 GB, free: 8.652 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.01436, allocations: 98.61 kB / 0.5636 GB, free: 8.551 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.01446, allocations: 334.8 kB / 0.5639 GB, free: 8.215 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002352/0.0147, allocations: 120.9 kB / 0.5641 GB, free: 8.094 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002563/0.01495, allocations: 160.4 kB / 0.5642 GB, free: 7.93 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00046/0.01541, allocations: 272.5 kB / 0.5645 GB, free: 7.656 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.01542, allocations: 0 / 0.5645 GB, free: 7.656 MB / 0.5261 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006348/0.01605, allocations: 376.5 kB / 0.5648 GB, free: 7.285 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.01607, allocations: 10.28 kB / 0.5648 GB, free: 7.277 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.01608, allocations: 8 kB / 0.5648 GB, free: 7.27 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.0161, allocations: 64 / 0.5648 GB, free: 7.27 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000266/0.01636, allocations: 87.81 kB / 0.5649 GB, free: 7.184 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.01637, allocations: 4 kB / 0.5649 GB, free: 7.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000179/0.01655, allocations: 47.75 kB / 0.565 GB, free: 7.133 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.122e-05/0.01658, allocations: 19.98 kB / 0.565 GB, free: 7.113 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 28 (sunRiseSetSyd.sunUp,sunRiseSetSyd.nextSunSet,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunRise,$whenCondition7,$whenCondition8,sunRiseSetAntarctic.sunUp,sunRiseSetAntarctic.nextSunSet,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunRise,$whenCondition5,$whenCondition6,sunRiseSetSf.sunUp,sunRiseSetSf.nextSunSet,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunRise,$whenCondition3,$whenCondition4,sunRiseSetArctic.sunUp,sunRiseSetArctic.nextSunSet,$PRE.sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunRise,$PRE.sunRiseSetArctic.nextSunRise,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 56 * 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.0001445/0.01673, allocations: 146.5 kB / 0.5651 GB, free: 6.965 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.378e-05/0.01678, allocations: 27.84 kB / 0.5652 GB, free: 6.938 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005442/0.01733, allocations: 362.2 kB / 0.5655 GB, free: 6.574 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.01733, allocations: 12 kB / 0.5655 GB, free: 6.562 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.01734, allocations: 4 kB / 0.5655 GB, free: 6.559 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.01735, allocations: 7.984 kB / 0.5655 GB, free: 6.551 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002631/0.01761, allocations: 292.4 kB / 0.5658 GB, free: 6.223 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/0.01762, allocations: 0 / 0.5658 GB, free: 6.223 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/0.01778, allocations: 67.91 kB / 0.5659 GB, free: 6.156 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.113e-06/0.01779, allocations: 4 kB / 0.5659 GB, free: 6.152 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.214e-05/0.01782, allocations: 23.92 kB / 0.5659 GB, free: 6.129 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.474e-06/0.01783, allocations: 11.94 kB / 0.5659 GB, free: 6.117 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.01783, allocations: 0 / 0.5659 GB, free: 6.117 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005506/0.01838, allocations: 0.4969 MB / 0.5664 GB, free: 5.566 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001359/0.01851, allocations: 75.56 kB / 0.5665 GB, free: 5.492 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.765e-05/0.01855, allocations: 23.94 kB / 0.5665 GB, free: 5.469 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.01867, allocations: 27.97 kB / 0.5665 GB, free: 5.441 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.939e-05/0.01875, allocations: 51.86 kB / 0.5666 GB, free: 5.391 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.766e-05/0.01878, allocations: 27.92 kB / 0.5666 GB, free: 5.363 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 7.319e-05/0.01885, allocations: 123.2 kB / 0.5667 GB, free: 5.242 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.01885, allocations: 0 / 0.5667 GB, free: 5.242 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004602/0.01931, allocations: 235.1 kB / 0.5669 GB, free: 5.012 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition8,$whenCondition7,sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition6,$whenCondition5,sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition4,$whenCondition3,sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition2,$whenCondition1,sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp) * Number of discrete states: 8 (sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunRise) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.00104/0.02035, allocations: 1.274 MB / 0.5682 GB, free: 3.672 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004418/0.0208, allocations: 319.2 kB / 0.5685 GB, free: 3.363 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.0208, allocations: 0 / 0.5685 GB, free: 3.363 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001921/0.02099, allocations: 168.4 kB / 0.5687 GB, free: 3.199 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002124/0.0212, allocations: 31.98 kB / 0.5687 GB, free: 3.168 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002522/0.02372, allocations: 2.789 MB / 0.5714 GB, free: 220 kB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.539e-05/0.02382, allocations: 151.7 kB / 0.5715 GB, free: 56 kB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001415/0.02396, allocations: 58.86 kB / 0.5716 GB, free: 15.99 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/0.0241, allocations: 96.39 kB / 0.5717 GB, free: 15.9 MB / 0.5417 GB Notification: Performance of SimCode: time 6.81e-07/0.0241, allocations: 0 / 0.5717 GB, free: 15.9 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0247/0.0488, allocations: 8.926 MB / 0.5804 GB, free: 7.152 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.094/7.143, allocations: 2.031 kB / 0.5804 GB, free: 7.152 MB / 0.5417 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Utilities_Validation_SunRiseSet_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Utilities_Validation_SunRiseSet.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.727340285666287] Failed to read output from testmodel.py, exit status != 0: 7.22672248724848 7.235843431 7.225892634 Calling exit ...