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.001418/0.001418, allocations: 108 kB / 16.41 MB, free: 6.43 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.001454/0.001454, allocations: 189.2 kB / 17.34 MB, free: 5.727 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.259/1.259, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7111/0.7111, allocations: 122.9 MB / 414 MB, free: 15.79 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 68.28 kB / 0.5679 GB, free: 28.86 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1195, allocations: 77.94 MB / 0.6441 GB, free: 9.59 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.006358/0.1259, allocations: 4.958 MB / 0.6489 GB, free: 4.609 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4471/0.573, allocations: 150.8 MB / 0.7962 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008486/0.5739, allocations: 14.78 kB / 0.7962 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007263/0.5747, allocations: 202.1 kB / 0.7964 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00214/0.5769, allocations: 0.5777 MB / 0.7969 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002058/0.5789, allocations: 0.8438 MB / 0.7977 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001691/0.5806, allocations: 1.461 MB / 0.7992 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009883/0.5816, allocations: 0.593 MB / 0.7998 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007813/0.5824, allocations: 0.5086 MB / 0.8003 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007847/0.5832, allocations: 0.5362 MB / 0.8008 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002953/0.5835, allocations: 120.4 kB / 0.8009 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009982/0.5845, allocations: 492.5 kB / 0.8014 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003406/0.5849, allocations: 311.8 kB / 0.8017 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007493/0.5856, allocations: 0.5835 MB / 0.8022 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002173/0.5878, allocations: 1.693 MB / 0.8039 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.5878, allocations: 0 / 0.8039 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5879, allocations: 2.438 kB / 0.8039 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.18e-05/0.5879, allocations: 0 / 0.8039 GB, free: 11.54 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.003231/0.5911, allocations: 1.525 MB / 0.8054 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.5912, allocations: 11.19 kB / 0.8054 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000202/0.5914, allocations: 141.7 kB / 0.8055 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009643/0.5924, allocations: 190.6 kB / 0.8057 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001261/0.5936, allocations: 0.7964 MB / 0.8065 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.437e-05/0.5937, allocations: 66.06 kB / 0.8065 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.5938, allocations: 86.03 kB / 0.8066 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/0.5954, allocations: 0.9663 MB / 0.8076 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/0.5954, allocations: 0 / 0.8076 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.619e-05/0.5955, allocations: 38.56 kB / 0.8076 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.775e-05/0.5956, allocations: 23.12 kB / 0.8076 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001659/0.5972, allocations: 1.157 MB / 0.8088 GB, free: 9.664 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.004106/0.6013, allocations: 2.865 MB / 0.8116 GB, free: 8.02 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001419/0.6028, allocations: 0.8548 MB / 0.8124 GB, free: 7.867 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005064/0.6033, allocations: 332.8 kB / 0.8127 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.875e-05/0.6034, allocations: 32.11 kB / 0.8127 GB, free: 7.805 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008368/0.6042, allocations: 0.5295 MB / 0.8133 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=88): time 2.916e-06/0.6042, allocations: 3.938 kB / 0.8133 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of matching and sorting (n=88): time 0.003172/0.6074, allocations: 1.302 MB / 0.8145 GB, free: 7 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.209e-05/0.6075, allocations: 188.4 kB / 0.8147 GB, free: 6.781 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007827/0.6083, allocations: 0.6575 MB / 0.8153 GB, free: 6.402 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.023e-05/0.6084, allocations: 42.77 kB / 0.8154 GB, free: 6.359 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002928/0.6087, allocations: 414.8 kB / 0.8158 GB, free: 5.996 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002189/0.6089, allocations: 297.2 kB / 0.8161 GB, free: 5.746 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002365/0.6092, allocations: 162.3 kB / 0.8162 GB, free: 5.648 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.6093, allocations: 392.8 kB / 0.8166 GB, free: 5.273 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005317/0.6099, allocations: 267.6 kB / 0.8169 GB, free: 5.145 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006185/0.6105, allocations: 388.7 kB / 0.8172 GB, free: 4.902 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001089/0.6116, allocations: 0.6356 MB / 0.8178 GB, free: 4.562 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.6116, allocations: 0 / 0.8178 GB, free: 4.562 MB / 0.5919 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001922/0.6135, allocations: 0.8759 MB / 0.8187 GB, free: 4.113 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.6136, allocations: 9.219 kB / 0.8187 GB, free: 4.109 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.6136, allocations: 0 / 0.8187 GB, free: 4.109 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005739/0.6141, allocations: 85.52 kB / 0.8188 GB, free: 4.066 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006483/0.6148, allocations: 165 kB / 0.8189 GB, free: 4.027 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001956/0.6168, allocations: 1.637 MB / 0.8205 GB, free: 2.418 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000749/0.6175, allocations: 103.8 kB / 0.8206 GB, free: 2.348 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.219e-05/0.6176, allocations: 38.81 kB / 0.8207 GB, free: 2.332 MB / 0.5919 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 (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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * 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 (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.0004269/0.618, allocations: 267.4 kB / 0.8209 GB, free: 2.121 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001968/0.6182, allocations: 94.86 kB / 0.821 GB, free: 2.07 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002403/0.6207, allocations: 1.164 MB / 0.8222 GB, free: 1.41 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.6207, allocations: 14.2 kB / 0.8222 GB, free: 1.406 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.6207, allocations: 4 kB / 0.8222 GB, free: 1.402 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/0.6207, allocations: 7.922 kB / 0.8222 GB, free: 1.395 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001056/0.6218, allocations: 0.9422 MB / 0.8231 GB, free: 0.7031 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.6218, allocations: 1.906 kB / 0.8231 GB, free: 0.7031 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005845/0.6224, allocations: 152.5 kB / 0.8233 GB, free: 0.6719 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004195/0.6228, allocations: 74.5 kB / 0.8233 GB, free: 0.6328 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.628e-05/0.6229, allocations: 29.61 kB / 0.8234 GB, free: 0.6133 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001744/0.6246, allocations: 1.663 MB / 0.825 GB, free: 15 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.6246, allocations: 0 / 0.825 GB, free: 15 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002022/0.6267, allocations: 0.9971 MB / 0.826 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004439/0.6271, allocations: 292.2 kB / 0.8262 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001604/0.6273, allocations: 25.77 kB / 0.8263 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000684/0.628, allocations: 64.38 kB / 0.8263 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000142/0.6281, allocations: 86.81 kB / 0.8264 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.898e-05/0.6282, allocations: 36.92 kB / 0.8264 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005851/0.6288, allocations: 481.6 kB / 0.8269 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2e-07/0.6288, allocations: 0 / 0.8269 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008463/0.6297, allocations: 331.1 kB / 0.8272 GB, free: 13.74 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: 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 (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.003462/0.6331, allocations: 2.065 MB / 0.8292 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001681/0.6348, allocations: 0.8536 MB / 0.8301 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.6349, allocations: 4.125 kB / 0.8301 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009418/0.6358, allocations: 0.5534 MB / 0.8306 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001286/0.6371, allocations: 306.9 kB / 0.8309 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01032/0.6474, allocations: 6.545 MB / 0.8373 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005973/0.6481, allocations: 1.039 MB / 0.8383 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008252/0.6489, allocations: 279.1 kB / 0.8386 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005684/0.6495, allocations: 403.3 kB / 0.839 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of SimCode: time 8.62e-07/0.6495, allocations: 0 / 0.839 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07015/0.7196, allocations: 22.71 MB / 0.8611 GB, free: 14.69 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.92/12.64, allocations: 15.55 kB / 0.8612 GB, free: 14.67 MB / 0.6387 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.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_BaseClasses_Examples_IncidenceAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)