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.0009669/0.0009714, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005268/0.005268, allocations: 169.1 kB / 16.26 MB, free: 6.652 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.305/1.305, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001697/0.001697, allocations: 278.5 kB / 291.7 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9358/0.9358, allocations: 169.5 MB / 0.5004 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006437/0.0006438, allocations: 13.33 kB / 0.5987 GB, free: 28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1677, allocations: 88.55 MB / 0.6851 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.00457/0.1724, allocations: 3.968 MB / 0.689 GB, free: 11.1 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.441/0.6134, allocations: 146.7 MB / 0.8322 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006245/0.614, allocations: 18.03 kB / 0.8322 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004343/0.6145, allocations: 141 kB / 0.8324 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00133/0.6158, allocations: 432.6 kB / 0.8328 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001697/0.6175, allocations: 0.7253 MB / 0.8335 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001205/0.6187, allocations: 1.227 MB / 0.8347 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009232/0.6197, allocations: 0.6591 MB / 0.8353 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005723/0.6202, allocations: 350.2 kB / 0.8357 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004187/0.6207, allocations: 387.5 kB / 0.836 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.959e-05/0.6208, allocations: 25.69 kB / 0.8361 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007246/0.6215, allocations: 372 kB / 0.8364 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001786/0.6217, allocations: 192.6 kB / 0.8366 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003605/0.622, allocations: 487 kB / 0.8371 GB, free: 9.91 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001388/0.6234, allocations: 1.546 MB / 0.8386 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.6235, allocations: 0 / 0.8386 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.422e-06/0.6235, allocations: 0 / 0.8386 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.339e-05/0.6235, allocations: 4 kB / 0.8386 GB, free: 8.793 MB / 0.5606 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.002123/0.6256, allocations: 1.25 MB / 0.8398 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.6257, allocations: 8.75 kB / 0.8398 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001059/0.6267, allocations: 229.3 kB / 0.84 GB, free: 7.68 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.6277, allocations: 0.7495 MB / 0.8408 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.599e-05/0.6278, allocations: 70.34 kB / 0.8408 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/0.6279, allocations: 99.05 kB / 0.8409 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001689/0.6296, allocations: 1.009 MB / 0.8419 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/0.6297, allocations: 0 / 0.8419 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.106e-05/0.6298, allocations: 42.53 kB / 0.842 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.918e-05/0.6298, allocations: 22.16 kB / 0.842 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00184/0.6316, allocations: 1.184 MB / 0.8431 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003998/0.6356, allocations: 2.648 MB / 0.8457 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002349/0.638, allocations: 0.9843 MB / 0.8467 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006163/0.6386, allocations: 320.3 kB / 0.847 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.853e-05/0.6387, allocations: 32.11 kB / 0.847 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009018/0.6396, allocations: 0.4999 MB / 0.8475 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=82): time 2.455e-06/0.6397, allocations: 7.219 kB / 0.8475 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82): time 0.003178/0.6428, allocations: 1.232 MB / 0.8487 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.451e-05/0.6429, allocations: 199 kB / 0.8489 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007421/0.6437, allocations: 0.6378 MB / 0.8495 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.894e-05/0.6438, allocations: 44.62 kB / 0.8496 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003022/0.6441, allocations: 420.4 kB / 0.85 GB, free: 1.094 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001956/0.6443, allocations: 272.2 kB / 0.8502 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.33e-05/0.6444, allocations: 63.34 kB / 0.8503 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.6445, allocations: 393.8 kB / 0.8507 GB, free: 448 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005485/0.6451, allocations: 280.9 kB / 0.8509 GB, free: 312 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000623/0.6457, allocations: 377.2 kB / 0.8513 GB, free: 96 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001138/0.6469, allocations: 0.6242 MB / 0.8519 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.6469, allocations: 0 / 0.8519 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00193/0.6488, allocations: 0.8849 MB / 0.8528 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.6489, allocations: 9.688 kB / 0.8528 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.6489, allocations: 2.969 kB / 0.8528 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006002/0.6495, allocations: 80.31 kB / 0.8529 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006755/0.6502, allocations: 170.2 kB / 0.853 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001903/0.6521, allocations: 1.514 MB / 0.8545 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007427/0.6528, allocations: 112.5 kB / 0.8546 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.848e-05/0.6529, allocations: 38.22 kB / 0.8546 GB, free: 13.64 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: 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.0003958/0.6533, allocations: 284.2 kB / 0.8549 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/0.6534, allocations: 81.72 kB / 0.855 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002377/0.6558, allocations: 1.104 MB / 0.8561 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/0.6558, allocations: 8.688 kB / 0.8561 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.6559, allocations: 3.938 kB / 0.8561 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/0.6559, allocations: 7.969 kB / 0.8561 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003161/0.659, allocations: 2.02 MB / 0.8581 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.6591, allocations: 0 / 0.8581 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006096/0.6597, allocations: 158.6 kB / 0.8582 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005163/0.6602, allocations: 84.23 kB / 0.8583 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.573e-05/0.6603, allocations: 28.67 kB / 0.8583 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001696/0.662, allocations: 1.549 MB / 0.8598 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.662, allocations: 0 / 0.8598 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001932/0.6639, allocations: 1.019 MB / 0.8608 GB, free: 9.254 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003423/0.6643, allocations: 299.8 kB / 0.8611 GB, free: 8.992 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/0.6644, allocations: 25.5 kB / 0.8611 GB, free: 8.973 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007009/0.6651, allocations: 86.98 kB / 0.8612 GB, free: 8.934 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/0.6653, allocations: 69.42 kB / 0.8613 GB, free: 8.898 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.508e-05/0.6653, allocations: 40.64 kB / 0.8613 GB, free: 8.883 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005131/0.6658, allocations: 460.7 kB / 0.8618 GB, free: 8.625 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6659, allocations: 0 / 0.8618 GB, free: 8.625 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007928/0.6666, allocations: 325.2 kB / 0.8621 GB, free: 8.527 MB / 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.001301/0.668, allocations: 0.6077 MB / 0.8627 GB, free: 8.234 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001662/0.6696, allocations: 0.8602 MB / 0.8635 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.6696, allocations: 0 / 0.8635 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009067/0.6706, allocations: 0.5336 MB / 0.864 GB, free: 7.492 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00127/0.6718, allocations: 263.8 kB / 0.8643 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004157/0.676, allocations: 2.361 MB / 0.8666 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005719/0.6766, allocations: 1.043 MB / 0.8676 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009058/0.6775, allocations: 262.8 kB / 0.8679 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002854/0.6778, allocations: 111.4 kB / 0.868 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of SimCode: time 8.82e-07/0.6778, allocations: 0 / 0.868 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of Templates: time 0.02372/0.7015, allocations: 14.43 MB / 0.8821 GB, free: 5.738 MB / 0.5919 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)