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.0007819/0.000782, allocations: 92.7 kB / 15.7 MB, free: 472 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.0009724/0.0009724, allocations: 175.2 kB / 16.58 MB, free: 6.066 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.303/1.303, allocations: 223.3 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6486/0.6486, allocations: 113.7 MB / 405.4 MB, free: 4.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003368/0.0003369, allocations: 8.5 kB / 493.1 MB, free: 8.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1479, allocations: 77.11 MB / 0.5569 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.005523/0.1534, allocations: 4.598 MB / 0.5614 GB, free: 7.051 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.4787/0.6321, allocations: 137.2 MB / 0.6953 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001064/0.6332, allocations: 19.94 kB / 0.6953 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0005472/0.6338, allocations: 146.7 kB / 0.6955 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001693/0.6355, allocations: 0.5184 MB / 0.696 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00206/0.6376, allocations: 0.7524 MB / 0.6967 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001676/0.6393, allocations: 1.549 MB / 0.6982 GB, free: 9.953 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001122/0.6404, allocations: 0.9257 MB / 0.6991 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007878/0.6412, allocations: 497.5 kB / 0.6996 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005992/0.6418, allocations: 0.5361 MB / 0.7001 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.828e-05/0.6419, allocations: 36 kB / 0.7002 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008367/0.6428, allocations: 355.6 kB / 0.7005 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002426/0.643, allocations: 258.7 kB / 0.7007 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000245/0.6433, allocations: 308.8 kB / 0.701 GB, free: 7.035 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001542/0.6448, allocations: 1.878 MB / 0.7029 GB, free: 5.152 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.6448, allocations: 0 / 0.7029 GB, free: 5.152 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.654e-06/0.6448, allocations: 4 kB / 0.7029 GB, free: 5.148 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.229e-05/0.6449, allocations: 0 / 0.7029 GB, free: 5.148 MB / 0.5137 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.002863/0.6477, allocations: 1.671 MB / 0.7045 GB, free: 3.422 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.6478, allocations: 8.031 kB / 0.7045 GB, free: 3.414 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002599/0.648, allocations: 228 kB / 0.7047 GB, free: 3.18 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00089/0.6489, allocations: 261.6 kB / 0.705 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001287/0.6502, allocations: 0.946 MB / 0.7059 GB, free: 1.93 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001366/0.6504, allocations: 156.8 kB / 0.7061 GB, free: 1.77 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001587/0.6506, allocations: 148 kB / 0.7062 GB, free: 1.625 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002429/0.653, allocations: 1.581 MB / 0.7077 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.958e-05/0.653, allocations: 4 kB / 0.7077 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001212/0.6532, allocations: 60 kB / 0.7078 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.109e-05/0.6532, allocations: 40 kB / 0.7078 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002328/0.6555, allocations: 1.592 MB / 0.7094 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005844/0.6614, allocations: 4.3 MB / 0.7136 GB, free: 9.918 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001703/0.6631, allocations: 1.095 MB / 0.7147 GB, free: 8.816 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006344/0.6638, allocations: 431.7 kB / 0.7151 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 8.762e-05/0.6639, allocations: 37.02 kB / 0.7151 GB, free: 8.355 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001098/0.665, allocations: 0.7075 MB / 0.7158 GB, free: 7.633 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=111): time 2.926e-06/0.665, allocations: 0 / 0.7158 GB, free: 7.633 MB / 0.5294 GB Notification: Performance of matching and sorting (n=111): time 0.003354/0.6683, allocations: 1.649 MB / 0.7174 GB, free: 5.953 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.999e-05/0.6684, allocations: 200.9 kB / 0.7176 GB, free: 5.715 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009973/0.6695, allocations: 0.8338 MB / 0.7184 GB, free: 4.855 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 8.947e-05/0.6696, allocations: 53.69 kB / 0.7185 GB, free: 4.797 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004627/0.67, allocations: 0.6129 MB / 0.7191 GB, free: 4.176 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002656/0.6703, allocations: 358.8 kB / 0.7194 GB, free: 3.82 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.395e-05/0.6704, allocations: 20 kB / 0.7194 GB, free: 3.801 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.6705, allocations: 349.9 kB / 0.7198 GB, free: 3.453 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006437/0.6711, allocations: 374.4 kB / 0.7201 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007385/0.6719, allocations: 0.4985 MB / 0.7206 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007201/0.6726, allocations: 434.8 kB / 0.721 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.6726, allocations: 0 / 0.721 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002125/0.6748, allocations: 1.149 MB / 0.7221 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.6748, allocations: 10.03 kB / 0.7222 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.6748, allocations: 7.922 kB / 0.7222 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005105/0.6753, allocations: 84.84 kB / 0.7222 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008386/0.6762, allocations: 219.7 kB / 0.7225 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001948/0.6781, allocations: 1.536 MB / 0.724 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008376/0.679, allocations: 142.9 kB / 0.7241 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.026e-05/0.6791, allocations: 43.97 kB / 0.7241 GB, free: 14.79 MB / 0.545 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 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,$PRE.HDirRoo.incAng.decAng.tNext,HDirRoo.incAng.decAng.tNext,$PRE.HDirFlo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,$PRE.HDirWal.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0006423/0.6797, allocations: 351.9 kB / 0.7245 GB, free: 14.44 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001604/0.6799, allocations: 111.5 kB / 0.7246 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002983/0.6829, allocations: 1.552 MB / 0.7261 GB, free: 12.76 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.17e-05/0.6829, allocations: 12 kB / 0.7261 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.6829, allocations: 3.938 kB / 0.7261 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.815e-05/0.6829, allocations: 7.969 kB / 0.7261 GB, free: 12.74 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001607/0.6846, allocations: 1.376 MB / 0.7275 GB, free: 11.31 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/0.6846, allocations: 4 kB / 0.7275 GB, free: 11.31 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007476/0.6853, allocations: 203.7 kB / 0.7277 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004402/0.6858, allocations: 80.78 kB / 0.7277 GB, free: 11.03 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.691e-05/0.6859, allocations: 39.97 kB / 0.7278 GB, free: 10.99 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001616/0.6875, allocations: 1.556 MB / 0.7293 GB, free: 9.297 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.6875, allocations: 0 / 0.7293 GB, free: 9.297 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002229/0.6897, allocations: 1.285 MB / 0.7305 GB, free: 7.988 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000537/0.6903, allocations: 383 kB / 0.7309 GB, free: 7.594 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000183/0.6905, allocations: 28 kB / 0.7309 GB, free: 7.566 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007657/0.6912, allocations: 108.9 kB / 0.731 GB, free: 7.461 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001697/0.6914, allocations: 97.16 kB / 0.7311 GB, free: 7.367 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.875e-05/0.6915, allocations: 47.97 kB / 0.7312 GB, free: 7.32 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007734/0.6923, allocations: 0.6137 MB / 0.7318 GB, free: 6.695 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6923, allocations: 4 kB / 0.7318 GB, free: 6.691 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001048/0.6934, allocations: 442.5 kB / 0.7322 GB, free: 6.258 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003856/0.6972, allocations: 2.358 MB / 0.7345 GB, free: 4.074 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00207/0.6993, allocations: 1.117 MB / 0.7356 GB, free: 2.945 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.6993, allocations: 4.062 kB / 0.7356 GB, free: 2.941 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00108/0.7004, allocations: 0.6815 MB / 0.7363 GB, free: 2.246 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001268/0.7017, allocations: 282.7 kB / 0.7365 GB, free: 1.973 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01377/0.7155, allocations: 7.426 MB / 0.7438 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008527/0.7164, allocations: 1.216 MB / 0.745 GB, free: 9.047 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001059/0.7174, allocations: 321 kB / 0.7453 GB, free: 8.73 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008232/0.7183, allocations: 0.6008 MB / 0.7459 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of SimCode: time 1.312e-06/0.7183, allocations: 0 / 0.7459 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07232/0.7906, allocations: 28.58 MB / 0.7738 GB, free: 12 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002421/0.7909, allocations: 284.2 kB / 0.774 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.653/3.444, allocations: 3.875 kB / 0.774 GB, free: 11.64 MB / 0.5919 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/linux/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) Environment - environmentSimulation: