Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_10_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.001208/0.001208, allocations: 108 kB / 15.61 MB, free: 152 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.001138/0.001138, allocations: 193.3 kB / 16.53 MB, free: 6.699 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.204/1.204, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.253/2.253, allocations: 437.1 MB / 0.7104 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 59.91 kB / 0.8693 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4724/0.4736, allocations: 151.6 MB / 1.017 GB, free: 2.453 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005659/0.4793, allocations: 5.147 MB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1325/0.6118, allocations: 150.7 MB / 1.17 GB, free: 6.043 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008148/0.6127, allocations: 15.94 kB / 1.17 GB, free: 6.027 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0007041/0.6134, allocations: 194.1 kB / 1.17 GB, free: 5.836 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001794/0.6152, allocations: 0.5719 MB / 1.17 GB, free: 5.266 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001779/0.617, allocations: 0.8449 MB / 1.171 GB, free: 4.426 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.00141/0.6184, allocations: 1.436 MB / 1.173 GB, free: 2.984 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008255/0.6193, allocations: 0.656 MB / 1.173 GB, free: 2.309 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006008/0.6199, allocations: 0.5061 MB / 1.174 GB, free: 1.801 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006374/0.6205, allocations: 0.5407 MB / 1.174 GB, free: 1.258 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002145/0.6208, allocations: 128 kB / 1.174 GB, free: 1.133 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007635/0.6215, allocations: 471.6 kB / 1.175 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002681/0.6218, allocations: 319 kB / 1.175 GB, free: 368 kB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000558/0.6224, allocations: 0.6064 MB / 1.176 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0016/0.624, allocations: 1.698 MB / 1.177 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.624, allocations: 4 kB / 1.177 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.332e-06/0.624, allocations: 3.938 kB / 1.177 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.725e-05/0.624, allocations: 0 / 1.177 GB, free: 14.04 MB / 0.9356 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.002622/0.6267, allocations: 1.492 MB / 1.179 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.6267, allocations: 8.031 kB / 1.179 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001691/0.6269, allocations: 152.1 kB / 1.179 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/0.628, allocations: 219.2 kB / 1.179 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009471/0.6289, allocations: 0.7653 MB / 1.18 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.454e-05/0.629, allocations: 66 kB / 1.18 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/0.6291, allocations: 88 kB / 1.18 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001569/0.6307, allocations: 1.011 MB / 1.181 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.6307, allocations: 0 / 1.181 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-05/0.6308, allocations: 44 kB / 1.181 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.826e-05/0.6308, allocations: 20 kB / 1.181 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001789/0.6326, allocations: 1.179 MB / 1.182 GB, free: 8.859 MB / 0.9356 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.003795/0.6364, allocations: 2.879 MB / 1.185 GB, free: 5.855 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002263/0.6387, allocations: 0.9742 MB / 1.186 GB, free: 4.859 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005466/0.6392, allocations: 310.6 kB / 1.186 GB, free: 4.551 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.61e-05/0.6393, allocations: 40.53 kB / 1.186 GB, free: 4.512 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008396/0.6402, allocations: 0.503 MB / 1.187 GB, free: 3.992 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=82): time 1.993e-06/0.6402, allocations: 0 / 1.187 GB, free: 3.992 MB / 0.9356 GB Notification: Performance of matching and sorting (n=82): time 0.003035/0.6432, allocations: 1.225 MB / 1.188 GB, free: 2.738 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.883e-05/0.6433, allocations: 192.6 kB / 1.188 GB, free: 2.508 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006683/0.644, allocations: 0.6409 MB / 1.189 GB, free: 1.855 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.673e-05/0.644, allocations: 45.7 kB / 1.189 GB, free: 1.805 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002568/0.6443, allocations: 428.2 kB / 1.189 GB, free: 1.379 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001765/0.6445, allocations: 264.2 kB / 1.19 GB, free: 1.117 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002032/0.6447, allocations: 146.6 kB / 1.19 GB, free: 0.9648 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.6448, allocations: 382.8 kB / 1.19 GB, free: 0.582 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000502/0.6453, allocations: 257.9 kB / 1.19 GB, free: 340 kB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005998/0.646, allocations: 374.5 kB / 1.191 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00113/0.6471, allocations: 0.5995 MB / 1.191 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.6471, allocations: 0 / 1.191 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002073/0.6492, allocations: 0.8291 MB / 1.192 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.6492, allocations: 8 kB / 1.192 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.6492, allocations: 0 / 1.192 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005549/0.6498, allocations: 88.8 kB / 1.192 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006261/0.6504, allocations: 159.8 kB / 1.192 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001909/0.6523, allocations: 1.63 MB / 1.194 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006108/0.653, allocations: 95.3 kB / 1.194 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.919e-05/0.653, allocations: 35.97 kB / 1.194 GB, free: 12.33 MB / 0.9512 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.0003123/0.6534, allocations: 265.7 kB / 1.194 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/0.6535, allocations: 86.97 kB / 1.194 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002301/0.6558, allocations: 1.101 MB / 1.195 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.6558, allocations: 8 kB / 1.195 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.6558, allocations: 0 / 1.195 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/0.6559, allocations: 7.969 kB / 1.195 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002959/0.6588, allocations: 2.009 MB / 1.197 GB, free: 8.777 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.6588, allocations: 4 kB / 1.197 GB, free: 8.773 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005777/0.6594, allocations: 143.8 kB / 1.198 GB, free: 8.633 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004151/0.6598, allocations: 76.78 kB / 1.198 GB, free: 8.555 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.286e-05/0.6599, allocations: 31.98 kB / 1.198 GB, free: 8.523 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001662/0.6616, allocations: 1.662 MB / 1.199 GB, free: 6.711 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.6616, allocations: 0 / 1.199 GB, free: 6.711 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001907/0.6635, allocations: 1.019 MB / 1.2 GB, free: 5.672 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003051/0.6638, allocations: 271.7 kB / 1.201 GB, free: 5.387 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/0.6639, allocations: 24 kB / 1.201 GB, free: 5.363 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006441/0.6646, allocations: 67.92 kB / 1.201 GB, free: 5.297 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/0.6647, allocations: 68.89 kB / 1.201 GB, free: 5.227 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.714e-05/0.6648, allocations: 39.92 kB / 1.201 GB, free: 5.188 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004907/0.6653, allocations: 467 kB / 1.201 GB, free: 4.734 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6653, allocations: 0 / 1.201 GB, free: 4.734 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0007238/0.666, allocations: 347.1 kB / 1.201 GB, free: 4.395 MB / 0.9512 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.003317/0.6694, allocations: 2.073 MB / 1.204 GB, free: 2.477 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002157/0.6715, allocations: 1.026 MB / 1.205 GB, free: 1.438 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.6716, allocations: 0 / 1.205 GB, free: 1.438 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0009033/0.6725, allocations: 0.5355 MB / 1.205 GB, free: 0.8945 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00112/0.6736, allocations: 305.9 kB / 1.205 GB, free: 0.6211 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009659/0.6833, allocations: 6.665 MB / 1.212 GB, free: 9.797 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005755/0.6839, allocations: 1.039 MB / 1.213 GB, free: 8.73 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0008236/0.6847, allocations: 286.7 kB / 1.213 GB, free: 8.445 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005044/0.6852, allocations: 403.3 kB / 1.214 GB, free: 8.051 MB / 0.9669 GB Notification: Performance of SimCode: time 4.71e-07/0.6852, allocations: 0 / 1.214 GB, free: 8.051 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.17/2.855, allocations: 22.04 MB / 1.235 GB, free: 2.406 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.53/18.38, allocations: 4.438 kB / 1.235 GB, free: 2.402 MB / 0.9825 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)