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.001054/0.001054, allocations: 98.47 kB / 15.98 MB, free: 6.348 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.0009739/0.0009739, allocations: 195.4 kB / 16.91 MB, free: 6.191 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.285/1.285, allocations: 222.9 MB / 240.6 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6733/0.6733, allocations: 115.3 MB / 406.1 MB, free: 2.734 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 59.91 kB / 493.2 MB, free: 6.648 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1525, allocations: 76.19 MB / 0.556 GB, free: 10.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.006215/0.1588, allocations: 4.956 MB / 0.5609 GB, free: 5.68 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.4039/0.5627, allocations: 148.6 MB / 0.706 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009453/0.5637, allocations: 15.94 kB / 0.706 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0006934/0.5644, allocations: 149.3 kB / 0.7061 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001799/0.5663, allocations: 0.5101 MB / 0.7066 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001891/0.5682, allocations: 0.7486 MB / 0.7074 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001678/0.5698, allocations: 1.448 MB / 0.7088 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008933/0.5707, allocations: 0.5871 MB / 0.7094 GB, free: 9.742 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007184/0.5715, allocations: 0.5099 MB / 0.7099 GB, free: 9.23 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006653/0.5721, allocations: 0.5498 MB / 0.7104 GB, free: 8.68 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002114/0.5724, allocations: 120 kB / 0.7105 GB, free: 8.562 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000921/0.5733, allocations: 463.6 kB / 0.711 GB, free: 8.109 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002834/0.5736, allocations: 315 kB / 0.7113 GB, free: 7.801 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0005884/0.5742, allocations: 0.583 MB / 0.7118 GB, free: 7.215 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001787/0.576, allocations: 1.646 MB / 0.7134 GB, free: 5.566 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.576, allocations: 0 / 0.7134 GB, free: 5.566 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.623e-06/0.576, allocations: 0 / 0.7134 GB, free: 5.566 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.852e-05/0.5761, allocations: 0 / 0.7134 GB, free: 5.566 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.002944/0.579, allocations: 1.478 MB / 0.7149 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/0.5791, allocations: 12.03 kB / 0.7149 GB, free: 4.027 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002171/0.5793, allocations: 145.5 kB / 0.715 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009078/0.5802, allocations: 187.4 kB / 0.7152 GB, free: 3.695 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001009/0.5812, allocations: 0.7742 MB / 0.716 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.983e-05/0.5813, allocations: 66 kB / 0.716 GB, free: 2.816 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/0.5814, allocations: 84 kB / 0.7161 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001623/0.5831, allocations: 0.9645 MB / 0.717 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.5831, allocations: 0 / 0.717 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.006e-05/0.5832, allocations: 43.98 kB / 0.7171 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.722e-05/0.5832, allocations: 20 kB / 0.7171 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00175/0.585, allocations: 1.155 MB / 0.7182 GB, free: 0.5117 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.004169/0.5891, allocations: 2.884 MB / 0.7211 GB, free: 13.51 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00148/0.5906, allocations: 0.8578 MB / 0.7219 GB, free: 12.66 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005458/0.5912, allocations: 326.7 kB / 0.7222 GB, free: 12.34 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.671e-05/0.5913, allocations: 28.69 kB / 0.7222 GB, free: 12.31 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009645/0.5923, allocations: 0.5313 MB / 0.7227 GB, free: 11.76 MB / 0.545 GB Notification: Performance of pre-optimization done (n=88): time 2.034e-06/0.5923, allocations: 0 / 0.7227 GB, free: 11.76 MB / 0.545 GB Notification: Performance of matching and sorting (n=88): time 0.003216/0.5955, allocations: 1.294 MB / 0.724 GB, free: 10.44 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.5956, allocations: 196.9 kB / 0.7242 GB, free: 10.21 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007601/0.5964, allocations: 0.6605 MB / 0.7248 GB, free: 9.539 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.876e-05/0.5964, allocations: 41.7 kB / 0.7249 GB, free: 9.492 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002808/0.5967, allocations: 408.4 kB / 0.7253 GB, free: 9.086 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002083/0.5969, allocations: 283.8 kB / 0.7255 GB, free: 8.805 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002402/0.5972, allocations: 162.5 kB / 0.7257 GB, free: 8.637 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.5974, allocations: 390.7 kB / 0.7261 GB, free: 8.246 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005187/0.5979, allocations: 269.9 kB / 0.7263 GB, free: 7.984 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006466/0.5985, allocations: 394.5 kB / 0.7267 GB, free: 7.574 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.5997, allocations: 0.6359 MB / 0.7273 GB, free: 6.926 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.5997, allocations: 0 / 0.7273 GB, free: 6.926 MB / 0.545 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001931/0.6016, allocations: 0.8606 MB / 0.7282 GB, free: 6.055 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.6016, allocations: 11.94 kB / 0.7282 GB, free: 6.043 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.6016, allocations: 0 / 0.7282 GB, free: 6.043 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000608/0.6023, allocations: 84.83 kB / 0.7283 GB, free: 5.957 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006564/0.6029, allocations: 167.7 kB / 0.7284 GB, free: 5.793 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008139/0.6111, allocations: 1.629 MB / 0.73 GB, free: 4.016 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009155/0.612, allocations: 108.1 kB / 0.7301 GB, free: 3.91 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-05/0.6121, allocations: 35.97 kB / 0.7301 GB, free: 3.875 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.0004052/0.6125, allocations: 273.5 kB / 0.7304 GB, free: 3.598 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001713/0.6127, allocations: 82.97 kB / 0.7305 GB, free: 3.516 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00252/0.6152, allocations: 1.174 MB / 0.7316 GB, free: 2.332 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.6152, allocations: 12 kB / 0.7316 GB, free: 2.32 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.6152, allocations: 0 / 0.7316 GB, free: 2.32 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.6153, allocations: 3.984 kB / 0.7316 GB, free: 2.316 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/0.6163, allocations: 0.9433 MB / 0.7326 GB, free: 1.32 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.6163, allocations: 4 kB / 0.7326 GB, free: 1.316 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006002/0.6169, allocations: 151.8 kB / 0.7327 GB, free: 1.168 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004523/0.6174, allocations: 80.44 kB / 0.7328 GB, free: 1.09 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.07e-05/0.6175, allocations: 31.91 kB / 0.7328 GB, free: 1.059 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001887/0.6194, allocations: 1.658 MB / 0.7344 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.6194, allocations: 0 / 0.7344 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002187/0.6216, allocations: 0.9903 MB / 0.7354 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004013/0.622, allocations: 295.5 kB / 0.7357 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001635/0.6222, allocations: 24 kB / 0.7357 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007172/0.6229, allocations: 75.8 kB / 0.7358 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001634/0.6231, allocations: 76.89 kB / 0.7359 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.438e-05/0.6232, allocations: 35.97 kB / 0.7359 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006441/0.6238, allocations: 487 kB / 0.7364 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6238, allocations: 4 kB / 0.7364 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001072/0.6249, allocations: 327.2 kB / 0.7367 GB, free: 12.93 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.003643/0.6286, allocations: 2.039 MB / 0.7387 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002475/0.6311, allocations: 1.077 MB / 0.7397 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.6311, allocations: 0 / 0.7397 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000963/0.632, allocations: 0.5511 MB / 0.7403 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001199/0.6332, allocations: 312.7 kB / 0.7406 GB, free: 9.121 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01227/0.6455, allocations: 7.163 MB / 0.7475 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006882/0.6462, allocations: 1.04 MB / 0.7486 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009003/0.6472, allocations: 267.2 kB / 0.7488 GB, free: 456 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005748/0.6477, allocations: 407.3 kB / 0.7492 GB, free: 48 kB / 0.5606 GB Notification: Performance of SimCode: time 2.124e-06/0.6478, allocations: 7.938 kB / 0.7492 GB, free: 40 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6748/1.323, allocations: 22.27 MB / 0.771 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003439/1.323, allocations: 312.2 kB / 0.7713 GB, free: 9.797 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.736/4.059, allocations: 0 / 0.7713 GB, free: 9.797 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)