Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.IncidenceAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",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.001028/0.001028, allocations: 96.27 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.001118/0.001118, allocations: 177.7 kB / 16.57 MB, free: 6.859 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.506/1.506, allocations: 223.2 MB / 240.5 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7364/0.7364, allocations: 113.7 MB / 405.3 MB, free: 4.703 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004584/0.0004585, allocations: 12 kB / 493 MB, free: 8.629 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1731/0.1736, allocations: 77.12 MB / 0.5567 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.006898/0.1805, allocations: 3.741 MB / 0.5604 GB, free: 7.953 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.4719/0.6525, allocations: 127.7 MB / 0.6851 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007876/0.6533, allocations: 19.88 kB / 0.6851 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004735/0.6538, allocations: 79.27 kB / 0.6852 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002165/0.656, allocations: 0.524 MB / 0.6857 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001925/0.658, allocations: 0.629 MB / 0.6863 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001348/0.6593, allocations: 0.8494 MB / 0.6871 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007025/0.66, allocations: 487.2 kB / 0.6876 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005068/0.6605, allocations: 362.5 kB / 0.6879 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004399/0.661, allocations: 366.1 kB / 0.6883 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.718e-05/0.6611, allocations: 28 kB / 0.6883 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008154/0.6619, allocations: 315.6 kB / 0.6886 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002222/0.6621, allocations: 195.2 kB / 0.6888 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001798/0.6623, allocations: 201.1 kB / 0.689 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001152/0.6635, allocations: 1.189 MB / 0.6901 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.285e-06/0.6635, allocations: 0 / 0.6901 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.22e-07/0.6635, allocations: 0 / 0.6901 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.22e-05/0.6635, allocations: 0 / 0.6901 GB, free: 1.465 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002295/0.6658, allocations: 1.268 MB / 0.6914 GB, free: 156 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.6659, allocations: 8.031 kB / 0.6914 GB, free: 148 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001699/0.666, allocations: 139.5 kB / 0.6915 GB, free: 0 / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008712/0.6669, allocations: 198.7 kB / 0.6917 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/0.668, allocations: 0.7349 MB / 0.6924 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.949e-05/0.668, allocations: 69.78 kB / 0.6925 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.6682, allocations: 87.98 kB / 0.6926 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001428/0.6696, allocations: 0.9496 MB / 0.6935 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.6696, allocations: 4 kB / 0.6935 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.038e-05/0.6697, allocations: 40 kB / 0.6936 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.441e-05/0.6697, allocations: 20 kB / 0.6936 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00166/0.6714, allocations: 1.163 MB / 0.6947 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003838/0.6752, allocations: 2.708 MB / 0.6974 GB, free: 9.879 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001442/0.6767, allocations: 0.8605 MB / 0.6982 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 7.501e-05/0.6768, allocations: 32.69 kB / 0.6982 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008627/0.6777, allocations: 0.5237 MB / 0.6987 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=88): time 2.215e-06/0.6777, allocations: 0 / 0.6987 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88): time 0.002916/0.6806, allocations: 1.299 MB / 0.7 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.671e-05/0.6807, allocations: 196.9 kB / 0.7002 GB, free: 6.879 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007579/0.6815, allocations: 0.6488 MB / 0.7008 GB, free: 6.219 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.872e-05/0.6816, allocations: 41.7 kB / 0.7009 GB, free: 6.172 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003062/0.6819, allocations: 408.4 kB / 0.7013 GB, free: 5.766 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002164/0.6821, allocations: 283.9 kB / 0.7015 GB, free: 5.484 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.951e-05/0.6821, allocations: 12 kB / 0.7015 GB, free: 5.473 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002037/0.6824, allocations: 394.8 kB / 0.7019 GB, free: 5.078 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005046/0.6829, allocations: 273.8 kB / 0.7022 GB, free: 4.809 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006048/0.6835, allocations: 390.5 kB / 0.7025 GB, free: 4.398 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005621/0.684, allocations: 310.9 kB / 0.7028 GB, free: 4.098 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.6841, allocations: 4 kB / 0.7028 GB, free: 4.094 MB / 0.5137 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001804/0.6859, allocations: 0.8722 MB / 0.7037 GB, free: 3.211 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.6859, allocations: 4 kB / 0.7037 GB, free: 3.207 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.6859, allocations: 4 kB / 0.7037 GB, free: 3.203 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005674/0.6865, allocations: 80.84 kB / 0.7038 GB, free: 3.121 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007882/0.6873, allocations: 171.8 kB / 0.7039 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002218/0.6895, allocations: 1.541 MB / 0.7055 GB, free: 1.277 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007722/0.6903, allocations: 107.7 kB / 0.7056 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.83e-05/0.6904, allocations: 43.41 kB / 0.7056 GB, free: 1.137 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.decAng.tNext,decAng.tNext,$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 (97): * Single equations (assignments): 96 * 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.000508/0.6909, allocations: 265.6 kB / 0.7058 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001364/0.6911, allocations: 86.95 kB / 0.7059 GB, free: 0.7812 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002604/0.6937, allocations: 1.188 MB / 0.7071 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.695e-05/0.6937, allocations: 8 kB / 0.7071 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.746e-06/0.6937, allocations: 0 / 0.7071 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.6937, allocations: 7.984 kB / 0.7071 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001114/0.6948, allocations: 0.9355 MB / 0.708 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.6949, allocations: 0 / 0.708 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006425/0.6955, allocations: 163.7 kB / 0.7082 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004966/0.696, allocations: 84.77 kB / 0.7083 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.647e-05/0.6961, allocations: 31.97 kB / 0.7083 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001917/0.698, allocations: 1.555 MB / 0.7098 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.698, allocations: 0 / 0.7098 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002226/0.7002, allocations: 1.006 MB / 0.7108 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004526/0.7007, allocations: 303.5 kB / 0.7111 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/0.7008, allocations: 20.02 kB / 0.7111 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006914/0.7015, allocations: 92.73 kB / 0.7112 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001488/0.7017, allocations: 76.89 kB / 0.7113 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-05/0.7018, allocations: 39.97 kB / 0.7113 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007183/0.7025, allocations: 475 kB / 0.7118 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.6e-07/0.7025, allocations: 0 / 0.7118 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001192/0.7037, allocations: 323.2 kB / 0.7121 GB, free: 10.27 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: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.005291/0.709, allocations: 2.057 MB / 0.7141 GB, free: 8.371 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002725/0.7118, allocations: 0.8508 MB / 0.7149 GB, free: 7.512 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.7118, allocations: 3.938 kB / 0.7149 GB, free: 7.508 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001423/0.7132, allocations: 0.5511 MB / 0.7154 GB, free: 6.945 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00164/0.7149, allocations: 240.5 kB / 0.7157 GB, free: 6.723 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01225/0.7272, allocations: 5.762 MB / 0.7213 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007416/0.728, allocations: 1.063 MB / 0.7223 GB, free: 15.73 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008894/0.7289, allocations: 267.1 kB / 0.7226 GB, free: 15.46 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005788/0.7294, allocations: 419.2 kB / 0.723 GB, free: 15.06 MB / 0.545 GB Notification: Performance of SimCode: time 8.72e-07/0.7295, allocations: 0 / 0.723 GB, free: 15.06 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2143/0.9437, allocations: 22.13 MB / 0.7446 GB, free: 9.355 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002823/0.9441, allocations: 281.9 kB / 0.7449 GB, free: 9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.422/3.366, allocations: 4 kB / 0.7449 GB, free: 8.996 MB / 0.5606 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) Environment - environmentSimulation: