Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.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.Examples.IncidenceAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_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.001198/0.001198, allocations: 104.5 kB / 16.4 MB, free: 6.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.222/1.222, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6839/0.6839, allocations: 115.3 MB / 406.5 MB, free: 6.223 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 68.33 kB / 0.5572 GB, free: 32.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1192, allocations: 76.17 MB / 0.6315 GB, free: 4.922 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.007222/0.1265, allocations: 6.908 MB / 0.6383 GB, free: 13.98 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4606/0.5871, allocations: 151.3 MB / 0.786 GB, free: 14 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001019/0.5881, allocations: 18.69 kB / 0.786 GB, free: 14 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006608/0.5889, allocations: 271.4 kB / 0.7863 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001918/0.5908, allocations: 0.7915 MB / 0.7871 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001821/0.5926, allocations: 0.9932 MB / 0.788 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00207/0.5947, allocations: 2.144 MB / 0.7901 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001395/0.5961, allocations: 1.02 MB / 0.7911 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001298/0.5974, allocations: 0.8487 MB / 0.792 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009061/0.5983, allocations: 0.9062 MB / 0.7928 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002141/0.5986, allocations: 207.2 kB / 0.793 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008869/0.5995, allocations: 0.5608 MB / 0.7936 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003131/0.5998, allocations: 492.6 kB / 0.7941 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007187/0.6005, allocations: 0.9574 MB / 0.795 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002295/0.6028, allocations: 2.569 MB / 0.7975 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.6028, allocations: 2.25 kB / 0.7975 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.243e-06/0.6028, allocations: 0 / 0.7975 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.602e-05/0.6029, allocations: 0 / 0.7975 GB, free: 11.89 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.003618/0.6065, allocations: 2.069 MB / 0.7995 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.6065, allocations: 12.34 kB / 0.7995 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002185/0.6068, allocations: 226.9 kB / 0.7998 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009533/0.6077, allocations: 259.7 kB / 0.8 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001286/0.609, allocations: 0.9882 MB / 0.801 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.343e-05/0.6091, allocations: 119.1 kB / 0.8011 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001554/0.6093, allocations: 150.1 kB / 0.8012 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002192/0.6115, allocations: 1.58 MB / 0.8028 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.46e-05/0.6115, allocations: 0 / 0.8028 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001214/0.6116, allocations: 65.3 kB / 0.8028 GB, free: 9.773 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.149e-05/0.6117, allocations: 37.31 kB / 0.8029 GB, free: 9.773 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002183/0.6138, allocations: 1.64 MB / 0.8045 GB, free: 9.402 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005912/0.6198, allocations: 4.524 MB / 0.8089 GB, free: 6.754 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001844/0.6216, allocations: 1.195 MB / 0.81 GB, free: 6.148 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006965/0.6223, allocations: 475.6 kB / 0.8105 GB, free: 5.91 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.585e-05/0.6224, allocations: 53.23 kB / 0.8106 GB, free: 5.895 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001144/0.6236, allocations: 0.784 MB / 0.8113 GB, free: 5.398 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=128): time 2.554e-06/0.6236, allocations: 0 / 0.8113 GB, free: 5.398 MB / 0.5919 GB Notification: Performance of matching and sorting (n=128): time 0.003938/0.6275, allocations: 1.835 MB / 0.8131 GB, free: 4.438 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/0.6277, allocations: 201.9 kB / 0.8133 GB, free: 4.211 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001023/0.6287, allocations: 0.868 MB / 0.8142 GB, free: 3.707 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001154/0.6288, allocations: 53.95 kB / 0.8142 GB, free: 3.656 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004267/0.6293, allocations: 0.612 MB / 0.8148 GB, free: 3.113 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002927/0.6296, allocations: 405 kB / 0.8152 GB, free: 2.773 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003276/0.6299, allocations: 244.3 kB / 0.8154 GB, free: 2.621 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.63, allocations: 351.8 kB / 0.8158 GB, free: 2.281 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007151/0.6307, allocations: 430 kB / 0.8162 GB, free: 2.07 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008302/0.6316, allocations: 0.561 MB / 0.8167 GB, free: 1.727 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001543/0.6331, allocations: 0.9642 MB / 0.8177 GB, free: 1.211 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.6331, allocations: 0 / 0.8177 GB, free: 1.211 MB / 0.5919 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002545/0.6357, allocations: 1.295 MB / 0.8189 GB, free: 0.5508 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.6357, allocations: 5.125 kB / 0.8189 GB, free: 0.5508 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.6357, allocations: 0 / 0.8189 GB, free: 0.5508 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006029/0.6363, allocations: 92.89 kB / 0.819 GB, free: 0.5039 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/0.6374, allocations: 249.6 kB / 0.8193 GB, free: 452 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002041/0.6394, allocations: 1.66 MB / 0.8209 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001055/0.6405, allocations: 142.7 kB / 0.821 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.579e-05/0.6406, allocations: 53.17 kB / 0.8211 GB, free: 14.7 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 30 (incAngEas.decAng.tNext,$PRE.incAngEas.decAng.tNext,incAngSou.decAng.tNext,$PRE.incAngSou.decAng.tNext,incAngWes.decAng.tNext,$PRE.incAngWes.decAng.tNext,incAngNor.decAng.tNext,$PRE.incAngNor.decAng.tNext,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,incAngHor.decAng.tNext,$PRE.incAngHor.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (149): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005755/0.6412, allocations: 340.2 kB / 0.8214 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002189/0.6414, allocations: 120.2 kB / 0.8215 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003273/0.6447, allocations: 1.703 MB / 0.8232 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/0.6447, allocations: 14.66 kB / 0.8232 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.6447, allocations: 4 kB / 0.8232 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.368e-05/0.6448, allocations: 7.969 kB / 0.8232 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001496/0.6463, allocations: 1.422 MB / 0.8246 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.251e-06/0.6463, allocations: 3.984 kB / 0.8246 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008445/0.6471, allocations: 218.2 kB / 0.8248 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000435/0.6476, allocations: 74.88 kB / 0.8249 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-05/0.6477, allocations: 40.75 kB / 0.8249 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001752/0.6494, allocations: 1.673 MB / 0.8265 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.6494, allocations: 7.25 kB / 0.8265 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002514/0.652, allocations: 1.4 MB / 0.8279 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004969/0.6525, allocations: 379.1 kB / 0.8283 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000191/0.6527, allocations: 38.22 kB / 0.8283 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000872/0.6536, allocations: 87.69 kB / 0.8284 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001879/0.6537, allocations: 111.4 kB / 0.8285 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.994e-05/0.6538, allocations: 59.19 kB / 0.8285 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007622/0.6546, allocations: 0.6458 MB / 0.8292 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6546, allocations: 0 / 0.8292 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001051/0.6557, allocations: 484.4 kB / 0.8296 GB, free: 8.961 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of discrete states: 10 (incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003967/0.6597, allocations: 2.49 MB / 0.8321 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002196/0.6619, allocations: 1.24 MB / 0.8333 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.6619, allocations: 4 kB / 0.8333 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001192/0.6631, allocations: 0.7382 MB / 0.834 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001241/0.6643, allocations: 352.9 kB / 0.8343 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0136/0.6779, allocations: 9.278 MB / 0.8434 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007465/0.6787, allocations: 1.233 MB / 0.8446 GB, free: 9.691 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.00102/0.6797, allocations: 334.2 kB / 0.8449 GB, free: 9.363 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008289/0.6806, allocations: 0.6358 MB / 0.8455 GB, free: 8.727 MB / 0.6231 GB Notification: Performance of SimCode: time 6.71e-07/0.6806, allocations: 0 / 0.8455 GB, free: 8.727 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06021/0.7408, allocations: 31.81 MB / 0.8766 GB, free: 9.246 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.73, allocations: 2.578 kB / 0.8766 GB, free: 9.246 MB / 0.6544 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)