Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="BuildingSystems_BuildingSystems_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.001157/0.001157, allocations: 109.4 kB / 15.69 MB, free: 128 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.001218/0.001218, allocations: 187.9 kB / 16.62 MB, free: 6.613 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.279/1.279, allocations: 222.9 MB / 240.3 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002175/0.002175, allocations: 275 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8965/0.8965, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003028/0.003028, allocations: 102 kB / 0.5955 GB, free: 27.82 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.1741, allocations: 86.98 MB / 0.6805 GB, free: 472 kB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005603/0.1798, allocations: 4.376 MB / 0.6847 GB, free: 12.07 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.456/0.6357, allocations: 150.6 MB / 0.8318 GB, free: 1.246 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007875/0.6366, allocations: 15.22 kB / 0.8318 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005249/0.6371, allocations: 178.6 kB / 0.8319 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001441/0.6386, allocations: 0.5011 MB / 0.8324 GB, free: 1.004 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001684/0.6403, allocations: 0.8337 MB / 0.8332 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001306/0.6416, allocations: 1.327 MB / 0.8345 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009045/0.6425, allocations: 0.7008 MB / 0.8352 GB, free: 0.582 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006577/0.6432, allocations: 0.4919 MB / 0.8357 GB, free: 500 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000531/0.6437, allocations: 0.5248 MB / 0.8362 GB, free: 376 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000174/0.6439, allocations: 126.4 kB / 0.8363 GB, free: 376 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008984/0.6448, allocations: 500 kB / 0.8368 GB, free: 360 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002503/0.6451, allocations: 324.5 kB / 0.8371 GB, free: 304 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004331/0.6455, allocations: 0.5718 MB / 0.8377 GB, free: 124 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001687/0.6472, allocations: 1.699 MB / 0.8393 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.6472, allocations: 0 / 0.8393 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6472, allocations: 1.344 kB / 0.8393 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.84e-05/0.6473, allocations: 0 / 0.8393 GB, free: 15.85 MB / 0.5762 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.002531/0.6498, allocations: 1.486 MB / 0.8408 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.6498, allocations: 13.53 kB / 0.8408 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001598/0.65, allocations: 146.2 kB / 0.8409 GB, free: 15 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/0.6511, allocations: 215 kB / 0.8412 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/0.6522, allocations: 0.7846 MB / 0.8419 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.597e-05/0.6523, allocations: 71.12 kB / 0.842 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.6524, allocations: 88.31 kB / 0.8421 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001623/0.654, allocations: 1.009 MB / 0.8431 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.6541, allocations: 0 / 0.8431 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.955e-05/0.6542, allocations: 42.14 kB / 0.8431 GB, free: 14 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.891e-05/0.6542, allocations: 23.31 kB / 0.8431 GB, free: 14 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001772/0.656, allocations: 1.175 MB / 0.8443 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003866/0.6598, allocations: 2.59 MB / 0.8468 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002295/0.6621, allocations: 0.967 MB / 0.8477 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005387/0.6627, allocations: 315.9 kB / 0.848 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.466e-05/0.6628, allocations: 31.3 kB / 0.8481 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008428/0.6636, allocations: 0.4983 MB / 0.8486 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=82): time 3.977e-06/0.6636, allocations: 0 / 0.8486 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.00306/0.6667, allocations: 1.219 MB / 0.8497 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.599e-05/0.6668, allocations: 194.6 kB / 0.8499 GB, free: 9.609 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007684/0.6676, allocations: 0.6391 MB / 0.8506 GB, free: 9.238 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.998e-05/0.6677, allocations: 43.02 kB / 0.8506 GB, free: 9.195 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003106/0.668, allocations: 424.6 kB / 0.851 GB, free: 8.824 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001965/0.6682, allocations: 267.4 kB / 0.8513 GB, free: 8.598 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002112/0.6684, allocations: 153 kB / 0.8514 GB, free: 8.504 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.6686, allocations: 388.8 kB / 0.8518 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004985/0.6691, allocations: 250.2 kB / 0.852 GB, free: 8.016 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000599/0.6697, allocations: 367.5 kB / 0.8524 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001059/0.6708, allocations: 0.5974 MB / 0.8529 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.6708, allocations: 0 / 0.8529 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001845/0.6726, allocations: 0.8268 MB / 0.8538 GB, free: 7.035 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.6727, allocations: 15.97 kB / 0.8538 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.6727, allocations: 1.562 kB / 0.8538 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005847/0.6733, allocations: 86.48 kB / 0.8539 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00063/0.6739, allocations: 154.1 kB / 0.854 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002004/0.6759, allocations: 1.624 MB / 0.8556 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007192/0.6766, allocations: 88.11 kB / 0.8557 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.04e-05/0.6767, allocations: 36.16 kB / 0.8557 GB, free: 5.281 MB / 0.5762 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.0004396/0.6772, allocations: 273 kB / 0.856 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001592/0.6773, allocations: 86.59 kB / 0.856 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00228/0.6796, allocations: 1.1 MB / 0.8571 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.6796, allocations: 14.03 kB / 0.8571 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.6796, allocations: 0 / 0.8571 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/0.6797, allocations: 7.969 kB / 0.8571 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003204/0.6829, allocations: 2.019 MB / 0.8591 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.6829, allocations: 2.344 kB / 0.8591 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000575/0.6835, allocations: 151.2 kB / 0.8593 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004283/0.6839, allocations: 72.59 kB / 0.8593 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.772e-05/0.684, allocations: 30.03 kB / 0.8594 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001783/0.6858, allocations: 1.652 MB / 0.861 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.6858, allocations: 4.062 kB / 0.861 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001983/0.6878, allocations: 1.025 MB / 0.862 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003574/0.6881, allocations: 269.5 kB / 0.8622 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001209/0.6883, allocations: 29.58 kB / 0.8623 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006633/0.6889, allocations: 66.38 kB / 0.8623 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001462/0.6891, allocations: 72.17 kB / 0.8624 GB, free: 484 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.234e-05/0.6892, allocations: 38.22 kB / 0.8624 GB, free: 468 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005562/0.6897, allocations: 466.3 kB / 0.8629 GB, free: 200 kB / 0.5762 GB Notification: Performance of sort global known variables: time 2.5e-07/0.6897, allocations: 0 / 0.8629 GB, free: 200 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008697/0.6906, allocations: 317 kB / 0.8632 GB, free: 104 kB / 0.5762 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.003393/0.694, allocations: 2.068 MB / 0.8652 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001613/0.6956, allocations: 0.8246 MB / 0.866 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.6957, allocations: 4 kB / 0.866 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008777/0.6965, allocations: 0.5296 MB / 0.8665 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/0.6977, allocations: 289.4 kB / 0.8668 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01049/0.7082, allocations: 6.522 MB / 0.8732 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00057/0.7088, allocations: 1.039 MB / 0.8742 GB, free: 9.09 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008134/0.7096, allocations: 281.5 kB / 0.8745 GB, free: 8.941 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005236/0.7101, allocations: 407.4 kB / 0.8748 GB, free: 8.621 MB / 0.5919 GB Notification: Performance of SimCode: time 8.22e-07/0.7101, allocations: 0 / 0.8748 GB, free: 8.621 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04496/0.7551, allocations: 21.69 MB / 0.896 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.03/12.78, allocations: 10.39 kB / 0.896 GB, free: 3.645 MB / 0.6075 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)