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.001495/0.001495, allocations: 111.3 kB / 16.41 MB, free: 6.496 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.001453/0.001453, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.314/1.314, 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.7735/0.7735, allocations: 126.7 MB / 417.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001791/0.001791, allocations: 73.88 kB / 0.5735 GB, free: 27.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1291, allocations: 78.86 MB / 0.6505 GB, free: 3.633 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.00833/0.1375, allocations: 6.927 MB / 0.6573 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4391/0.5767, allocations: 151.3 MB / 0.805 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008332/0.5775, allocations: 18 kB / 0.805 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006276/0.5782, allocations: 265.2 kB / 0.8053 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001806/0.58, allocations: 0.7918 MB / 0.8061 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001739/0.5818, allocations: 0.9937 MB / 0.807 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001576/0.5834, allocations: 2.144 MB / 0.8091 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001069/0.5844, allocations: 1.028 MB / 0.8101 GB, free: 11 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007965/0.5852, allocations: 0.8265 MB / 0.8109 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007791/0.586, allocations: 0.9094 MB / 0.8118 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002028/0.5862, allocations: 209 kB / 0.812 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008116/0.5871, allocations: 0.562 MB / 0.8126 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003213/0.5874, allocations: 491.2 kB / 0.813 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006618/0.5881, allocations: 0.9509 MB / 0.814 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002242/0.5903, allocations: 2.578 MB / 0.8165 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.5903, allocations: 2.062 kB / 0.8165 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.292e-06/0.5903, allocations: 0 / 0.8165 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.82e-05/0.5904, allocations: 0 / 0.8165 GB, free: 8.844 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.003564/0.5939, allocations: 2.124 MB / 0.8186 GB, free: 7.215 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.594, allocations: 10.06 kB / 0.8186 GB, free: 7.215 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002432/0.5942, allocations: 226.1 kB / 0.8188 GB, free: 7.031 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009436/0.5952, allocations: 264.6 kB / 0.819 GB, free: 6.902 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001347/0.5965, allocations: 1 MB / 0.82 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.531e-05/0.5966, allocations: 118.3 kB / 0.8201 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000156/0.5968, allocations: 146.2 kB / 0.8203 GB, free: 6.008 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002345/0.5991, allocations: 1.581 MB / 0.8218 GB, free: 5.023 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.854e-05/0.5992, allocations: 0 / 0.8218 GB, free: 5.023 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001288/0.5993, allocations: 71.34 kB / 0.8219 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.142e-05/0.5994, allocations: 38.38 kB / 0.8219 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002446/0.6018, allocations: 1.635 MB / 0.8235 GB, free: 4.176 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00629/0.6081, allocations: 4.804 MB / 0.8282 GB, free: 296 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001992/0.6101, allocations: 1.195 MB / 0.8294 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007549/0.6109, allocations: 485.5 kB / 0.8298 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.451e-05/0.611, allocations: 46.95 kB / 0.8299 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001221/0.6122, allocations: 0.7797 MB / 0.8306 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=128): time 2.535e-06/0.6122, allocations: 0 / 0.8306 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of matching and sorting (n=128): time 0.004168/0.6164, allocations: 1.847 MB / 0.8324 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001187/0.6165, allocations: 197.9 kB / 0.8326 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/0.6176, allocations: 0.8692 MB / 0.8335 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.721e-05/0.6177, allocations: 49.05 kB / 0.8335 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005123/0.6183, allocations: 0.6191 MB / 0.8341 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003372/0.6186, allocations: 431.2 kB / 0.8345 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003441/0.6189, allocations: 236.8 kB / 0.8348 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.6191, allocations: 355.9 kB / 0.8351 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000758/0.6199, allocations: 433.6 kB / 0.8355 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000914/0.6208, allocations: 0.5596 MB / 0.8361 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001661/0.6225, allocations: 0.9643 MB / 0.837 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.6225, allocations: 0 / 0.837 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002591/0.6251, allocations: 1.297 MB / 0.8383 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.6251, allocations: 5.344 kB / 0.8383 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.6251, allocations: 4.094 kB / 0.8383 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005652/0.6257, allocations: 78.27 kB / 0.8384 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001/0.6267, allocations: 271.9 kB / 0.8386 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002069/0.6288, allocations: 1.649 MB / 0.8402 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/0.6298, allocations: 152.9 kB / 0.8404 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.975e-05/0.6299, allocations: 53.08 kB / 0.8404 GB, free: 8.207 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.0005716/0.6305, allocations: 342.4 kB / 0.8407 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000226/0.6307, allocations: 135.5 kB / 0.8409 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003609/0.6343, allocations: 1.71 MB / 0.8425 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/0.6344, allocations: 12 kB / 0.8426 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.6344, allocations: 0 / 0.8426 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.285e-05/0.6344, allocations: 3.984 kB / 0.8426 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001601/0.636, allocations: 1.421 MB / 0.844 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.636, allocations: 0 / 0.844 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008906/0.6369, allocations: 211.7 kB / 0.8442 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004426/0.6373, allocations: 80.72 kB / 0.8442 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-05/0.6374, allocations: 43.95 kB / 0.8443 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001902/0.6394, allocations: 1.668 MB / 0.8459 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.6394, allocations: 3.938 kB / 0.8459 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002747/0.6421, allocations: 1.415 MB / 0.8473 GB, free: 1.062 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005097/0.6426, allocations: 383.7 kB / 0.8477 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001777/0.6428, allocations: 39.89 kB / 0.8477 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008863/0.6437, allocations: 91.97 kB / 0.8478 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002103/0.6439, allocations: 105.2 kB / 0.8479 GB, free: 444 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001066/0.6441, allocations: 59.95 kB / 0.8479 GB, free: 384 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0008733/0.6449, allocations: 0.6475 MB / 0.8486 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6449, allocations: 0 / 0.8486 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001069/0.646, allocations: 498.7 kB / 0.849 GB, free: 15.23 MB / 0.6231 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.00477/0.6508, allocations: 2.488 MB / 0.8515 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002394/0.6532, allocations: 1.244 MB / 0.8527 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.6532, allocations: 0 / 0.8527 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001278/0.6545, allocations: 0.7363 MB / 0.8534 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001394/0.6559, allocations: 356.9 kB / 0.8537 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01491/0.6708, allocations: 9.325 MB / 0.8629 GB, free: 1.102 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009394/0.6718, allocations: 1.236 MB / 0.8641 GB, free: 15.83 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001082/0.6729, allocations: 322.2 kB / 0.8644 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009406/0.6739, allocations: 0.632 MB / 0.865 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of SimCode: time 6.52e-07/0.6739, allocations: 3.938 kB / 0.865 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06619/0.7401, allocations: 31.14 MB / 0.8954 GB, free: 68 kB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.11/13.85, allocations: 8.188 kB / 0.8954 GB, free: 64 kB / 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)