Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",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.001044/0.001044, allocations: 101 kB / 16.27 MB, free: 5.93 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.001105/0.001105, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.239/1.239, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.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: 122.8 MB / 413.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001379, allocations: 67.89 kB / 0.4912 GB, free: 7.32 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.2759, allocations: 77.92 MB / 0.5673 GB, free: 32.83 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.006388/0.2823, allocations: 7.01 MB / 0.5741 GB, free: 27.79 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1362/0.4185, allocations: 151.2 MB / 0.7217 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000893/0.4194, allocations: 23.88 kB / 0.7218 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006113/0.4201, allocations: 261.4 kB / 0.722 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001815/0.4219, allocations: 0.7783 MB / 0.7228 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00194/0.4239, allocations: 1.009 MB / 0.7238 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001538/0.4254, allocations: 2.074 MB / 0.7258 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001206/0.4266, allocations: 1.114 MB / 0.7269 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006894/0.4273, allocations: 0.8098 MB / 0.7277 GB, free: 5.961 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007663/0.4281, allocations: 0.8909 MB / 0.7285 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000239/0.4283, allocations: 220 kB / 0.7288 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007695/0.4291, allocations: 0.5504 MB / 0.7293 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003518/0.4295, allocations: 498.5 kB / 0.7298 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007076/0.4302, allocations: 0.9681 MB / 0.7307 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001968/0.4322, allocations: 2.605 MB / 0.7333 GB, free: 232 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.4322, allocations: 4 kB / 0.7333 GB, free: 228 kB / 0.5606 GB Notification: Performance of FrontEnd: time 2.194e-06/0.4322, allocations: 3.984 kB / 0.7333 GB, free: 224 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.564e-05/0.4322, allocations: 0 / 0.7333 GB, free: 224 kB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.003147/0.4354, allocations: 2.049 MB / 0.7353 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.4354, allocations: 8.625 kB / 0.7353 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002248/0.4356, allocations: 228.2 kB / 0.7355 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009447/0.4366, allocations: 258.6 kB / 0.7357 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001169/0.4378, allocations: 0.977 MB / 0.7367 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001225/0.4379, allocations: 144.8 kB / 0.7368 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001687/0.4381, allocations: 152 kB / 0.737 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002267/0.4403, allocations: 1.593 MB / 0.7385 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.455e-05/0.4404, allocations: 0 / 0.7385 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001276/0.4405, allocations: 71.98 kB / 0.7386 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.656e-05/0.4405, allocations: 40 kB / 0.7386 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002361/0.4429, allocations: 1.596 MB / 0.7402 GB, free: 8.938 MB / 0.5762 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.005858/0.4488, allocations: 4.733 MB / 0.7448 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001767/0.4506, allocations: 1.098 MB / 0.7459 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006699/0.4512, allocations: 431.7 kB / 0.7463 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.525e-05/0.4513, allocations: 45.08 kB / 0.7463 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001115/0.4525, allocations: 0.6959 MB / 0.747 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=111): time 2.285e-06/0.4525, allocations: 4 kB / 0.747 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of matching and sorting (n=111): time 0.003747/0.4562, allocations: 1.653 MB / 0.7486 GB, free: 44 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1898/0.646, allocations: 195.5 kB / 0.7488 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001197/0.6473, allocations: 0.8385 MB / 0.7496 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.000193/0.6475, allocations: 49.45 kB / 0.7497 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003875/0.6479, allocations: 0.6252 MB / 0.7503 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002185/0.6481, allocations: 354.1 kB / 0.7506 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003022/0.6484, allocations: 211.6 kB / 0.7508 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.166e-05/0.6485, allocations: 344 kB / 0.7512 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007036/0.6492, allocations: 379.8 kB / 0.7515 GB, free: 169.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007956/0.65, allocations: 0.5087 MB / 0.752 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001442/0.6514, allocations: 0.8623 MB / 0.7529 GB, free: 169 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.6514, allocations: 1.562 kB / 0.7529 GB, free: 169 MB / 0.5762 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002381/0.6538, allocations: 1.151 MB / 0.754 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.6539, allocations: 6.172 kB / 0.754 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.6539, allocations: 1.5 kB / 0.754 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005698/0.6544, allocations: 84.58 kB / 0.7541 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000883/0.6553, allocations: 220.1 kB / 0.7543 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001688/0.657, allocations: 1.657 MB / 0.7559 GB, free: 167 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008516/0.6579, allocations: 130.5 kB / 0.756 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.589e-05/0.658, allocations: 44.88 kB / 0.7561 GB, free: 166.9 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 24 (HDirWal.incAng.decAng.tNext,$PRE.HDirWal.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,$PRE.HDirFlo.incAng.decAng.tNext,HDirRoo.incAng.decAng.tNext,$PRE.HDirRoo.incAng.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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (127): * Single equations (assignments): 126 * 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.0004909/0.6585, allocations: 344.3 kB / 0.7564 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002123/0.6587, allocations: 109.1 kB / 0.7565 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003097/0.6618, allocations: 1.543 MB / 0.758 GB, free: 166 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/0.6619, allocations: 12.31 kB / 0.758 GB, free: 166 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.6619, allocations: 0 / 0.758 GB, free: 166 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/0.6619, allocations: 7.344 kB / 0.758 GB, free: 166 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001326/0.6632, allocations: 1.377 MB / 0.7594 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.6632, allocations: 2.781 kB / 0.7594 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007629/0.664, allocations: 203.5 kB / 0.7596 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004177/0.6644, allocations: 74.88 kB / 0.7596 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.936e-05/0.6645, allocations: 34.67 kB / 0.7597 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001438/0.6659, allocations: 1.663 MB / 0.7613 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.624e-06/0.666, allocations: 1.406 kB / 0.7613 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002276/0.6682, allocations: 1.279 MB / 0.7626 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003922/0.6686, allocations: 362.3 kB / 0.7629 GB, free: 163 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001577/0.6688, allocations: 47.5 kB / 0.7629 GB, free: 163 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008415/0.6697, allocations: 82.75 kB / 0.763 GB, free: 163 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001856/0.6698, allocations: 99.02 kB / 0.7631 GB, free: 163 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.999e-05/0.6699, allocations: 51.06 kB / 0.7632 GB, free: 163 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007034/0.6707, allocations: 0.622 MB / 0.7638 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6707, allocations: 0 / 0.7638 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009301/0.6716, allocations: 470.9 kB / 0.7642 GB, free: 162.6 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.003525/0.6751, allocations: 2.353 MB / 0.7665 GB, free: 161.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003056/0.6782, allocations: 1.395 MB / 0.7679 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.6782, allocations: 3.188 kB / 0.7679 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001028/0.6792, allocations: 0.6805 MB / 0.7686 GB, free: 160.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001137/0.6804, allocations: 361.2 kB / 0.7689 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01126/0.6917, allocations: 9.16 MB / 0.7778 GB, free: 155.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004591/0.6921, allocations: 1.217 MB / 0.779 GB, free: 154.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008456/0.693, allocations: 315.9 kB / 0.7793 GB, free: 154.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006391/0.6936, allocations: 0.6118 MB / 0.7799 GB, free: 153.7 MB / 0.5762 GB Notification: Performance of SimCode: time 4.71e-07/0.6936, allocations: 0 / 0.7799 GB, free: 153.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.304/3.998, allocations: 29.04 MB / 0.8083 GB, free: 125.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.55/25.55, allocations: 8 kB / 0.8083 GB, free: 125.2 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)