Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="BuildingSystems_BuildingSystems_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.005405/0.005405, allocations: 97.23 kB / 15.73 MB, free: 6.484 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.001532/0.001532, allocations: 191.9 kB / 16.67 MB, free: 6.391 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002479/0.002479, allocations: 279 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9518/0.9518, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002507/0.002507, allocations: 95.84 kB / 0.6809 GB, free: 28 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1457, allocations: 86.98 MB / 0.7659 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.00662/0.1524, allocations: 5.334 MB / 0.7711 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4394/0.5918, allocations: 151 MB / 0.9185 GB, free: 6.656 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008144/0.5927, allocations: 15.94 kB / 0.9185 GB, free: 6.641 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0007147/0.5934, allocations: 212.1 kB / 0.9187 GB, free: 6.434 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002054/0.5955, allocations: 0.6313 MB / 0.9194 GB, free: 5.82 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002243/0.5977, allocations: 1.005 MB / 0.9203 GB, free: 4.836 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.002205/0.6, allocations: 1.807 MB / 0.9221 GB, free: 3.023 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001632/0.6016, allocations: 1.167 MB / 0.9232 GB, free: 1.816 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001057/0.6027, allocations: 0.7746 MB / 0.924 GB, free: 1.039 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001089/0.6038, allocations: 0.8362 MB / 0.9248 GB, free: 204 kB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0004282/0.6042, allocations: 220 kB / 0.925 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001144/0.6054, allocations: 0.5777 MB / 0.9256 GB, free: 15.41 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005207/0.6059, allocations: 494.5 kB / 0.9261 GB, free: 14.92 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001087/0.607, allocations: 0.9134 MB / 0.927 GB, free: 14 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003239/0.6102, allocations: 2.582 MB / 0.9295 GB, free: 11.42 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.6103, allocations: 0 / 0.9295 GB, free: 11.42 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.292e-06/0.6103, allocations: 0 / 0.9295 GB, free: 11.42 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.536e-05/0.6103, allocations: 4 kB / 0.9295 GB, free: 11.42 MB / 0.6856 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.003899/0.6142, allocations: 2.054 MB / 0.9315 GB, free: 9.309 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.6143, allocations: 10 kB / 0.9315 GB, free: 9.301 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002803/0.6145, allocations: 228.2 kB / 0.9317 GB, free: 9.066 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/0.6156, allocations: 279.5 kB / 0.932 GB, free: 8.793 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001575/0.6171, allocations: 0.9977 MB / 0.933 GB, free: 7.75 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001571/0.6173, allocations: 148.8 kB / 0.9331 GB, free: 7.598 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002013/0.6175, allocations: 148 kB / 0.9332 GB, free: 7.453 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002705/0.6202, allocations: 1.589 MB / 0.9348 GB, free: 5.809 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.592e-05/0.6203, allocations: 0 / 0.9348 GB, free: 5.809 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001433/0.6204, allocations: 71.98 kB / 0.9349 GB, free: 5.738 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.604e-05/0.6205, allocations: 42 kB / 0.9349 GB, free: 5.699 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002718/0.6232, allocations: 1.592 MB / 0.9365 GB, free: 4.102 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006928/0.6301, allocations: 4.196 MB / 0.9406 GB, free: 15.82 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001975/0.6321, allocations: 1.093 MB / 0.9416 GB, free: 14.73 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007278/0.6329, allocations: 423.7 kB / 0.942 GB, free: 14.31 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 8.887e-05/0.633, allocations: 48.84 kB / 0.9421 GB, free: 14.27 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001245/0.6342, allocations: 0.6984 MB / 0.9428 GB, free: 13.55 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=111): time 3.136e-06/0.6342, allocations: 0 / 0.9428 GB, free: 13.55 MB / 0.7012 GB Notification: Performance of matching and sorting (n=111): time 0.003948/0.6382, allocations: 1.653 MB / 0.9444 GB, free: 11.88 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001214/0.6383, allocations: 196.9 kB / 0.9446 GB, free: 11.64 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00119/0.6395, allocations: 0.8463 MB / 0.9454 GB, free: 10.77 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001044/0.6396, allocations: 53.7 kB / 0.9454 GB, free: 10.71 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005926/0.6402, allocations: 0.6299 MB / 0.946 GB, free: 10.07 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.000338/0.6406, allocations: 372.8 kB / 0.9464 GB, free: 9.703 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003291/0.6409, allocations: 210.8 kB / 0.9466 GB, free: 9.492 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.6411, allocations: 341.9 kB / 0.9469 GB, free: 9.152 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007633/0.6419, allocations: 378.4 kB / 0.9473 GB, free: 8.781 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008581/0.6427, allocations: 0.5061 MB / 0.9478 GB, free: 8.254 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00158/0.6443, allocations: 0.8594 MB / 0.9486 GB, free: 7.383 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.6443, allocations: 1.188 kB / 0.9486 GB, free: 7.383 MB / 0.7012 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.00262/0.647, allocations: 1.154 MB / 0.9498 GB, free: 6.215 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.647, allocations: 4 kB / 0.9498 GB, free: 6.211 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.647, allocations: 4 kB / 0.9498 GB, free: 6.207 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005974/0.6476, allocations: 84.78 kB / 0.9498 GB, free: 6.121 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009405/0.6486, allocations: 219.7 kB / 0.95 GB, free: 5.906 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002177/0.6507, allocations: 1.646 MB / 0.9517 GB, free: 4.121 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009495/0.6517, allocations: 133.2 kB / 0.9518 GB, free: 3.992 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/0.6518, allocations: 51.89 kB / 0.9518 GB, free: 3.941 MB / 0.7012 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.000655/0.6525, allocations: 343.8 kB / 0.9522 GB, free: 3.598 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002767/0.6528, allocations: 119.2 kB / 0.9523 GB, free: 3.48 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003461/0.6562, allocations: 1.54 MB / 0.9538 GB, free: 1.93 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.409e-05/0.6563, allocations: 12 kB / 0.9538 GB, free: 1.918 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.6563, allocations: 0 / 0.9538 GB, free: 1.918 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.398e-05/0.6563, allocations: 7.984 kB / 0.9538 GB, free: 1.91 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001878/0.6582, allocations: 1.373 MB / 0.9551 GB, free: 496 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.498e-06/0.6582, allocations: 8 kB / 0.9551 GB, free: 488 kB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008238/0.659, allocations: 195.7 kB / 0.9553 GB, free: 292 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000462/0.6595, allocations: 72.78 kB / 0.9554 GB, free: 216 kB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.752e-05/0.6596, allocations: 35.97 kB / 0.9554 GB, free: 180 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002159/0.6618, allocations: 1.674 MB / 0.9571 GB, free: 14.35 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.6618, allocations: 64 / 0.9571 GB, free: 14.35 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002916/0.6647, allocations: 1.297 MB / 0.9583 GB, free: 13.03 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006176/0.6653, allocations: 367.8 kB / 0.9587 GB, free: 12.65 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001986/0.6655, allocations: 28 kB / 0.9587 GB, free: 12.62 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008722/0.6664, allocations: 79.91 kB / 0.9588 GB, free: 12.55 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002086/0.6666, allocations: 97.17 kB / 0.9589 GB, free: 12.45 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/0.6668, allocations: 51.97 kB / 0.9589 GB, free: 12.4 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0009633/0.6677, allocations: 0.6215 MB / 0.9595 GB, free: 11.77 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6677, allocations: 0 / 0.9595 GB, free: 11.77 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001221/0.669, allocations: 442.6 kB / 0.96 GB, free: 11.33 MB / 0.7169 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.005002/0.674, allocations: 2.374 MB / 0.9623 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002359/0.6764, allocations: 1.117 MB / 0.9634 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.6764, allocations: 0 / 0.9634 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001337/0.6777, allocations: 0.6818 MB / 0.964 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001404/0.6791, allocations: 333.6 kB / 0.9644 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01666/0.6958, allocations: 8.912 MB / 0.9731 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001089/0.6969, allocations: 1.22 MB / 0.9743 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001072/0.698, allocations: 321 kB / 0.9746 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009368/0.699, allocations: 0.6047 MB / 0.9751 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of SimCode: time 8.62e-07/0.699, allocations: 8 kB / 0.9752 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08272/0.7817, allocations: 28.77 MB / 1.003 GB, free: 15.36 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.68/14.46, allocations: 13.88 kB / 1.003 GB, free: 15.36 MB / 0.7637 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)