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.0012/0.0012, allocations: 118.9 kB / 17.09 MB, free: 6.012 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.001118/0.001118, allocations: 192.7 kB / 18.02 MB, free: 5.094 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.244/1.244, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6868/0.6868, allocations: 115.3 MB / 407.2 MB, free: 6.219 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 65.33 kB / 0.5583 GB, free: 32.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1319, allocations: 76.18 MB / 0.6327 GB, free: 4.441 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.006816/0.1388, allocations: 5.108 MB / 0.6377 GB, free: 15.3 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4677/0.6065, allocations: 150.7 MB / 0.7848 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008495/0.6074, allocations: 15.53 kB / 0.7848 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005773/0.608, allocations: 206.8 kB / 0.785 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001721/0.6098, allocations: 0.5614 MB / 0.7856 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001729/0.6115, allocations: 0.8554 MB / 0.7864 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001402/0.6129, allocations: 1.444 MB / 0.7878 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008674/0.6138, allocations: 0.6515 MB / 0.7885 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007179/0.6145, allocations: 0.5154 MB / 0.789 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005511/0.6151, allocations: 0.5405 MB / 0.7895 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001534/0.6152, allocations: 129.4 kB / 0.7896 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009287/0.6162, allocations: 497.2 kB / 0.7901 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002488/0.6164, allocations: 319.2 kB / 0.7904 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004821/0.6169, allocations: 0.5989 MB / 0.791 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001745/0.6187, allocations: 1.734 MB / 0.7927 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.6187, allocations: 0 / 0.7927 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6187, allocations: 0 / 0.7927 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.741e-05/0.6187, allocations: 6.469 kB / 0.7927 GB, free: 13.07 MB / 0.5919 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.002445/0.6212, allocations: 1.494 MB / 0.7941 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.6212, allocations: 10.78 kB / 0.7942 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001046/0.6223, allocations: 216.4 kB / 0.7944 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/0.6234, allocations: 0.7835 MB / 0.7951 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.388e-05/0.6235, allocations: 72.59 kB / 0.7952 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.6236, allocations: 97.89 kB / 0.7953 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001592/0.6252, allocations: 1.004 MB / 0.7963 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/0.6252, allocations: 0 / 0.7963 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.569e-05/0.6253, allocations: 43.97 kB / 0.7963 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.699e-05/0.6253, allocations: 21.44 kB / 0.7963 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001716/0.627, allocations: 1.178 MB / 0.7975 GB, free: 11.68 MB / 0.5919 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.004199/0.6312, allocations: 2.853 MB / 0.8003 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002214/0.6335, allocations: 0.9776 MB / 0.8012 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005224/0.634, allocations: 320.2 kB / 0.8015 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.327e-05/0.6341, allocations: 27.27 kB / 0.8016 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008202/0.6349, allocations: 0.5017 MB / 0.802 GB, free: 10 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=82): time 2.645e-06/0.6349, allocations: 0 / 0.802 GB, free: 10 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82): time 0.003068/0.638, allocations: 1.231 MB / 0.8033 GB, free: 9.637 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.586e-05/0.6381, allocations: 194.7 kB / 0.8034 GB, free: 9.414 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008044/0.6389, allocations: 0.6418 MB / 0.8041 GB, free: 9.191 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.36e-05/0.639, allocations: 44.14 kB / 0.8041 GB, free: 9.16 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003062/0.6393, allocations: 419.1 kB / 0.8045 GB, free: 8.922 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002123/0.6396, allocations: 262 kB / 0.8048 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002347/0.6398, allocations: 178.4 kB / 0.8049 GB, free: 8.684 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.64, allocations: 386.6 kB / 0.8053 GB, free: 8.348 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005372/0.6405, allocations: 275.9 kB / 0.8056 GB, free: 8.309 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006399/0.6412, allocations: 378.6 kB / 0.8059 GB, free: 8.195 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001098/0.6423, allocations: 0.6222 MB / 0.8065 GB, free: 8.098 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.6423, allocations: 4 kB / 0.8065 GB, free: 8.094 MB / 0.5919 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002021/0.6443, allocations: 0.8681 MB / 0.8074 GB, free: 7.887 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.6444, allocations: 10.78 kB / 0.8074 GB, free: 7.883 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.6444, allocations: 0 / 0.8074 GB, free: 7.883 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005728/0.6449, allocations: 85.05 kB / 0.8075 GB, free: 7.848 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006853/0.6456, allocations: 170.1 kB / 0.8076 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002139/0.6478, allocations: 1.619 MB / 0.8092 GB, free: 6.352 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008643/0.6487, allocations: 96.12 kB / 0.8093 GB, free: 6.305 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.932e-05/0.6488, allocations: 41.97 kB / 0.8093 GB, free: 6.293 MB / 0.5919 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.0005301/0.6493, allocations: 278.8 kB / 0.8096 GB, free: 6.148 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001629/0.6495, allocations: 87.41 kB / 0.8097 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002296/0.6518, allocations: 1.104 MB / 0.8108 GB, free: 5.621 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.6518, allocations: 11.78 kB / 0.8108 GB, free: 5.617 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.6518, allocations: 0 / 0.8108 GB, free: 5.617 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/0.6518, allocations: 5.797 kB / 0.8108 GB, free: 5.613 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00315/0.655, allocations: 2.002 MB / 0.8127 GB, free: 4.312 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.655, allocations: 2.562 kB / 0.8127 GB, free: 4.312 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005878/0.6556, allocations: 150.3 kB / 0.8129 GB, free: 4.277 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004279/0.656, allocations: 70.58 kB / 0.813 GB, free: 4.242 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.029e-05/0.6561, allocations: 27.81 kB / 0.813 GB, free: 4.223 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00192/0.658, allocations: 1.653 MB / 0.8146 GB, free: 2.609 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.658, allocations: 0 / 0.8146 GB, free: 2.609 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002127/0.6602, allocations: 1.026 MB / 0.8156 GB, free: 2.031 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003848/0.6606, allocations: 272 kB / 0.8159 GB, free: 1.793 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001263/0.6607, allocations: 20.98 kB / 0.8159 GB, free: 1.777 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007036/0.6614, allocations: 68.94 kB / 0.8159 GB, free: 1.742 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001477/0.6616, allocations: 72.45 kB / 0.816 GB, free: 1.707 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-05/0.6616, allocations: 42.25 kB / 0.8161 GB, free: 1.688 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005724/0.6622, allocations: 466 kB / 0.8165 GB, free: 1.422 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.315e-06/0.6622, allocations: 0 / 0.8165 GB, free: 1.422 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009495/0.6632, allocations: 340.5 kB / 0.8168 GB, free: 1.324 MB / 0.5919 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.001357/0.6646, allocations: 0.6203 MB / 0.8174 GB, free: 1.039 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001794/0.6664, allocations: 0.8511 MB / 0.8183 GB, free: 0.5977 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.6664, allocations: 4 kB / 0.8183 GB, free: 0.5938 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009222/0.6673, allocations: 0.5303 MB / 0.8188 GB, free: 300 kB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001307/0.6686, allocations: 298 kB / 0.8191 GB, free: 152 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003045/0.6717, allocations: 1.757 MB / 0.8208 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005701/0.6723, allocations: 1.037 MB / 0.8218 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003223/0.6726, allocations: 120.1 kB / 0.8219 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of SimCode: time 8.21e-07/0.6726, allocations: 4 kB / 0.8219 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of Templates: time 0.02735/0.7, allocations: 19.44 MB / 0.8409 GB, free: 13.93 MB / 0.6231 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)