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.005265/0.005265, allocations: 107.5 kB / 15.74 MB, free: 6.035 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.001293/0.001293, allocations: 195.6 kB / 16.67 MB, free: 5.969 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.287/1.287, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002181/0.002181, allocations: 282.8 kB / 290.8 MB, free: 1.777 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9093/0.9093, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001753/0.001753, allocations: 91.86 kB / 0.6809 GB, free: 20 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1474, allocations: 86.98 MB / 0.7659 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.00684/0.1543, allocations: 5.327 MB / 0.7711 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4697/0.624, allocations: 151 MB / 0.9185 GB, free: 6.602 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001066/0.6251, allocations: 15.94 kB / 0.9185 GB, free: 6.586 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0006755/0.6258, allocations: 204.2 kB / 0.9187 GB, free: 6.387 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001911/0.6278, allocations: 0.6316 MB / 0.9194 GB, free: 5.773 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002223/0.63, allocations: 0.9989 MB / 0.9203 GB, free: 4.801 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001954/0.632, allocations: 1.815 MB / 0.9221 GB, free: 2.98 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001398/0.6334, allocations: 1.166 MB / 0.9232 GB, free: 1.773 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009771/0.6344, allocations: 0.7746 MB / 0.924 GB, free: 0.9961 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009038/0.6353, allocations: 0.8362 MB / 0.9248 GB, free: 160 kB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002866/0.6356, allocations: 220 kB / 0.925 GB, free: 15.94 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001025/0.6366, allocations: 0.5777 MB / 0.9256 GB, free: 15.36 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003977/0.637, allocations: 490.5 kB / 0.9261 GB, free: 14.88 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0008181/0.6379, allocations: 0.9184 MB / 0.927 GB, free: 13.96 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002802/0.6407, allocations: 2.569 MB / 0.9295 GB, free: 11.39 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 9.728e-06/0.6407, allocations: 3.984 kB / 0.9295 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.853e-06/0.6407, allocations: 4 kB / 0.9295 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.783e-05/0.6408, allocations: 4 kB / 0.9295 GB, free: 11.38 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.00374/0.6445, allocations: 1.994 MB / 0.9314 GB, free: 9.328 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.6446, allocations: 8.031 kB / 0.9314 GB, free: 9.32 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002553/0.6448, allocations: 230 kB / 0.9317 GB, free: 9.086 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001012/0.6458, allocations: 258.6 kB / 0.9319 GB, free: 8.832 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001524/0.6474, allocations: 0.9969 MB / 0.9329 GB, free: 7.789 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001348/0.6475, allocations: 148.8 kB / 0.933 GB, free: 7.637 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001884/0.6477, allocations: 151.8 kB / 0.9332 GB, free: 7.492 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002461/0.6502, allocations: 1.59 MB / 0.9347 GB, free: 5.848 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.6502, allocations: 0 / 0.9347 GB, free: 5.848 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001322/0.6504, allocations: 68 kB / 0.9348 GB, free: 5.781 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.794e-05/0.6504, allocations: 39.98 kB / 0.9348 GB, free: 5.742 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002432/0.6528, allocations: 1.592 MB / 0.9364 GB, free: 4.145 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006508/0.6594, allocations: 4.179 MB / 0.9405 GB, free: 15.88 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00186/0.6613, allocations: 1.094 MB / 0.9415 GB, free: 14.79 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007004/0.662, allocations: 431.7 kB / 0.9419 GB, free: 14.37 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 8.379e-05/0.6621, allocations: 45.02 kB / 0.942 GB, free: 14.32 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001146/0.6632, allocations: 0.6997 MB / 0.9427 GB, free: 13.61 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=111): time 2.986e-06/0.6632, allocations: 0 / 0.9427 GB, free: 13.61 MB / 0.7012 GB Notification: Performance of matching and sorting (n=111): time 0.003763/0.667, allocations: 1.645 MB / 0.9443 GB, free: 11.93 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/0.6671, allocations: 204.8 kB / 0.9445 GB, free: 11.69 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/0.6682, allocations: 0.8378 MB / 0.9453 GB, free: 10.82 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001127/0.6684, allocations: 53.7 kB / 0.9453 GB, free: 10.77 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004583/0.6688, allocations: 0.6167 MB / 0.9459 GB, free: 10.14 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002926/0.6691, allocations: 358.9 kB / 0.9463 GB, free: 9.785 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003037/0.6694, allocations: 206.7 kB / 0.9465 GB, free: 9.578 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.6696, allocations: 349.9 kB / 0.9468 GB, free: 9.23 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006921/0.6703, allocations: 374.4 kB / 0.9472 GB, free: 8.863 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008086/0.6711, allocations: 0.4985 MB / 0.9476 GB, free: 8.34 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001482/0.6726, allocations: 0.8594 MB / 0.9485 GB, free: 7.469 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.6726, allocations: 0 / 0.9485 GB, free: 7.469 MB / 0.7012 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002484/0.6751, allocations: 1.149 MB / 0.9496 GB, free: 6.305 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.6751, allocations: 4 kB / 0.9496 GB, free: 6.301 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.6751, allocations: 0 / 0.9496 GB, free: 6.301 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00058/0.6757, allocations: 88.83 kB / 0.9497 GB, free: 6.211 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009366/0.6767, allocations: 223.6 kB / 0.9499 GB, free: 5.992 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002048/0.6787, allocations: 1.645 MB / 0.9515 GB, free: 4.211 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000993/0.6797, allocations: 131 kB / 0.9516 GB, free: 4.082 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.806e-05/0.6799, allocations: 50.34 kB / 0.9517 GB, free: 4.035 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.0006282/0.6805, allocations: 351.8 kB / 0.952 GB, free: 3.684 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002364/0.6807, allocations: 106.7 kB / 0.9521 GB, free: 3.578 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003161/0.6839, allocations: 1.528 MB / 0.9536 GB, free: 2.043 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.6839, allocations: 12 kB / 0.9536 GB, free: 2.031 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.6839, allocations: 0 / 0.9536 GB, free: 2.031 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.344e-05/0.684, allocations: 7.969 kB / 0.9536 GB, free: 2.023 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00163/0.6856, allocations: 1.377 MB / 0.955 GB, free: 0.5938 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.6856, allocations: 4 kB / 0.955 GB, free: 0.5898 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007956/0.6864, allocations: 199.7 kB / 0.9552 GB, free: 404 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004334/0.6869, allocations: 72.78 kB / 0.9552 GB, free: 328 kB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.063e-05/0.6869, allocations: 35.97 kB / 0.9553 GB, free: 292 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001883/0.6888, allocations: 1.674 MB / 0.9569 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.6889, allocations: 0 / 0.9569 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002503/0.6914, allocations: 1.289 MB / 0.9582 GB, free: 13.15 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005526/0.6919, allocations: 359.2 kB / 0.9585 GB, free: 12.78 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001778/0.6921, allocations: 39.83 kB / 0.9586 GB, free: 12.74 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008497/0.693, allocations: 75.92 kB / 0.9586 GB, free: 12.66 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001856/0.6932, allocations: 97.17 kB / 0.9587 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.31e-05/0.6933, allocations: 55.95 kB / 0.9588 GB, free: 12.51 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0007921/0.6941, allocations: 0.6176 MB / 0.9594 GB, free: 11.88 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6941, allocations: 0 / 0.9594 GB, free: 11.88 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001058/0.6951, allocations: 434.6 kB / 0.9598 GB, free: 11.46 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.004037/0.6992, allocations: 2.371 MB / 0.9621 GB, free: 9.246 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002158/0.7014, allocations: 1.113 MB / 0.9632 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.7014, allocations: 4 kB / 0.9632 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001154/0.7026, allocations: 0.6779 MB / 0.9639 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001309/0.7039, allocations: 316.2 kB / 0.9642 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01453/0.7184, allocations: 8.853 MB / 0.9728 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007554/0.7192, allocations: 1.228 MB / 0.974 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0009716/0.7202, allocations: 313 kB / 0.9743 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007984/0.721, allocations: 0.6151 MB / 0.9749 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of SimCode: time 8.52e-07/0.721, allocations: 4 kB / 0.9749 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05528/0.7763, allocations: 28.5 MB / 1.003 GB, free: 15.84 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 13/13.77, allocations: 4.375 kB / 1.003 GB, free: 15.83 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)