Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",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.0008721/0.0008721, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005119/0.005119, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.219/1.219, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.051/2.051, allocations: 390.9 MB / 0.6664 GB, free: 2.309 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002677/0.0002678, allocations: 11.98 kB / 0.8161 GB, free: 13.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.498/0.4983, allocations: 142.4 MB / 0.9552 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.00348/0.5018, allocations: 3.968 MB / 0.959 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1379/0.6398, allocations: 146.7 MB / 1.102 GB, free: 8.102 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005677/0.6404, allocations: 15.88 kB / 1.102 GB, free: 8.086 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004595/0.6409, allocations: 135 kB / 1.102 GB, free: 7.953 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001246/0.6421, allocations: 440.3 kB / 1.103 GB, free: 7.523 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001476/0.6436, allocations: 0.725 MB / 1.104 GB, free: 6.805 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001158/0.6448, allocations: 1.226 MB / 1.105 GB, free: 5.574 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008331/0.6456, allocations: 0.67 MB / 1.105 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004602/0.6461, allocations: 346.2 kB / 1.106 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004628/0.6465, allocations: 389.7 kB / 1.106 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.315e-05/0.6466, allocations: 28 kB / 1.106 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005919/0.6472, allocations: 371.6 kB / 1.106 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001775/0.6474, allocations: 191.1 kB / 1.107 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003762/0.6478, allocations: 478.7 kB / 1.107 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001327/0.6491, allocations: 1.542 MB / 1.109 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.6491, allocations: 3.938 kB / 1.109 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.031e-06/0.6492, allocations: 0 / 1.109 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.183e-05/0.6492, allocations: 0 / 1.109 GB, free: 1.547 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.00213/0.6513, allocations: 1.255 MB / 1.11 GB, free: 252 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.6514, allocations: 11.97 kB / 1.11 GB, free: 240 kB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001737/0.6515, allocations: 152.1 kB / 1.11 GB, free: 80 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001024/0.6526, allocations: 219.3 kB / 1.11 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009472/0.6535, allocations: 0.7576 MB / 1.111 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.949e-05/0.6536, allocations: 66 kB / 1.111 GB, free: 15 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001215/0.6537, allocations: 104 kB / 1.111 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001587/0.6553, allocations: 1.015 MB / 1.112 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.6553, allocations: 3.938 kB / 1.112 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.976e-05/0.6554, allocations: 40 kB / 1.112 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.736e-05/0.6555, allocations: 20 kB / 1.112 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00179/0.6572, allocations: 1.182 MB / 1.113 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003766/0.661, allocations: 2.66 MB / 1.116 GB, free: 9.863 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002225/0.6633, allocations: 0.9732 MB / 1.117 GB, free: 8.863 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005509/0.6638, allocations: 318.7 kB / 1.117 GB, free: 8.551 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.558e-05/0.6639, allocations: 32.61 kB / 1.117 GB, free: 8.52 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008252/0.6647, allocations: 0.5029 MB / 1.118 GB, free: 7.996 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=82): time 1.944e-06/0.6647, allocations: 0 / 1.118 GB, free: 7.996 MB / 0.8731 GB Notification: Performance of matching and sorting (n=82): time 0.002966/0.6677, allocations: 1.241 MB / 1.119 GB, free: 6.727 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.515e-05/0.6678, allocations: 188.6 kB / 1.119 GB, free: 6.5 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007417/0.6686, allocations: 0.641 MB / 1.12 GB, free: 5.855 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.153e-05/0.6686, allocations: 41.7 kB / 1.12 GB, free: 5.809 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000288/0.6689, allocations: 432.1 kB / 1.12 GB, free: 5.379 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001971/0.6691, allocations: 260.2 kB / 1.12 GB, free: 5.121 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.643e-05/0.6692, allocations: 61.69 kB / 1.12 GB, free: 5.055 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.6694, allocations: 386.8 kB / 1.121 GB, free: 4.668 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000514/0.6699, allocations: 261.9 kB / 1.121 GB, free: 4.41 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005949/0.6705, allocations: 366.5 kB / 1.121 GB, free: 4.027 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/0.6716, allocations: 0.6072 MB / 1.122 GB, free: 3.414 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.6716, allocations: 4 kB / 1.122 GB, free: 3.41 MB / 0.8731 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001806/0.6734, allocations: 0.8292 MB / 1.123 GB, free: 2.566 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.6734, allocations: 8 kB / 1.123 GB, free: 2.559 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.6735, allocations: 0 / 1.123 GB, free: 2.559 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005497/0.674, allocations: 84.8 kB / 1.123 GB, free: 2.473 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006365/0.6747, allocations: 159.8 kB / 1.123 GB, free: 2.316 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00184/0.6765, allocations: 1.52 MB / 1.125 GB, free: 0.6602 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006341/0.6772, allocations: 95.39 kB / 1.125 GB, free: 0.5664 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.649e-05/0.6772, allocations: 35.92 kB / 1.125 GB, free: 0.5312 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 87 * 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.0003569/0.6776, allocations: 289.7 kB / 1.125 GB, free: 244 kB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.6777, allocations: 82.97 kB / 1.125 GB, free: 160 kB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002325/0.68, allocations: 1.105 MB / 1.126 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/0.6801, allocations: 15.94 kB / 1.126 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.6801, allocations: 0 / 1.126 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.6801, allocations: 3.984 kB / 1.126 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003094/0.6832, allocations: 2.021 MB / 1.128 GB, free: 12.93 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.6832, allocations: 4 kB / 1.128 GB, free: 12.93 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005774/0.6838, allocations: 155.8 kB / 1.128 GB, free: 12.78 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000473/0.6843, allocations: 84.77 kB / 1.128 GB, free: 12.69 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.941e-05/0.6843, allocations: 23.98 kB / 1.128 GB, free: 12.67 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001613/0.6859, allocations: 1.544 MB / 1.13 GB, free: 10.98 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.686, allocations: 12 kB / 1.13 GB, free: 10.97 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00189/0.6879, allocations: 1.019 MB / 1.131 GB, free: 9.93 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003252/0.6882, allocations: 295.6 kB / 1.131 GB, free: 9.621 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.6883, allocations: 24 kB / 1.131 GB, free: 9.598 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006764/0.689, allocations: 85.89 kB / 1.131 GB, free: 9.516 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/0.6891, allocations: 72.89 kB / 1.131 GB, free: 9.445 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.286e-05/0.6892, allocations: 35.98 kB / 1.131 GB, free: 9.41 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005027/0.6897, allocations: 467 kB / 1.132 GB, free: 8.961 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6897, allocations: 0 / 1.132 GB, free: 8.961 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.000745/0.6905, allocations: 319.1 kB / 1.132 GB, free: 8.648 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.003225/0.6937, allocations: 2.087 MB / 1.134 GB, free: 6.711 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001501/0.6952, allocations: 0.8275 MB / 1.135 GB, free: 5.875 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.6952, allocations: 0 / 1.135 GB, free: 5.875 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.000867/0.6961, allocations: 0.5276 MB / 1.136 GB, free: 5.336 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00114/0.6972, allocations: 267.1 kB / 1.136 GB, free: 5.082 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0116/0.7089, allocations: 7.276 MB / 1.143 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005439/0.7094, allocations: 1.039 MB / 1.144 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.000757/0.7102, allocations: 274.7 kB / 1.144 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005058/0.7107, allocations: 399.3 kB / 1.145 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of SimCode: time 1.513e-06/0.7107, allocations: 4 kB / 1.145 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9944/1.705, allocations: 20.51 MB / 1.165 GB, free: 7.82 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002665/1.705, allocations: 325.2 kB / 1.165 GB, free: 7.434 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.833/4.538, allocations: 0 / 1.165 GB, free: 7.434 MB / 0.92 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)