Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",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.0009145/0.0009147, allocations: 97.2 kB / 15.69 MB, free: 480 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.001078/0.001078, allocations: 174.4 kB / 16.57 MB, free: 6.398 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.335/1.335, allocations: 223.2 MB / 240.5 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6477/0.6477, allocations: 113.7 MB / 405.3 MB, free: 4.645 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002777/0.0002778, allocations: 8 kB / 493 MB, free: 8.629 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1483, allocations: 77.12 MB / 0.5567 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.005474/0.1539, allocations: 4.458 MB / 0.5611 GB, free: 7.238 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.4034/0.5573, allocations: 127.9 MB / 0.686 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007871/0.5581, allocations: 15.94 kB / 0.686 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005083/0.5587, allocations: 99.05 kB / 0.6861 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002129/0.5608, allocations: 0.604 MB / 0.6867 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002303/0.5631, allocations: 0.7349 MB / 0.6874 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001617/0.5647, allocations: 1.098 MB / 0.6885 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001237/0.566, allocations: 0.9262 MB / 0.6894 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006356/0.5666, allocations: 0.4939 MB / 0.6899 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005569/0.5672, allocations: 0.5244 MB / 0.6904 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.157e-05/0.5673, allocations: 36 kB / 0.6904 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007044/0.568, allocations: 319.6 kB / 0.6907 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002444/0.5683, allocations: 254.8 kB / 0.691 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002636/0.5685, allocations: 304.8 kB / 0.6913 GB, free: 280 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001774/0.5703, allocations: 1.879 MB / 0.6931 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.5703, allocations: 0 / 0.6931 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.943e-06/0.5704, allocations: 0 / 0.6931 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.976e-05/0.5704, allocations: 0 / 0.6931 GB, free: 14.4 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: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.003759/0.5741, allocations: 1.679 MB / 0.6947 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.5742, allocations: 8.031 kB / 0.6947 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003553/0.5746, allocations: 228 kB / 0.695 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001132/0.5757, allocations: 265.6 kB / 0.6952 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001425/0.5771, allocations: 0.9383 MB / 0.6961 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001538/0.5773, allocations: 148.8 kB / 0.6963 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001776/0.5775, allocations: 155.9 kB / 0.6964 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002733/0.5802, allocations: 1.569 MB / 0.6979 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.743e-05/0.5803, allocations: 4 kB / 0.698 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001356/0.5804, allocations: 71.98 kB / 0.698 GB, free: 9.172 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.649e-05/0.5805, allocations: 36 kB / 0.6981 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002771/0.5832, allocations: 1.588 MB / 0.6996 GB, free: 7.543 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007362/0.5906, allocations: 4.292 MB / 0.7038 GB, free: 3.176 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002219/0.5928, allocations: 1.1 MB / 0.7049 GB, free: 2.07 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001169/0.593, allocations: 41.08 kB / 0.7049 GB, free: 2.031 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001448/0.5944, allocations: 0.7024 MB / 0.7056 GB, free: 1.316 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=111): time 2.826e-06/0.5945, allocations: 0 / 0.7056 GB, free: 1.316 MB / 0.5137 GB Notification: Performance of matching and sorting (n=111): time 0.004379/0.5988, allocations: 1.646 MB / 0.7072 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/0.599, allocations: 200.9 kB / 0.7074 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001331/0.6003, allocations: 0.8338 MB / 0.7082 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001552/0.6005, allocations: 53.62 kB / 0.7083 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006047/0.6011, allocations: 0.6206 MB / 0.7089 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004108/0.6015, allocations: 362.8 kB / 0.7092 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.568e-05/0.6016, allocations: 23.94 kB / 0.7092 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001694/0.6018, allocations: 345.9 kB / 0.7096 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007932/0.6026, allocations: 374.4 kB / 0.7099 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009427/0.6036, allocations: 0.4946 MB / 0.7104 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008604/0.6044, allocations: 434.8 kB / 0.7108 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.6045, allocations: 0 / 0.7108 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002955/0.6074, allocations: 1.149 MB / 0.7119 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.6075, allocations: 4 kB / 0.7119 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.6075, allocations: 4.547 kB / 0.712 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000685/0.6082, allocations: 84.83 kB / 0.712 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009887/0.6092, allocations: 227.3 kB / 0.7122 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002158/0.6113, allocations: 1.544 MB / 0.7138 GB, free: 8.656 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001092/0.6125, allocations: 146.9 kB / 0.7139 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001442/0.6126, allocations: 44.52 kB / 0.7139 GB, free: 8.469 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition8,$whenCondition7,$whenCondition6,$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,$PRE.HDirRoo.incAng.decAng.tNext,HDirRoo.incAng.decAng.tNext,$PRE.HDirFlo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,$PRE.HDirWal.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (127): * Single equations (assignments): 126 * 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.0009323/0.6136, allocations: 348.1 kB / 0.7143 GB, free: 8.121 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000268/0.6138, allocations: 110.6 kB / 0.7144 GB, free: 8.012 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004001/0.6178, allocations: 1.556 MB / 0.7159 GB, free: 6.438 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/0.6179, allocations: 16 kB / 0.7159 GB, free: 6.422 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.6179, allocations: 0 / 0.7159 GB, free: 6.422 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.613e-05/0.6179, allocations: 7.969 kB / 0.7159 GB, free: 6.414 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001957/0.6199, allocations: 1.38 MB / 0.7173 GB, free: 4.984 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.6199, allocations: 0 / 0.7173 GB, free: 4.984 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008257/0.6207, allocations: 199.7 kB / 0.7175 GB, free: 4.789 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005296/0.6213, allocations: 84.77 kB / 0.7175 GB, free: 4.703 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.817e-05/0.6214, allocations: 43.95 kB / 0.7176 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00176/0.6231, allocations: 1.563 MB / 0.7191 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.6231, allocations: 0 / 0.7191 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002716/0.6259, allocations: 1.285 MB / 0.7204 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000808/0.6267, allocations: 387 kB / 0.7207 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000261/0.627, allocations: 28 kB / 0.7208 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/0.628, allocations: 108.9 kB / 0.7209 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001993/0.6282, allocations: 93.17 kB / 0.7209 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.813e-05/0.6283, allocations: 59.89 kB / 0.721 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008746/0.6292, allocations: 0.6059 MB / 0.7216 GB, free: 360 kB / 0.5294 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6292, allocations: 7.938 kB / 0.7216 GB, free: 352 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001401/0.6306, allocations: 446.5 kB / 0.722 GB, free: 15.9 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.004713/0.6354, allocations: 2.349 MB / 0.7243 GB, free: 13.72 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002635/0.638, allocations: 1.109 MB / 0.7254 GB, free: 12.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.638, allocations: 4.25 kB / 0.7254 GB, free: 12.59 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001246/0.6393, allocations: 0.6815 MB / 0.7261 GB, free: 11.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001407/0.6407, allocations: 266.1 kB / 0.7263 GB, free: 11.64 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007802/0.6485, allocations: 4.523 MB / 0.7307 GB, free: 7.051 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008845/0.6495, allocations: 1.251 MB / 0.732 GB, free: 5.77 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001267/0.6507, allocations: 309.1 kB / 0.7323 GB, free: 5.465 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008904/0.6516, allocations: 0.6047 MB / 0.7329 GB, free: 4.859 MB / 0.545 GB Notification: Performance of SimCode: time 1.503e-06/0.6517, allocations: 0 / 0.7329 GB, free: 4.859 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05808/0.7097, allocations: 28.08 MB / 0.7603 GB, free: 9.223 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002261/0.71, allocations: 278.8 kB / 0.7605 GB, free: 8.863 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.714/3.424, allocations: 4 kB / 0.7605 GB, free: 8.859 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) Environment - environmentSimulation: