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.001177/0.001177, allocations: 100.1 kB / 15.88 MB, free: 8 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 203 kB / 16.79 MB, free: 6.809 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.177/1.177, allocations: 222.9 MB / 240.5 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6103/0.6103, allocations: 115.3 MB / 406 MB, free: 2.777 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 66.27 kB / 493 MB, free: 6.75 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1119, allocations: 76.19 MB / 0.5558 GB, free: 10.77 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.007171/0.119, allocations: 6.981 MB / 0.5627 GB, free: 3.754 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.3327/0.4518, allocations: 148.8 MB / 0.708 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007794/0.4527, allocations: 19.88 kB / 0.708 GB, free: 11 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0005679/0.4532, allocations: 201.4 kB / 0.7082 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001544/0.4548, allocations: 0.6584 MB / 0.7089 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001658/0.4565, allocations: 0.9005 MB / 0.7097 GB, free: 9.301 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001503/0.458, allocations: 1.941 MB / 0.7116 GB, free: 7.352 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001137/0.4591, allocations: 1.081 MB / 0.7127 GB, free: 6.219 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006963/0.4598, allocations: 0.7043 MB / 0.7134 GB, free: 5.512 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006865/0.4605, allocations: 0.8259 MB / 0.7142 GB, free: 4.684 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001735/0.4607, allocations: 116 kB / 0.7143 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007432/0.4614, allocations: 459.6 kB / 0.7147 GB, free: 4.121 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002861/0.4617, allocations: 394.5 kB / 0.7151 GB, free: 3.734 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0006293/0.4624, allocations: 0.8705 MB / 0.716 GB, free: 2.859 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001784/0.4642, allocations: 2.522 MB / 0.7184 GB, free: 336 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.4642, allocations: 0.8438 kB / 0.7184 GB, free: 336 kB / 0.5294 GB Notification: Performance of FrontEnd: time 6.41e-07/0.4642, allocations: 0 / 0.7184 GB, free: 336 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.489e-05/0.4642, allocations: 4 kB / 0.7184 GB, free: 332 kB / 0.5294 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.003239/0.4674, allocations: 2.053 MB / 0.7204 GB, free: 14.21 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.4675, allocations: 8.031 kB / 0.7204 GB, free: 14.2 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002236/0.4677, allocations: 228.2 kB / 0.7207 GB, free: 13.97 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009152/0.4686, allocations: 255.5 kB / 0.7209 GB, free: 13.72 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001132/0.4698, allocations: 0.9774 MB / 0.7219 GB, free: 12.7 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001183/0.4699, allocations: 144.8 kB / 0.722 GB, free: 12.55 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001631/0.4701, allocations: 155.8 kB / 0.7221 GB, free: 12.4 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002331/0.4724, allocations: 1.593 MB / 0.7237 GB, free: 10.75 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.356e-05/0.4725, allocations: 0 / 0.7237 GB, free: 10.75 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000124/0.4726, allocations: 67.98 kB / 0.7238 GB, free: 10.69 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.604e-05/0.4726, allocations: 36 kB / 0.7238 GB, free: 10.65 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002309/0.4749, allocations: 1.6 MB / 0.7254 GB, free: 9.047 MB / 0.545 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.005805/0.4807, allocations: 4.731 MB / 0.73 GB, free: 4.133 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001715/0.4825, allocations: 1.092 MB / 0.7311 GB, free: 3.035 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006529/0.4831, allocations: 438.6 kB / 0.7315 GB, free: 2.605 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.661e-05/0.4832, allocations: 41.08 kB / 0.7315 GB, free: 2.566 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001108/0.4843, allocations: 0.7036 MB / 0.7322 GB, free: 1.844 MB / 0.545 GB Notification: Performance of pre-optimization done (n=111): time 2.755e-06/0.4844, allocations: 0 / 0.7322 GB, free: 1.844 MB / 0.545 GB Notification: Performance of matching and sorting (n=111): time 0.003618/0.488, allocations: 1.661 MB / 0.7338 GB, free: 160 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.396e-05/0.4881, allocations: 192.9 kB / 0.734 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009548/0.4891, allocations: 0.834 MB / 0.7348 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.76e-05/0.4891, allocations: 49.7 kB / 0.7349 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000396/0.4895, allocations: 0.6245 MB / 0.7355 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002378/0.4898, allocations: 354.9 kB / 0.7358 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002924/0.4901, allocations: 210.7 kB / 0.736 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.4902, allocations: 345.9 kB / 0.7363 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006551/0.4909, allocations: 374.4 kB / 0.7367 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007654/0.4916, allocations: 0.5102 MB / 0.7372 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001396/0.493, allocations: 0.8633 MB / 0.738 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.4931, allocations: 0 / 0.738 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002282/0.4953, allocations: 1.149 MB / 0.7392 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.4954, allocations: 4 kB / 0.7392 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.4954, allocations: 4 kB / 0.7392 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005644/0.496, allocations: 88.77 kB / 0.7393 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008942/0.4969, allocations: 223.7 kB / 0.7395 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001799/0.4987, allocations: 1.547 MB / 0.741 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009105/0.4996, allocations: 139 kB / 0.7411 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.924e-05/0.4997, allocations: 43.97 kB / 0.7412 GB, free: 8.352 MB / 0.5606 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.0004939/0.5002, allocations: 347.9 kB / 0.7415 GB, free: 8.004 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002003/0.5004, allocations: 118.5 kB / 0.7416 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003027/0.5034, allocations: 1.537 MB / 0.7431 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.477e-06/0.5034, allocations: 12 kB / 0.7431 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.5034, allocations: 0 / 0.7431 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/0.5035, allocations: 7.969 kB / 0.7431 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001351/0.5048, allocations: 1.372 MB / 0.7445 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.5048, allocations: 3.938 kB / 0.7445 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000774/0.5056, allocations: 191.8 kB / 0.7446 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000494/0.5061, allocations: 92.66 kB / 0.7447 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.622e-05/0.5062, allocations: 31.97 kB / 0.7448 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00163/0.5078, allocations: 1.567 MB / 0.7463 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5079, allocations: 4.031 kB / 0.7463 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002334/0.5102, allocations: 1.277 MB / 0.7475 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000421/0.5106, allocations: 355.2 kB / 0.7479 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000164/0.5108, allocations: 39.92 kB / 0.7479 GB, free: 1.172 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008627/0.5117, allocations: 93.84 kB / 0.748 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001714/0.5118, allocations: 97.11 kB / 0.7481 GB, free: 0.9844 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.935e-05/0.5119, allocations: 55.61 kB / 0.7482 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007113/0.5127, allocations: 0.6176 MB / 0.7488 GB, free: 312 kB / 0.5606 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5127, allocations: 0 / 0.7488 GB, free: 312 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009418/0.5136, allocations: 482.5 kB / 0.7492 GB, free: 15.83 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.003651/0.5173, allocations: 2.356 MB / 0.7515 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00187/0.5192, allocations: 1.109 MB / 0.7526 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.5192, allocations: 4 kB / 0.7526 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001087/0.5203, allocations: 0.6778 MB / 0.7533 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001161/0.5214, allocations: 311 kB / 0.7536 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01385/0.5353, allocations: 9.818 MB / 0.7632 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006629/0.536, allocations: 1.225 MB / 0.7644 GB, free: 124 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001003/0.537, allocations: 325.2 kB / 0.7647 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000752/0.5378, allocations: 0.6125 MB / 0.7653 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of SimCode: time 4.51e-07/0.5378, allocations: 0 / 0.7653 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.314/3.852, allocations: 27.99 MB / 0.7926 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002788/3.853, allocations: 305.6 kB / 0.7929 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.215/6.068, allocations: 10.06 kB / 0.7929 GB, free: 3.266 MB / 0.6075 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)