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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.006183/0.006183, allocations: 100.9 kB / 15.73 MB, free: 6.039 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.001443/0.001443, allocations: 186.5 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.286/1.286, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.191/2.191, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 62.56 kB / 0.9504 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.2246, allocations: 140.4 MB / 1.087 GB, free: 2.043 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005342/0.23, allocations: 4.382 MB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1423/0.3722, allocations: 150.6 MB / 1.239 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008136/0.3731, allocations: 15.94 kB / 1.239 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006765/0.3738, allocations: 174.3 kB / 1.239 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001701/0.3755, allocations: 0.505 MB / 1.239 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001892/0.3774, allocations: 0.8424 MB / 1.24 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001257/0.3787, allocations: 1.32 MB / 1.242 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008182/0.3795, allocations: 0.699 MB / 1.242 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005046/0.3801, allocations: 0.4905 MB / 1.243 GB, free: 2.398 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004807/0.3805, allocations: 0.5211 MB / 1.243 GB, free: 1.875 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001372/0.3807, allocations: 132 kB / 1.243 GB, free: 1.746 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007642/0.3815, allocations: 495.5 kB / 1.244 GB, free: 1.262 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002467/0.3817, allocations: 315 kB / 1.244 GB, free: 0.9531 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004247/0.3822, allocations: 0.5829 MB / 1.245 GB, free: 376 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001614/0.3838, allocations: 1.698 MB / 1.246 GB, free: 14.66 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.3838, allocations: 0 / 1.246 GB, free: 14.66 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3838, allocations: 0 / 1.246 GB, free: 14.66 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.163e-05/0.3838, allocations: 0 / 1.246 GB, free: 14.66 MB / 1.014 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.002347/0.3862, allocations: 1.485 MB / 1.248 GB, free: 13.13 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.3862, allocations: 12.03 kB / 1.248 GB, free: 13.12 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001639/0.3864, allocations: 148.1 kB / 1.248 GB, free: 12.96 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001065/0.3875, allocations: 211.3 kB / 1.248 GB, free: 12.76 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001078/0.3885, allocations: 0.7809 MB / 1.249 GB, free: 11.93 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.451e-05/0.3886, allocations: 70 kB / 1.249 GB, free: 11.86 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/0.3887, allocations: 99.92 kB / 1.249 GB, free: 11.77 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/0.3903, allocations: 1.007 MB / 1.25 GB, free: 10.72 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/0.3903, allocations: 0 / 1.25 GB, free: 10.72 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.909e-05/0.3904, allocations: 36 kB / 1.25 GB, free: 10.69 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.958e-05/0.3904, allocations: 24 kB / 1.25 GB, free: 10.66 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00181/0.3923, allocations: 1.179 MB / 1.251 GB, free: 9.48 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003744/0.396, allocations: 2.589 MB / 1.254 GB, free: 6.828 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002334/0.3984, allocations: 0.9667 MB / 1.255 GB, free: 5.844 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005601/0.3989, allocations: 310.7 kB / 1.255 GB, free: 5.535 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.292e-05/0.399, allocations: 36.59 kB / 1.255 GB, free: 5.5 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000831/0.3998, allocations: 0.4952 MB / 1.256 GB, free: 4.984 MB / 1.014 GB Notification: Performance of pre-optimization done (n=82): time 2.455e-06/0.3999, allocations: 0 / 1.256 GB, free: 4.984 MB / 1.014 GB Notification: Performance of matching and sorting (n=82): time 0.003055/0.4029, allocations: 1.221 MB / 1.257 GB, free: 3.738 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.706e-05/0.403, allocations: 192.6 kB / 1.257 GB, free: 3.508 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007039/0.4037, allocations: 0.6449 MB / 1.258 GB, free: 2.855 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.392e-05/0.4038, allocations: 41.7 kB / 1.258 GB, free: 2.809 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002806/0.4041, allocations: 420.2 kB / 1.258 GB, free: 2.391 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001822/0.4043, allocations: 264.2 kB / 1.258 GB, free: 2.129 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002121/0.4045, allocations: 150.6 kB / 1.258 GB, free: 1.973 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.4046, allocations: 382.8 kB / 1.259 GB, free: 1.59 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005273/0.4052, allocations: 261.9 kB / 1.259 GB, free: 1.336 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006093/0.4058, allocations: 366.5 kB / 1.259 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001098/0.4069, allocations: 0.5955 MB / 1.26 GB, free: 348 kB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.4069, allocations: 0 / 1.26 GB, free: 348 kB / 1.014 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.4641/0.871, allocations: 0.8211 MB / 1.261 GB, free: 173.5 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.8711, allocations: 7.938 kB / 1.261 GB, free: 173.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.8711, allocations: 1.875 kB / 1.261 GB, free: 173.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005831/0.8717, allocations: 83.67 kB / 1.261 GB, free: 173.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006636/0.8723, allocations: 157 kB / 1.261 GB, free: 173.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001714/0.8741, allocations: 1.629 MB / 1.263 GB, free: 172.1 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006727/0.8748, allocations: 92.06 kB / 1.263 GB, free: 172.1 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.47e-05/0.8748, allocations: 32.42 kB / 1.263 GB, free: 172.1 MB / 1.014 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.0003896/0.8752, allocations: 279.3 kB / 1.263 GB, free: 172 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001511/0.8754, allocations: 81.67 kB / 1.263 GB, free: 172 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002513/0.8779, allocations: 1.092 MB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.8779, allocations: 10.31 kB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.175e-06/0.8779, allocations: 0.6094 kB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.305e-05/0.878, allocations: 8.156 kB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003391/0.8814, allocations: 2.021 MB / 1.266 GB, free: 171.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.8814, allocations: 2 kB / 1.266 GB, free: 171.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006261/0.882, allocations: 154.9 kB / 1.266 GB, free: 171.3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004427/0.8825, allocations: 73.77 kB / 1.266 GB, free: 171.2 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.808e-05/0.8825, allocations: 32.38 kB / 1.266 GB, free: 171.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001506/0.884, allocations: 1.665 MB / 1.268 GB, free: 169.7 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.884, allocations: 0 / 1.268 GB, free: 169.7 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002033/0.8861, allocations: 1.022 MB / 1.269 GB, free: 169.2 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003361/0.8864, allocations: 274.7 kB / 1.269 GB, free: 169 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.8866, allocations: 26.28 kB / 1.269 GB, free: 169 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006645/0.8872, allocations: 62.59 kB / 1.269 GB, free: 169 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001506/0.8874, allocations: 68.91 kB / 1.269 GB, free: 169 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.941e-05/0.8875, allocations: 37.94 kB / 1.269 GB, free: 169 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005778/0.8881, allocations: 471.3 kB / 1.27 GB, free: 168.8 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8881, allocations: 3.828 kB / 1.27 GB, free: 168.8 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0008587/0.8889, allocations: 318.9 kB / 1.27 GB, free: 168.7 MB / 1.014 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.003406/0.8923, allocations: 2.077 MB / 1.272 GB, free: 167.6 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001809/0.8942, allocations: 0.8159 MB / 1.273 GB, free: 167.3 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.8942, allocations: 0.5 kB / 1.273 GB, free: 167.3 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001045/0.8952, allocations: 0.5333 MB / 1.274 GB, free: 167 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001239/0.8965, allocations: 289.4 kB / 1.274 GB, free: 166.9 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0105/0.907, allocations: 6.519 MB / 1.28 GB, free: 163.7 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004798/0.9075, allocations: 1.045 MB / 1.281 GB, free: 163 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007843/0.9083, allocations: 272.1 kB / 1.281 GB, free: 162.9 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004787/0.9088, allocations: 400.8 kB / 1.282 GB, free: 162.6 MB / 1.014 GB Notification: Performance of SimCode: time 4.6e-07/0.9088, allocations: 4 kB / 1.282 GB, free: 162.6 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5835/1.492, allocations: 21.84 MB / 1.303 GB, free: 155.4 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.9/14.4, allocations: 8.297 kB / 1.303 GB, free: 155.4 MB / 1.014 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)