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.006706/0.006706, allocations: 101.7 kB / 15.88 MB, free: 6.312 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.001767/0.001767, allocations: 198.3 kB / 16.79 MB, free: 6.242 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.135/1.135, allocations: 222.9 MB / 240.5 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5883/0.5883, allocations: 115.3 MB / 406 MB, free: 2.781 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 72.95 kB / 493 MB, free: 6.656 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1087, allocations: 76.18 MB / 0.5558 GB, free: 10.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.00508/0.1138, allocations: 4.956 MB / 0.5607 GB, free: 5.699 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.3089/0.4227, allocations: 148.5 MB / 0.7057 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006791/0.4234, allocations: 15.94 kB / 0.7057 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0005512/0.424, allocations: 146.8 kB / 0.7059 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001427/0.4255, allocations: 0.4885 MB / 0.7063 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001486/0.427, allocations: 0.7364 MB / 0.7071 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001148/0.4281, allocations: 1.347 MB / 0.7084 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006941/0.4288, allocations: 0.575 MB / 0.7089 GB, free: 9.961 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005185/0.4294, allocations: 452.6 kB / 0.7094 GB, free: 9.52 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004833/0.4298, allocations: 0.5015 MB / 0.7099 GB, free: 9.016 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001263/0.43, allocations: 60 kB / 0.7099 GB, free: 8.957 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006336/0.4306, allocations: 402 kB / 0.7103 GB, free: 8.57 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002029/0.4308, allocations: 251 kB / 0.7105 GB, free: 8.324 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004182/0.4313, allocations: 0.5205 MB / 0.711 GB, free: 7.801 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001228/0.4325, allocations: 1.59 MB / 0.7126 GB, free: 6.211 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.4325, allocations: 0 / 0.7126 GB, free: 6.211 MB / 0.5294 GB Notification: Performance of FrontEnd: time 8.32e-07/0.4325, allocations: 3.938 kB / 0.7126 GB, free: 6.207 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.846e-06/0.4325, allocations: 4 kB / 0.7126 GB, free: 6.203 MB / 0.5294 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.002221/0.4348, allocations: 1.488 MB / 0.7141 GB, free: 4.668 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.4348, allocations: 8.031 kB / 0.7141 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001349/0.4349, allocations: 144.4 kB / 0.7142 GB, free: 4.512 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000812/0.4358, allocations: 187.4 kB / 0.7144 GB, free: 4.328 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008446/0.4366, allocations: 0.7664 MB / 0.7151 GB, free: 3.52 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.96e-05/0.4367, allocations: 65.98 kB / 0.7152 GB, free: 3.453 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.646e-05/0.4368, allocations: 84 kB / 0.7153 GB, free: 3.371 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001356/0.4381, allocations: 0.9691 MB / 0.7162 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.4382, allocations: 0 / 0.7162 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.886e-05/0.4382, allocations: 36 kB / 0.7162 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.671e-05/0.4383, allocations: 24 kB / 0.7163 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001558/0.4398, allocations: 1.164 MB / 0.7174 GB, free: 1.137 MB / 0.5294 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.00343/0.4433, allocations: 2.879 MB / 0.7202 GB, free: 14.14 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001339/0.4446, allocations: 0.8454 MB / 0.721 GB, free: 13.29 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004942/0.4451, allocations: 322.7 kB / 0.7214 GB, free: 12.98 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.479e-05/0.4452, allocations: 36.61 kB / 0.7214 GB, free: 12.94 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008185/0.446, allocations: 0.5423 MB / 0.7219 GB, free: 12.38 MB / 0.545 GB Notification: Performance of pre-optimization done (n=88): time 1.913e-06/0.446, allocations: 0 / 0.7219 GB, free: 12.38 MB / 0.545 GB Notification: Performance of matching and sorting (n=88): time 0.002891/0.4489, allocations: 1.29 MB / 0.7232 GB, free: 11.07 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.526e-05/0.449, allocations: 196.9 kB / 0.7234 GB, free: 10.84 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006369/0.4496, allocations: 0.6488 MB / 0.724 GB, free: 10.18 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.736e-05/0.4497, allocations: 45.7 kB / 0.724 GB, free: 10.12 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002329/0.45, allocations: 404.4 kB / 0.7244 GB, free: 9.723 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001729/0.4501, allocations: 287.8 kB / 0.7247 GB, free: 9.438 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002093/0.4503, allocations: 166.5 kB / 0.7249 GB, free: 9.266 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.4505, allocations: 386.8 kB / 0.7252 GB, free: 8.879 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004664/0.4509, allocations: 273.8 kB / 0.7255 GB, free: 8.613 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000557/0.4515, allocations: 390.4 kB / 0.7259 GB, free: 8.211 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/0.4525, allocations: 0.6359 MB / 0.7265 GB, free: 7.562 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.4525, allocations: 0 / 0.7265 GB, free: 7.562 MB / 0.545 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001727/0.4543, allocations: 0.8683 MB / 0.7273 GB, free: 6.684 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.4543, allocations: 7.938 kB / 0.7273 GB, free: 6.676 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.4543, allocations: 4.094 kB / 0.7273 GB, free: 6.672 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005438/0.4549, allocations: 80.7 kB / 0.7274 GB, free: 6.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006295/0.4555, allocations: 171.8 kB / 0.7276 GB, free: 6.422 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4118/0.8673, allocations: 1.519 MB / 0.7291 GB, free: 4.762 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000971/0.8683, allocations: 103.2 kB / 0.7292 GB, free: 4.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.659e-05/0.8684, allocations: 31.98 kB / 0.7292 GB, free: 4.629 MB / 0.545 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.0004875/0.8689, allocations: 273.5 kB / 0.7295 GB, free: 4.352 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001936/0.8691, allocations: 86.97 kB / 0.7295 GB, free: 4.266 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002834/0.8719, allocations: 1.169 MB / 0.7307 GB, free: 3.09 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.8719, allocations: 12 kB / 0.7307 GB, free: 3.078 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.8719, allocations: 0 / 0.7307 GB, free: 3.078 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.203e-05/0.8719, allocations: 7.922 kB / 0.7307 GB, free: 3.07 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001087/0.873, allocations: 0.9433 MB / 0.7316 GB, free: 2.074 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-06/0.8731, allocations: 0 / 0.7316 GB, free: 2.074 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006953/0.8738, allocations: 155.8 kB / 0.7318 GB, free: 1.922 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005615/0.8743, allocations: 88.72 kB / 0.7319 GB, free: 1.832 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-05/0.8744, allocations: 31.62 kB / 0.7319 GB, free: 1.805 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001883/0.8763, allocations: 1.553 MB / 0.7334 GB, free: 120 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.8763, allocations: 0 / 0.7334 GB, free: 120 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002243/0.8786, allocations: 0.9942 MB / 0.7344 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003686/0.8789, allocations: 283.7 kB / 0.7346 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001446/0.8791, allocations: 27.89 kB / 0.7347 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007441/0.8798, allocations: 71.88 kB / 0.7347 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001669/0.88, allocations: 76.88 kB / 0.7348 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.859e-05/0.8801, allocations: 35.98 kB / 0.7348 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006363/0.8807, allocations: 483 kB / 0.7353 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8808, allocations: 0 / 0.7353 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008237/0.8816, allocations: 335.2 kB / 0.7356 GB, free: 13.8 MB / 0.5606 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.003751/0.8853, allocations: 2.046 MB / 0.7376 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001779/0.8871, allocations: 0.8587 MB / 0.7385 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.8872, allocations: 0 / 0.7385 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001033/0.8882, allocations: 0.5432 MB / 0.739 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001185/0.8894, allocations: 279.8 kB / 0.7393 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0124/0.9018, allocations: 7.165 MB / 0.7463 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005998/0.9024, allocations: 1.055 MB / 0.7473 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000893/0.9033, allocations: 267.2 kB / 0.7475 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006397/0.904, allocations: 407.2 kB / 0.7479 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of SimCode: time 2.5e-07/0.904, allocations: 0 / 0.7479 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06552/0.9695, allocations: 21.63 MB / 0.7691 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002623/0.9698, allocations: 308.6 kB / 0.7694 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.165/3.135, allocations: 4 kB / 0.7694 GB, free: 11.54 MB / 0.5919 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/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)