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.001841/0.001841, allocations: 114.3 kB / 16.37 MB, free: 6 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.001764/0.001765, allocations: 195.9 kB / 17.31 MB, free: 5.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.528/1.528, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002568/0.002568, allocations: 284.8 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 1.081/1.081, allocations: 169.2 MB / 0.4989 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002393/0.002393, allocations: 90.67 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.2184, allocations: 86.97 MB / 0.6816 GB, free: 7.461 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.006955/0.2254, allocations: 4.384 MB / 0.6859 GB, free: 3.055 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5886/0.8141, allocations: 150.6 MB / 0.8329 GB, free: 3.344 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001071/0.8152, allocations: 19.88 kB / 0.8329 GB, free: 3.324 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000601/0.8158, allocations: 173.4 kB / 0.8331 GB, free: 3.156 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00195/0.8178, allocations: 0.4973 MB / 0.8336 GB, free: 2.668 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002173/0.82, allocations: 0.841 MB / 0.8344 GB, free: 1.836 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00167/0.8217, allocations: 1.328 MB / 0.8357 GB, free: 0.5039 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001062/0.8228, allocations: 0.6988 MB / 0.8364 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007987/0.8236, allocations: 0.4982 MB / 0.8369 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006128/0.8242, allocations: 0.5211 MB / 0.8374 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000154/0.8244, allocations: 132 kB / 0.8375 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001051/0.8254, allocations: 495.5 kB / 0.838 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002991/0.8257, allocations: 319 kB / 0.8383 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005417/0.8263, allocations: 0.5751 MB / 0.8389 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002228/0.8285, allocations: 1.689 MB / 0.8405 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.8286, allocations: 0 / 0.8405 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.338e-06/0.8286, allocations: 0 / 0.8405 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.375e-05/0.8286, allocations: 3.938 kB / 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.002861/0.8315, allocations: 1.473 MB / 0.8419 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.8315, allocations: 8.031 kB / 0.842 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001117/0.8326, allocations: 219.2 kB / 0.8422 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001285/0.8339, allocations: 0.7853 MB / 0.8429 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.212e-05/0.834, allocations: 70 kB / 0.843 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/0.8341, allocations: 92 kB / 0.8431 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001678/0.8358, allocations: 1.003 MB / 0.8441 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/0.8359, allocations: 3.938 kB / 0.8441 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.534e-05/0.836, allocations: 44 kB / 0.8441 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.955e-05/0.836, allocations: 23.94 kB / 0.8441 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001875/0.8379, allocations: 1.175 MB / 0.8453 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00453/0.8424, allocations: 2.585 MB / 0.8478 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002394/0.8449, allocations: 0.9629 MB / 0.8487 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005451/0.8454, allocations: 310.7 kB / 0.849 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.175e-05/0.8455, allocations: 32.59 kB / 0.8491 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008605/0.8464, allocations: 0.4991 MB / 0.8496 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=82): time 3.176e-06/0.8464, allocations: 0 / 0.8496 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of matching and sorting (n=82): time 0.003188/0.8496, allocations: 1.217 MB / 0.8507 GB, free: 0.8125 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/0.8497, allocations: 192.6 kB / 0.8509 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009148/0.8506, allocations: 0.641 MB / 0.8516 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.112e-05/0.8507, allocations: 45.7 kB / 0.8516 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004163/0.8512, allocations: 432.1 kB / 0.852 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002504/0.8514, allocations: 260.2 kB / 0.8523 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002732/0.8517, allocations: 166.5 kB / 0.8524 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001914/0.8519, allocations: 386.8 kB / 0.8528 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005548/0.8525, allocations: 269.8 kB / 0.853 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006722/0.8532, allocations: 375.1 kB / 0.8534 GB, free: 14 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001176/0.8543, allocations: 0.6228 MB / 0.854 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.8544, allocations: 0 / 0.854 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002095/0.8565, allocations: 0.8683 MB / 0.8549 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.898e-05/0.8565, allocations: 11.94 kB / 0.8549 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.8565, allocations: 0 / 0.8549 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006056/0.8571, allocations: 88.84 kB / 0.855 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006791/0.8578, allocations: 167.8 kB / 0.8551 GB, free: 12.22 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002237/0.8601, allocations: 1.628 MB / 0.8567 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009066/0.861, allocations: 103.4 kB / 0.8568 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.79e-05/0.8611, allocations: 35.97 kB / 0.8568 GB, free: 10.32 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.0006068/0.8617, allocations: 272.5 kB / 0.8571 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002052/0.8619, allocations: 82.97 kB / 0.8572 GB, free: 9.965 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002424/0.8643, allocations: 1.1 MB / 0.8583 GB, free: 8.852 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.579e-05/0.8644, allocations: 8 kB / 0.8583 GB, free: 8.844 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.8644, allocations: 4 kB / 0.8583 GB, free: 8.84 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.189e-05/0.8644, allocations: 7.969 kB / 0.8583 GB, free: 8.832 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003715/0.8681, allocations: 2.017 MB / 0.8602 GB, free: 6.754 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.8682, allocations: 4 kB / 0.8602 GB, free: 6.75 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006122/0.8688, allocations: 147.8 kB / 0.8604 GB, free: 6.605 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005241/0.8693, allocations: 68.78 kB / 0.8604 GB, free: 6.535 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.321e-05/0.8694, allocations: 27.98 kB / 0.8605 GB, free: 6.508 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002093/0.8715, allocations: 1.658 MB / 0.8621 GB, free: 4.703 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.8715, allocations: 0 / 0.8621 GB, free: 4.703 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00233/0.8738, allocations: 1.021 MB / 0.8631 GB, free: 3.66 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004687/0.8743, allocations: 279.7 kB / 0.8634 GB, free: 3.367 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001301/0.8745, allocations: 20 kB / 0.8634 GB, free: 3.348 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000723/0.8752, allocations: 63.92 kB / 0.8634 GB, free: 3.285 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001567/0.8754, allocations: 76.89 kB / 0.8635 GB, free: 3.211 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.326e-05/0.8754, allocations: 32.05 kB / 0.8635 GB, free: 3.18 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006167/0.8761, allocations: 467 kB / 0.864 GB, free: 2.73 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8761, allocations: 3.938 kB / 0.864 GB, free: 2.727 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009967/0.8771, allocations: 327.1 kB / 0.8643 GB, free: 2.406 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.001376/0.8785, allocations: 0.6173 MB / 0.8649 GB, free: 1.969 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001956/0.8804, allocations: 0.8554 MB / 0.8657 GB, free: 1.102 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.8804, allocations: 192 / 0.8657 GB, free: 1.102 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001008/0.8815, allocations: 0.5275 MB / 0.8663 GB, free: 0.5586 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001304/0.8828, allocations: 281.9 kB / 0.8665 GB, free: 312 kB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004213/0.887, 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.0006639/0.8877, allocations: 1.042 MB / 0.8693 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009979/0.8887, allocations: 278.7 kB / 0.8696 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002917/0.889, allocations: 99.39 kB / 0.8697 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of SimCode: time 1.362e-06/0.889, allocations: 0 / 0.8697 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of Templates: time 0.02831/0.9173, 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 cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)