Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.conf.json 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/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008192/0.0008191, allocations: 92.86 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 171.7 kB / 16.58 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 223.3 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6817/0.6817, allocations: 113.7 MB / 405.4 MB, free: 4.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003235/0.0003236, allocations: 12 kB / 493.1 MB, free: 8.594 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1537, allocations: 77.12 MB / 0.5569 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.004694/0.1584, allocations: 3.663 MB / 0.5605 GB, free: 7.992 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.4537/0.6122, allocations: 136.7 MB / 0.694 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006552/0.6129, allocations: 15.94 kB / 0.694 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004899/0.6134, allocations: 130.9 kB / 0.6942 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001277/0.6147, allocations: 406.2 kB / 0.6945 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001637/0.6163, allocations: 0.6245 MB / 0.6952 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001052/0.6174, allocations: 1.106 MB / 0.6962 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006732/0.6181, allocations: 466.4 kB / 0.6967 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004546/0.6185, allocations: 326.5 kB / 0.697 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004137/0.619, allocations: 356.3 kB / 0.6973 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.935e-05/0.619, allocations: 28 kB / 0.6974 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007235/0.6198, allocations: 331.6 kB / 0.6977 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000184/0.62, allocations: 179.2 kB / 0.6978 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001594/0.6201, allocations: 193.1 kB / 0.698 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001058/0.6212, allocations: 1.138 MB / 0.6991 GB, free: 9.098 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 9.678e-06/0.6212, allocations: 4 kB / 0.6991 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.374e-06/0.6212, allocations: 4 kB / 0.6991 GB, free: 9.09 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.089e-05/0.6212, allocations: 0 / 0.6991 GB, free: 9.09 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.001999/0.6233, allocations: 1.197 MB / 0.7003 GB, free: 7.848 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.6233, allocations: 11.97 kB / 0.7003 GB, free: 7.836 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001419/0.6235, allocations: 135.1 kB / 0.7005 GB, free: 7.695 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007743/0.6242, allocations: 194.5 kB / 0.7006 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008889/0.6251, allocations: 0.707 MB / 0.7013 GB, free: 6.754 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.706e-05/0.6252, allocations: 65.95 kB / 0.7014 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.682e-05/0.6253, allocations: 87.92 kB / 0.7015 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001402/0.6267, allocations: 0.8989 MB / 0.7024 GB, free: 5.664 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.6267, allocations: 3.938 kB / 0.7024 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.369e-05/0.6268, allocations: 35.98 kB / 0.7024 GB, free: 5.625 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.133e-05/0.6268, allocations: 20 kB / 0.7024 GB, free: 5.605 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001537/0.6284, allocations: 1.097 MB / 0.7035 GB, free: 4.512 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003323/0.6317, allocations: 2.493 MB / 0.7059 GB, free: 1.953 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00132/0.6331, allocations: 0.8677 MB / 0.7068 GB, free: 1.055 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004744/0.6335, allocations: 294.7 kB / 0.707 GB, free: 0.7656 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 8.069e-05/0.6336, allocations: 28.59 kB / 0.7071 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007736/0.6344, allocations: 495.1 kB / 0.7075 GB, free: 240 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=79): time 2.294e-06/0.6344, allocations: 0 / 0.7075 GB, free: 240 kB / 0.5137 GB Notification: Performance of matching and sorting (n=79): time 0.002603/0.637, allocations: 1.18 MB / 0.7087 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.598e-05/0.6371, allocations: 188.6 kB / 0.7089 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006735/0.6378, allocations: 0.6291 MB / 0.7095 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.254e-05/0.6379, allocations: 37.7 kB / 0.7095 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002724/0.6382, allocations: 400.3 kB / 0.7099 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001732/0.6384, allocations: 244.5 kB / 0.7101 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.579e-05/0.6384, allocations: 12 kB / 0.7102 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.6386, allocations: 386.7 kB / 0.7105 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004302/0.639, allocations: 249.9 kB / 0.7108 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005056/0.6395, allocations: 350.5 kB / 0.7111 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004823/0.64, allocations: 286.9 kB / 0.7114 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.64, allocations: 0 / 0.7114 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001521/0.6415, allocations: 0.794 MB / 0.7121 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.6416, allocations: 4.094 kB / 0.7122 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.914e-06/0.6416, allocations: 8 kB / 0.7122 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005107/0.6421, allocations: 84.73 kB / 0.7122 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005504/0.6427, allocations: 147.8 kB / 0.7124 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001769/0.6444, allocations: 1.524 MB / 0.7139 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005522/0.645, allocations: 103.4 kB / 0.714 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.305e-05/0.6451, allocations: 27.98 kB / 0.714 GB, free: 9.359 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003458/0.6454, allocations: 259 kB / 0.7142 GB, free: 9.098 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.6455, allocations: 90.95 kB / 0.7143 GB, free: 9.008 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002055/0.6476, allocations: 1.063 MB / 0.7154 GB, free: 7.926 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.6476, allocations: 8.094 kB / 0.7154 GB, free: 7.918 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.6476, allocations: 3.984 kB / 0.7154 GB, free: 7.914 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.6476, allocations: 3.984 kB / 0.7154 GB, free: 7.91 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002737/0.6504, allocations: 1.907 MB / 0.7172 GB, free: 5.941 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.6504, allocations: 4 kB / 0.7172 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005097/0.6509, allocations: 143.8 kB / 0.7174 GB, free: 5.797 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004445/0.6514, allocations: 84.77 kB / 0.7175 GB, free: 5.711 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.17e-05/0.6514, allocations: 23.98 kB / 0.7175 GB, free: 5.688 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001611/0.653, allocations: 1.544 MB / 0.719 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.6531, allocations: 8.062 kB / 0.719 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001714/0.6548, allocations: 0.9765 MB / 0.72 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003522/0.6552, allocations: 287.7 kB / 0.7202 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/0.6553, allocations: 16 kB / 0.7202 GB, free: 2.688 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005805/0.6559, allocations: 84.94 kB / 0.7203 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/0.656, allocations: 68.84 kB / 0.7204 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.754e-05/0.6561, allocations: 35.97 kB / 0.7204 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005188/0.6566, allocations: 459 kB / 0.7209 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6566, allocations: 0 / 0.7209 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008511/0.6575, allocations: 299.3 kB / 0.7211 GB, free: 1.77 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003182/0.6607, allocations: 2.037 MB / 0.7231 GB, free: 15.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001419/0.6621, allocations: 0.7922 MB / 0.7239 GB, free: 15.1 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.6621, allocations: 8.125 kB / 0.7239 GB, free: 15.09 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007798/0.6629, allocations: 0.5041 MB / 0.7244 GB, free: 14.57 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.664, allocations: 257.2 kB / 0.7247 GB, free: 14.33 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00969/0.6737, allocations: 5.011 MB / 0.7296 GB, free: 9.258 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005976/0.6743, allocations: 1.023 MB / 0.7306 GB, free: 8.203 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008505/0.6752, allocations: 258.5 kB / 0.7308 GB, free: 7.945 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005169/0.6757, allocations: 367.3 kB / 0.7311 GB, free: 7.586 MB / 0.545 GB Notification: Performance of SimCode: time 6.91e-07/0.6757, allocations: 0 / 0.7311 GB, free: 7.586 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06914/0.7449, allocations: 20.83 MB / 0.7515 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002418/0.7452, allocations: 296.2 kB / 0.7518 GB, free: 2.812 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.288/3.034, allocations: 4.062 kB / 0.7518 GB, free: 2.809 MB / 0.5606 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) Environment - environmentSimulation: