Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0008375/0.0008376, allocations: 90.33 kB / 16.67 MB, free: 6.602 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.0009733/0.0009734, allocations: 183.1 kB / 17.58 MB, free: 6.184 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.333/1.333, allocations: 223.3 MB / 241.6 MB, free: 14.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7084/0.7084, allocations: 115.5 MB / 408.2 MB, free: 7.129 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003608/0.0003607, allocations: 8 kB / 496.5 MB, free: 15.72 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4134/0.4137, allocations: 77.52 MB / 0.5606 GB, free: 35.47 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005596/0.4194, allocations: 4.685 MB / 0.5651 GB, free: 32.05 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1523/0.5717, allocations: 146.8 MB / 0.7085 GB, free: 11.49 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001105/0.5729, allocations: 19.88 kB / 0.7085 GB, free: 11.47 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008025/0.5737, allocations: 146.8 kB / 0.7086 GB, free: 11.33 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002212/0.5759, allocations: 497.3 kB / 0.7091 GB, free: 10.84 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002121/0.5781, allocations: 0.7269 MB / 0.7098 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0019/0.58, allocations: 1.346 MB / 0.7111 GB, free: 8.77 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001201/0.5812, allocations: 0.6197 MB / 0.7117 GB, free: 8.121 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007301/0.5819, allocations: 366.2 kB / 0.7121 GB, free: 7.762 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006896/0.5826, allocations: 413.7 kB / 0.7125 GB, free: 7.355 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000174/0.5828, allocations: 24 kB / 0.7125 GB, free: 7.332 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009906/0.5838, allocations: 371.6 kB / 0.7129 GB, free: 6.969 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002696/0.5841, allocations: 195.1 kB / 0.713 GB, free: 6.777 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006473/0.5848, allocations: 0.4948 MB / 0.7135 GB, free: 6.273 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00161/0.5864, allocations: 1.251 MB / 0.7147 GB, free: 5.02 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.5864, allocations: 0 / 0.7147 GB, free: 5.02 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.472e-06/0.5864, allocations: 0 / 0.7147 GB, free: 5.02 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.891e-05/0.5865, allocations: 0 / 0.7147 GB, free: 5.02 MB / 0.545 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.0028/0.5893, allocations: 1.266 MB / 0.716 GB, free: 3.707 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.5893, allocations: 8.031 kB / 0.716 GB, free: 3.699 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001298/0.5906, allocations: 227.3 kB / 0.7162 GB, free: 3.477 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00138/0.592, allocations: 0.7577 MB / 0.7169 GB, free: 2.672 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.429e-05/0.5921, allocations: 77.98 kB / 0.717 GB, free: 2.598 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001405/0.5923, allocations: 88 kB / 0.7171 GB, free: 2.512 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001837/0.5941, allocations: 1.011 MB / 0.7181 GB, free: 1.461 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.5941, allocations: 0 / 0.7181 GB, free: 1.461 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.587e-05/0.5942, allocations: 44 kB / 0.7181 GB, free: 1.418 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.297e-05/0.5943, allocations: 24 kB / 0.7182 GB, free: 1.395 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001932/0.5962, allocations: 1.182 MB / 0.7193 GB, free: 220 kB / 0.545 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004627/0.6008, allocations: 2.918 MB / 0.7222 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002424/0.6033, allocations: 0.9813 MB / 0.7231 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000612/0.6039, allocations: 324.4 kB / 0.7234 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.84e-05/0.604, allocations: 32.61 kB / 0.7235 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009772/0.605, allocations: 0.5031 MB / 0.724 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=82): time 2.454e-06/0.605, allocations: 0 / 0.724 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82): time 0.003379/0.6084, allocations: 1.241 MB / 0.7252 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.6085, allocations: 204.5 kB / 0.7254 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008496/0.6094, allocations: 0.6409 MB / 0.726 GB, free: 9.137 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.796e-05/0.6095, allocations: 41.7 kB / 0.726 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003172/0.6098, allocations: 420.3 kB / 0.7264 GB, free: 8.672 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002151/0.61, allocations: 264.2 kB / 0.7267 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.6102, allocations: 69.67 kB / 0.7267 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.6103, allocations: 386.8 kB / 0.7271 GB, free: 7.949 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005991/0.6109, allocations: 289.8 kB / 0.7274 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006623/0.6116, allocations: 371.1 kB / 0.7277 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001213/0.6128, allocations: 0.6424 MB / 0.7284 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.6128, allocations: 0 / 0.7284 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002117/0.615, allocations: 0.8761 MB / 0.7292 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.615, allocations: 4 kB / 0.7292 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.615, allocations: 0 / 0.7292 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006251/0.6156, allocations: 92.8 kB / 0.7293 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007103/0.6164, allocations: 163.8 kB / 0.7295 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002092/0.6185, allocations: 1.529 MB / 0.731 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009427/0.6194, allocations: 108.8 kB / 0.7311 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.954e-05/0.6195, allocations: 39.97 kB / 0.7311 GB, free: 3.676 MB / 0.5606 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.0005184/0.62, allocations: 279.3 kB / 0.7314 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001503/0.6202, allocations: 90.95 kB / 0.7315 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00256/0.6228, allocations: 1.097 MB / 0.7325 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/0.6228, allocations: 15.94 kB / 0.7325 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.6228, allocations: 11.92 kB / 0.7326 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.6228, allocations: 3.984 kB / 0.7326 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003605/0.6264, allocations: 2.012 MB / 0.7345 GB, free: 80 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.6265, allocations: 0 / 0.7345 GB, free: 80 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006632/0.6271, allocations: 151.8 kB / 0.7347 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005558/0.6277, allocations: 80.78 kB / 0.7348 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.519e-05/0.6278, allocations: 31.97 kB / 0.7348 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001984/0.6298, allocations: 1.54 MB / 0.7363 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.6298, allocations: 3.938 kB / 0.7363 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00231/0.6321, allocations: 1.035 MB / 0.7373 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005636/0.6327, allocations: 291.7 kB / 0.7376 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001885/0.6329, allocations: 23.97 kB / 0.7376 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008202/0.6337, allocations: 80.81 kB / 0.7377 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001717/0.6339, allocations: 76.89 kB / 0.7378 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.123e-05/0.634, allocations: 35.97 kB / 0.7378 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006237/0.6346, allocations: 471 kB / 0.7382 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6347, allocations: 0 / 0.7382 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001006/0.6357, allocations: 343.2 kB / 0.7386 GB, free: 11.78 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.001433/0.6371, allocations: 0.606 MB / 0.7392 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001873/0.639, allocations: 0.8624 MB / 0.74 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.639, allocations: 0 / 0.74 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009727/0.64, allocations: 0.5317 MB / 0.7405 GB, free: 9.961 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00169/0.6417, allocations: 284.6 kB / 0.7408 GB, free: 9.691 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003503/0.6452, allocations: 2.244 MB / 0.743 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006038/0.6459, allocations: 1.043 MB / 0.744 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003628/0.6462, allocations: 119.4 kB / 0.7441 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of SimCode: time 7.92e-07/0.6462, allocations: 0 / 0.7441 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of Templates: time 0.3099/0.9562, allocations: 19.17 MB / 0.7628 GB, free: 168 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)