Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_latest_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.001367/0.001367, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001486/0.001486, allocations: 198.1 kB / 16.14 MB, free: 6.719 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.169/1.169, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.284/2.284, allocations: 461.8 MB / 0.7342 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001113/0.001113, allocations: 62.92 kB / 0.8985 GB, free: 36.92 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2083/0.2094, allocations: 157.4 MB / 1.052 GB, free: 8.16 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005364/0.2148, allocations: 5.132 MB / 1.057 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.121/0.3358, allocations: 148.3 MB / 1.202 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006624/0.3365, allocations: 19.88 kB / 1.202 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004666/0.3369, allocations: 158.8 kB / 1.202 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001147/0.3381, allocations: 486.9 kB / 1.203 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00136/0.3395, allocations: 0.7339 MB / 1.203 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0008978/0.3404, allocations: 1.346 MB / 1.205 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006723/0.3411, allocations: 0.6353 MB / 1.205 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003804/0.3415, allocations: 454.2 kB / 1.206 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004122/0.3419, allocations: 0.5133 MB / 1.206 GB, free: 9.742 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001091/0.342, allocations: 64 kB / 1.206 GB, free: 9.68 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005205/0.3425, allocations: 407.6 kB / 1.207 GB, free: 9.281 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002043/0.3427, allocations: 259 kB / 1.207 GB, free: 9.027 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003683/0.3431, allocations: 0.5478 MB / 1.208 GB, free: 8.477 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001144/0.3443, allocations: 1.647 MB / 1.209 GB, free: 6.824 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.3443, allocations: 0 / 1.209 GB, free: 6.824 MB / 0.9669 GB Notification: Performance of FrontEnd: time 9.32e-07/0.3443, allocations: 0 / 1.209 GB, free: 6.824 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.636e-06/0.3443, allocations: 0 / 1.209 GB, free: 6.824 MB / 0.9669 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.00211/0.3464, allocations: 1.502 MB / 1.211 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 2.973e-05/0.3465, allocations: 8.031 kB / 1.211 GB, free: 5.27 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001394/0.3466, allocations: 152.1 kB / 1.211 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009474/0.3476, allocations: 215.3 kB / 1.211 GB, free: 4.902 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008193/0.3484, allocations: 0.7575 MB / 1.212 GB, free: 4.102 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.616e-05/0.3484, allocations: 74 kB / 1.212 GB, free: 4.031 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.3485, allocations: 95.98 kB / 1.212 GB, free: 3.938 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001406/0.35, allocations: 1.011 MB / 1.213 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.35, allocations: 0 / 1.213 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.876e-05/0.3501, allocations: 36 kB / 1.213 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.499e-05/0.3501, allocations: 24 kB / 1.213 GB, free: 2.828 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001639/0.3517, allocations: 1.179 MB / 1.214 GB, free: 1.648 MB / 0.9669 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.003384/0.3551, allocations: 2.879 MB / 1.217 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00206/0.3572, allocations: 0.9668 MB / 1.218 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004945/0.3577, allocations: 322.5 kB / 1.218 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.391e-05/0.3578, allocations: 32.61 kB / 1.218 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007771/0.3586, allocations: 0.4991 MB / 1.219 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 1.753e-06/0.3586, allocations: 0 / 1.219 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of matching and sorting (n=82): time 0.00281/0.3614, allocations: 1.233 MB / 1.22 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.885e-05/0.3615, allocations: 196.6 kB / 1.22 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006034/0.3621, allocations: 0.6333 MB / 1.221 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.521e-05/0.3621, allocations: 45.7 kB / 1.221 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002329/0.3624, allocations: 424.2 kB / 1.221 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001606/0.3625, allocations: 264.1 kB / 1.221 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001995/0.3627, allocations: 154.5 kB / 1.222 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.3629, allocations: 382.8 kB / 1.222 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004632/0.3633, allocations: 257.9 kB / 1.222 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005498/0.3639, allocations: 378.5 kB / 1.222 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009739/0.3649, allocations: 0.5956 MB / 1.223 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.3649, allocations: 64 / 1.223 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001657/0.3666, allocations: 0.8292 MB / 1.224 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.3666, allocations: 11.98 kB / 1.224 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.3666, allocations: 0 / 1.224 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005428/0.3671, allocations: 80.88 kB / 1.224 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005853/0.3677, allocations: 163.7 kB / 1.224 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001648/0.3694, allocations: 1.52 MB / 1.226 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005774/0.37, allocations: 95.31 kB / 1.226 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.294e-05/0.37, allocations: 31.98 kB / 1.226 GB, free: 5.234 MB / 0.9825 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.0003011/0.3703, allocations: 277.6 kB / 1.226 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001302/0.3705, allocations: 82.97 kB / 1.226 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002165/0.3726, allocations: 1.101 MB / 1.227 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.3727, allocations: 11.94 kB / 1.227 GB, free: 3.738 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.3727, allocations: 4 kB / 1.227 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/0.3727, allocations: 3.984 kB / 1.227 GB, free: 3.73 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002735/0.3754, allocations: 2.004 MB / 1.229 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.3754, allocations: 4 kB / 1.229 GB, free: 1.664 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000552/0.376, allocations: 155.8 kB / 1.229 GB, free: 1.512 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004549/0.3765, allocations: 80.78 kB / 1.229 GB, free: 1.43 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-05/0.3765, allocations: 27.97 kB / 1.229 GB, free: 1.402 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001489/0.378, allocations: 1.548 MB / 1.231 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.378, allocations: 3.938 kB / 1.231 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001749/0.3798, allocations: 1.012 MB / 1.232 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002744/0.3801, allocations: 279.7 kB / 1.232 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/0.3802, allocations: 19.94 kB / 1.232 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006359/0.3808, allocations: 77.48 kB / 1.232 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/0.381, allocations: 68.89 kB / 1.232 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.013e-05/0.381, allocations: 35.97 kB / 1.232 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004451/0.3815, allocations: 471 kB / 1.233 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3815, allocations: 0 / 1.233 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006419/0.3821, allocations: 335.1 kB / 1.233 GB, free: 13.41 MB / 0.9981 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.002996/0.3851, allocations: 2.075 MB / 1.235 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00136/0.3865, allocations: 0.8195 MB / 1.236 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3865, allocations: 0 / 1.236 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008206/0.3873, allocations: 0.5316 MB / 1.236 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009994/0.3884, allocations: 276 kB / 1.237 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009834/0.3982, allocations: 7.089 MB / 1.244 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004992/0.3987, allocations: 1.039 MB / 1.245 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000737/0.3995, allocations: 270.9 kB / 1.245 GB, free: 1.266 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000479/0.3999, allocations: 407.3 kB / 1.245 GB, free: 0.8672 MB / 0.9981 GB Notification: Performance of SimCode: time 3.41e-07/0.4, allocations: 0 / 1.245 GB, free: 0.8672 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.797/5.197, allocations: 21.24 MB / 1.266 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002571/5.197, allocations: 322.5 kB / 1.266 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.406/7.603, allocations: 4.281 kB / 1.266 GB, free: 187.3 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)