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: translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 103 kB / 16.35 MB, free: 5.824 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.001243/0.001243, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.295/1.295, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002237/0.002237, allocations: 289.9 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9492/0.9492, allocations: 169.3 MB / 0.4989 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001795/0.001795, allocations: 94.39 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1418, allocations: 86.98 MB / 0.6816 GB, free: 7.449 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005654/0.1475, allocations: 4.381 MB / 0.6859 GB, free: 3.043 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3833/0.5308, allocations: 150.6 MB / 0.8329 GB, free: 3.348 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006099/0.5315, allocations: 19.88 kB / 0.8329 GB, free: 3.328 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004863/0.5319, allocations: 170.4 kB / 0.8331 GB, free: 3.16 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001371/0.5334, allocations: 0.5054 MB / 0.8336 GB, free: 2.664 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001758/0.5351, allocations: 0.8413 MB / 0.8344 GB, free: 1.832 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001127/0.5363, allocations: 1.324 MB / 0.8357 GB, free: 0.5039 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008585/0.5371, allocations: 0.6877 MB / 0.8364 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000501/0.5377, allocations: 0.4944 MB / 0.8369 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005351/0.5382, allocations: 0.5264 MB / 0.8374 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001435/0.5384, allocations: 131.9 kB / 0.8375 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007276/0.5391, allocations: 0.4916 MB / 0.838 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000269/0.5394, allocations: 315 kB / 0.8383 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004623/0.5398, allocations: 0.5829 MB / 0.8388 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001481/0.5413, allocations: 1.685 MB / 0.8405 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.145e-06/0.5413, allocations: 0 / 0.8405 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.142e-06/0.5413, allocations: 0 / 0.8405 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.994e-05/0.5414, allocations: 0 / 0.8405 GB, free: 11.57 MB / 0.6075 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.00241/0.5438, allocations: 1.481 MB / 0.8419 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.5438, allocations: 8.031 kB / 0.8419 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001068/0.5449, allocations: 211.3 kB / 0.8421 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001138/0.5461, allocations: 0.7852 MB / 0.8429 GB, free: 9 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.594e-05/0.5461, allocations: 74 kB / 0.843 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00012/0.5462, allocations: 88 kB / 0.8431 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001609/0.5479, allocations: 1.007 MB / 0.844 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.5479, allocations: 0 / 0.844 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.789e-05/0.548, allocations: 47.98 kB / 0.8441 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.813e-05/0.548, allocations: 20 kB / 0.8441 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001945/0.55, allocations: 1.175 MB / 0.8453 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003901/0.5539, allocations: 2.589 MB / 0.8478 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002363/0.5562, allocations: 0.9654 MB / 0.8487 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005747/0.5568, allocations: 306.7 kB / 0.849 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.018e-05/0.5569, allocations: 36.59 kB / 0.8491 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008623/0.5578, allocations: 0.4991 MB / 0.8495 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=82): time 1.953e-06/0.5578, allocations: 0 / 0.8495 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of matching and sorting (n=82): time 0.003142/0.561, allocations: 1.217 MB / 0.8507 GB, free: 0.8125 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.622e-05/0.5611, allocations: 192.5 kB / 0.8509 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000752/0.5618, allocations: 0.641 MB / 0.8515 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.205e-05/0.5619, allocations: 41.7 kB / 0.8516 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000294/0.5622, allocations: 432.1 kB / 0.852 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001937/0.5624, allocations: 272.2 kB / 0.8523 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002462/0.5627, allocations: 162.5 kB / 0.8524 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.5628, allocations: 386.8 kB / 0.8528 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005676/0.5634, allocations: 269.8 kB / 0.853 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006609/0.5641, allocations: 375.1 kB / 0.8534 GB, free: 14 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001172/0.5652, allocations: 0.6239 MB / 0.854 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.5653, allocations: 0 / 0.854 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002008/0.5673, allocations: 0.8644 MB / 0.8548 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.5673, allocations: 7.938 kB / 0.8549 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.5673, allocations: 4 kB / 0.8549 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005941/0.5679, allocations: 84.86 kB / 0.8549 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006995/0.5686, allocations: 167.8 kB / 0.8551 GB, free: 12.22 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002/0.5706, allocations: 1.623 MB / 0.8567 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006957/0.5713, allocations: 105.9 kB / 0.8568 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.375e-05/0.5714, allocations: 31.97 kB / 0.8568 GB, free: 10.33 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (96): * Single equations (assignments): 95 * 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.0003655/0.5718, allocations: 279.3 kB / 0.8571 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001512/0.572, allocations: 82.97 kB / 0.8572 GB, free: 9.965 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00247/0.5744, allocations: 1.102 MB / 0.8582 GB, free: 8.848 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/0.5745, allocations: 8 kB / 0.8582 GB, free: 8.84 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.5745, allocations: 0 / 0.8582 GB, free: 8.84 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.5745, allocations: 7.969 kB / 0.8583 GB, free: 8.832 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003315/0.5778, allocations: 2.017 MB / 0.8602 GB, free: 6.754 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.5778, allocations: 0 / 0.8602 GB, free: 6.754 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006286/0.5785, allocations: 155.8 kB / 0.8604 GB, free: 6.602 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004434/0.5789, allocations: 68.78 kB / 0.8604 GB, free: 6.531 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-05/0.579, allocations: 31.97 kB / 0.8605 GB, free: 6.5 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001823/0.5808, allocations: 1.65 MB / 0.8621 GB, free: 4.703 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.5808, allocations: 0 / 0.8621 GB, free: 4.703 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002046/0.5829, allocations: 1.025 MB / 0.8631 GB, free: 3.656 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003747/0.5833, allocations: 275.7 kB / 0.8633 GB, free: 3.367 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001211/0.5834, allocations: 20 kB / 0.8634 GB, free: 3.348 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006736/0.5841, allocations: 63.92 kB / 0.8634 GB, free: 3.285 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001455/0.5842, allocations: 76.89 kB / 0.8635 GB, free: 3.211 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.353e-05/0.5843, allocations: 35.98 kB / 0.8635 GB, free: 3.176 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005274/0.5848, allocations: 463 kB / 0.864 GB, free: 2.73 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5849, allocations: 0 / 0.864 GB, free: 2.73 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007733/0.5856, allocations: 327.1 kB / 0.8643 GB, free: 2.41 MB / 0.6231 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.001288/0.5869, allocations: 0.6212 MB / 0.8649 GB, free: 1.973 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001672/0.5886, allocations: 0.8554 MB / 0.8657 GB, free: 1.105 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.5886, allocations: 0 / 0.8657 GB, free: 1.105 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009809/0.5896, allocations: 0.5277 MB / 0.8662 GB, free: 0.5625 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/0.5907, allocations: 289.9 kB / 0.8665 GB, free: 308 kB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003601/0.5943, allocations: 1.821 MB / 0.8683 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006086/0.595, allocations: 1.043 MB / 0.8693 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0007309/0.5957, allocations: 266.8 kB / 0.8696 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002732/0.596, allocations: 111.3 kB / 0.8697 GB, free: 13.01 MB / 0.6387 GB Notification: Performance of SimCode: time 4.2e-07/0.596, allocations: 0 / 0.8697 GB, free: 13.01 MB / 0.6387 GB Notification: Performance of Templates: time 0.02356/0.6196, allocations: 15.15 MB / 0.8845 GB, free: 14.08 MB / 0.6544 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile (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 & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)