Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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: translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.006459/0.006466, allocations: 100 kB / 15.73 MB, free: 6.473 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.00123/0.001229, allocations: 194.8 kB / 16.67 MB, free: 6.379 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9535/0.9535, allocations: 135.1 MB / 425.7 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 59.91 kB / 0.5856 GB, free: 3.391 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5417/0.543, allocations: 80.92 MB / 0.6646 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005519/0.5486, allocations: 4.152 MB / 0.6687 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1892/0.7379, allocations: 150.5 MB / 0.8156 GB, free: 6.473 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001149/0.7391, allocations: 19.88 kB / 0.8157 GB, free: 6.453 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0006208/0.7397, allocations: 166.5 kB / 0.8158 GB, free: 6.289 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002061/0.7419, allocations: 475.8 kB / 0.8163 GB, free: 5.824 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002198/0.7441, allocations: 0.8198 MB / 0.8171 GB, free: 5.012 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001457/0.7455, allocations: 1.192 MB / 0.8182 GB, free: 3.812 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009541/0.7465, allocations: 0.6863 MB / 0.8189 GB, free: 3.117 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006917/0.7472, allocations: 462.3 kB / 0.8193 GB, free: 2.664 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005156/0.7477, allocations: 489.8 kB / 0.8198 GB, free: 2.184 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001343/0.7479, allocations: 112 kB / 0.8199 GB, free: 2.074 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001033/0.7489, allocations: 479.6 kB / 0.8204 GB, free: 1.605 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002887/0.7492, allocations: 287.1 kB / 0.8207 GB, free: 1.324 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004617/0.7497, allocations: 0.5284 MB / 0.8212 GB, free: 0.793 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001861/0.7515, allocations: 1.567 MB / 0.8227 GB, free: 15.22 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.585e-06/0.7516, allocations: 4 kB / 0.8227 GB, free: 15.22 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.854e-06/0.7516, allocations: 0 / 0.8227 GB, free: 15.22 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.757e-05/0.7516, allocations: 0 / 0.8227 GB, free: 15.22 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.002232/0.7538, allocations: 1.381 MB / 0.8241 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.7539, allocations: 8.031 kB / 0.8241 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001104/0.755, allocations: 203.4 kB / 0.8243 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001078/0.7561, allocations: 0.7423 MB / 0.825 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.076e-05/0.7562, allocations: 69.94 kB / 0.825 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.7563, allocations: 84 kB / 0.8251 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001623/0.7579, allocations: 0.9526 MB / 0.8261 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.7579, allocations: 0 / 0.8261 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.529e-05/0.758, allocations: 40 kB / 0.8261 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.848e-05/0.7581, allocations: 20 kB / 0.8261 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001801/0.7599, allocations: 1.132 MB / 0.8272 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004039/0.7639, allocations: 2.429 MB / 0.8296 GB, free: 7.965 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002407/0.7664, allocations: 0.8762 MB / 0.8304 GB, free: 7.066 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005944/0.767, allocations: 286.8 kB / 0.8307 GB, free: 6.781 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.97e-05/0.7671, allocations: 36.55 kB / 0.8308 GB, free: 6.746 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009461/0.7681, allocations: 439.2 kB / 0.8312 GB, free: 6.305 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=73): time 3.206e-06/0.7681, allocations: 0 / 0.8312 GB, free: 6.305 MB / 0.6544 GB Notification: Performance of matching and sorting (n=73): time 0.00314/0.7712, allocations: 1.088 MB / 0.8322 GB, free: 5.191 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001554/0.7714, allocations: 192.6 kB / 0.8324 GB, free: 4.961 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009259/0.7723, allocations: 0.6017 MB / 0.833 GB, free: 4.355 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.294e-05/0.7724, allocations: 45.64 kB / 0.8331 GB, free: 4.305 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004015/0.7728, allocations: 392.2 kB / 0.8334 GB, free: 3.914 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002366/0.7731, allocations: 248.4 kB / 0.8337 GB, free: 3.668 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002689/0.7734, allocations: 154.5 kB / 0.8338 GB, free: 3.508 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002015/0.7736, allocations: 382.7 kB / 0.8342 GB, free: 3.125 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005176/0.7741, allocations: 237.9 kB / 0.8344 GB, free: 2.895 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000617/0.7747, allocations: 335.1 kB / 0.8347 GB, free: 2.559 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/0.7758, allocations: 0.576 MB / 0.8353 GB, free: 1.969 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.7758, allocations: 3.938 kB / 0.8353 GB, free: 1.965 MB / 0.6544 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001852/0.7777, allocations: 0.7903 MB / 0.8361 GB, free: 1.164 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.7777, allocations: 4 kB / 0.8361 GB, free: 1.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.405e-06/0.7777, allocations: 0 / 0.8361 GB, free: 1.16 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005931/0.7783, allocations: 80.86 kB / 0.8361 GB, free: 1.078 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005993/0.7789, allocations: 151.8 kB / 0.8363 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002238/0.7812, allocations: 1.634 MB / 0.8379 GB, free: 15.15 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000701/0.7819, allocations: 83.33 kB / 0.838 GB, free: 15.07 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-05/0.782, allocations: 36.03 kB / 0.838 GB, free: 15.03 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 83 * 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.0004683/0.7825, allocations: 259.2 kB / 0.8382 GB, free: 14.77 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001463/0.7826, allocations: 75.06 kB / 0.8383 GB, free: 14.7 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002163/0.7848, allocations: 0.9939 MB / 0.8393 GB, free: 13.68 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/0.7848, allocations: 8 kB / 0.8393 GB, free: 13.68 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.7848, allocations: 8 kB / 0.8393 GB, free: 13.67 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/0.7849, allocations: 11.92 kB / 0.8393 GB, free: 13.66 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003169/0.788, allocations: 1.897 MB / 0.8412 GB, free: 11.7 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.7881, allocations: 0 / 0.8412 GB, free: 11.7 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000563/0.7886, allocations: 143.8 kB / 0.8413 GB, free: 11.56 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004194/0.789, allocations: 76.77 kB / 0.8414 GB, free: 11.48 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.074e-05/0.7891, allocations: 23.98 kB / 0.8414 GB, free: 11.46 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00189/0.791, allocations: 1.646 MB / 0.843 GB, free: 9.664 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.791, allocations: 3.938 kB / 0.843 GB, free: 9.66 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001874/0.7929, allocations: 0.9277 MB / 0.8439 GB, free: 8.711 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003286/0.7932, allocations: 251.8 kB / 0.8442 GB, free: 8.445 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/0.7934, allocations: 19.98 kB / 0.8442 GB, free: 8.426 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005743/0.7939, allocations: 59.94 kB / 0.8442 GB, free: 8.367 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001435/0.7941, allocations: 60.86 kB / 0.8443 GB, free: 8.309 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.009e-05/0.7942, allocations: 27.98 kB / 0.8443 GB, free: 8.281 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005551/0.7947, allocations: 439 kB / 0.8447 GB, free: 7.859 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7947, allocations: 0 / 0.8447 GB, free: 7.859 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0008914/0.7956, allocations: 303.2 kB / 0.845 GB, free: 7.562 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001361/0.797, allocations: 0.6045 MB / 0.8456 GB, free: 7.133 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001672/0.7987, allocations: 0.769 MB / 0.8464 GB, free: 6.352 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.7987, allocations: 0 / 0.8464 GB, free: 6.352 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008777/0.7996, allocations: 0.4962 MB / 0.8468 GB, free: 5.844 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/0.8008, allocations: 284.3 kB / 0.8471 GB, free: 5.59 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003743/0.8045, allocations: 1.708 MB / 0.8488 GB, free: 3.852 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000543/0.8051, allocations: 1.019 MB / 0.8498 GB, free: 2.809 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0007523/0.8058, allocations: 266.2 kB / 0.85 GB, free: 2.543 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000247/0.8061, allocations: 99.38 kB / 0.8501 GB, free: 2.445 MB / 0.67 GB Notification: Performance of SimCode: time 8.12e-07/0.8061, allocations: 0 / 0.8501 GB, free: 2.445 MB / 0.67 GB Notification: Performance of Templates: time 0.0238/0.8299, allocations: 14.22 MB / 0.864 GB, free: 4.379 MB / 0.6856 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)