Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 103.6 kB / 16.4 MB, free: 6.516 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.001562/0.001562, allocations: 189.3 kB / 17.34 MB, free: 5.738 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.391/1.391, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7423/0.7423, allocations: 122.9 MB / 414.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001771/0.001771, allocations: 58.48 kB / 0.5685 GB, free: 28.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1759, allocations: 77.94 MB / 0.6446 GB, free: 9.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.00686/0.1828, allocations: 5.152 MB / 0.6496 GB, free: 3.844 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.527/0.7098, allocations: 150.7 MB / 0.7968 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008652/0.7107, allocations: 19.34 kB / 0.7968 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005742/0.7113, allocations: 206.5 kB / 0.797 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001615/0.713, allocations: 0.5677 MB / 0.7976 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001922/0.7149, allocations: 0.8694 MB / 0.7984 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001422/0.7163, allocations: 1.457 MB / 0.7998 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008352/0.7172, allocations: 0.6508 MB / 0.8005 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005844/0.7178, allocations: 0.5149 MB / 0.801 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005162/0.7183, allocations: 0.5437 MB / 0.8015 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001522/0.7185, allocations: 127.6 kB / 0.8016 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009012/0.7194, allocations: 0.5051 MB / 0.8021 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002676/0.7197, allocations: 318.2 kB / 0.8024 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004986/0.7202, allocations: 0.6111 MB / 0.803 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001849/0.722, allocations: 1.759 MB / 0.8047 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.722, allocations: 0 / 0.8047 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7221, allocations: 0 / 0.8047 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.475e-05/0.7221, allocations: 0 / 0.8047 GB, free: 12.14 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: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.002616/0.7247, allocations: 1.552 MB / 0.8062 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.7247, allocations: 15.19 kB / 0.8063 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001054/0.7258, allocations: 214.1 kB / 0.8065 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001091/0.7269, allocations: 0.7884 MB / 0.8072 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.923e-05/0.727, allocations: 80.16 kB / 0.8073 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.947e-05/0.7271, allocations: 91.34 kB / 0.8074 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001594/0.7287, allocations: 1.016 MB / 0.8084 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/0.7287, allocations: 0 / 0.8084 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.461e-05/0.7288, allocations: 43.27 kB / 0.8084 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.63e-05/0.7288, allocations: 23.62 kB / 0.8085 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001731/0.7306, allocations: 1.175 MB / 0.8096 GB, free: 10.32 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.0039/0.7345, allocations: 2.951 MB / 0.8125 GB, free: 8.57 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001577/0.7361, allocations: 0.9066 MB / 0.8134 GB, free: 8.223 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005738/0.7367, allocations: 320.3 kB / 0.8137 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006387/0.7373, allocations: 469.6 kB / 0.8141 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008709/0.7382, allocations: 0.4978 MB / 0.8146 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=82): time 2.304e-06/0.7382, allocations: 2.25 kB / 0.8146 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82): time 0.003277/0.7415, allocations: 1.231 MB / 0.8158 GB, free: 6.574 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/0.7416, allocations: 206.5 kB / 0.816 GB, free: 6.34 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008122/0.7424, allocations: 0.6388 MB / 0.8166 GB, free: 5.965 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.902e-05/0.7425, allocations: 42.17 kB / 0.8167 GB, free: 5.922 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003517/0.7429, allocations: 443.9 kB / 0.8171 GB, free: 5.539 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002095/0.7431, allocations: 282.1 kB / 0.8174 GB, free: 5.301 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002543/0.7433, allocations: 165.1 kB / 0.8175 GB, free: 5.203 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000176/0.7435, allocations: 388.7 kB / 0.8179 GB, free: 4.832 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005732/0.7441, allocations: 278.6 kB / 0.8182 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006533/0.7448, allocations: 373.6 kB / 0.8185 GB, free: 4.48 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001159/0.7459, allocations: 0.6299 MB / 0.8191 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.746, allocations: 0 / 0.8191 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002003/0.748, allocations: 0.8788 MB / 0.82 GB, free: 3.695 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.276e-05/0.748, allocations: 10.41 kB / 0.82 GB, free: 3.691 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.748, allocations: 0 / 0.82 GB, free: 3.691 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005759/0.7486, allocations: 87.48 kB / 0.8201 GB, free: 3.648 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006609/0.7493, allocations: 163.6 kB / 0.8202 GB, free: 3.609 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002116/0.7514, allocations: 1.63 MB / 0.8218 GB, free: 2.008 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007951/0.7522, allocations: 101.8 kB / 0.8219 GB, free: 1.941 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.45e-05/0.7523, allocations: 42.28 kB / 0.822 GB, free: 1.922 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.0004777/0.7528, allocations: 269.1 kB / 0.8222 GB, free: 1.715 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001577/0.7529, allocations: 87.5 kB / 0.8223 GB, free: 1.668 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002415/0.7554, allocations: 1.102 MB / 0.8234 GB, free: 1.043 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/0.7554, allocations: 9.938 kB / 0.8234 GB, free: 1.043 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.7554, allocations: 0 / 0.8234 GB, free: 1.043 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.14e-05/0.7554, allocations: 3.984 kB / 0.8234 GB, free: 1.039 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00322/0.7586, allocations: 2.001 MB / 0.8254 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.7587, allocations: 0 / 0.8254 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006043/0.7593, allocations: 155.5 kB / 0.8255 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004262/0.7597, allocations: 68.03 kB / 0.8256 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.32e-05/0.7598, allocations: 29.77 kB / 0.8256 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001848/0.7616, allocations: 1.661 MB / 0.8272 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.7616, allocations: 0 / 0.8272 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002043/0.7637, allocations: 1.025 MB / 0.8282 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003864/0.7641, allocations: 282.6 kB / 0.8285 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001277/0.7642, allocations: 17.12 kB / 0.8285 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000683/0.7649, allocations: 65.33 kB / 0.8286 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001576/0.7651, allocations: 73.55 kB / 0.8286 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.128e-05/0.7652, allocations: 35.02 kB / 0.8287 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000554/0.7657, allocations: 466.2 kB / 0.8291 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7657, allocations: 0 / 0.8291 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009052/0.7666, allocations: 374 kB / 0.8295 GB, free: 12.71 MB / 0.6075 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 (93): * Single equations (assignments): 87 * 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.001355/0.768, allocations: 0.6185 MB / 0.8301 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001743/0.7698, allocations: 0.8576 MB / 0.8309 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.7698, allocations: 0 / 0.8309 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009345/0.7707, allocations: 0.53 MB / 0.8314 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00127/0.772, allocations: 316.6 kB / 0.8317 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002862/0.7749, allocations: 1.754 MB / 0.8334 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005945/0.7755, allocations: 1.038 MB / 0.8345 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008504/0.7764, allocations: 277.9 kB / 0.8347 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002657/0.7766, allocations: 104.5 kB / 0.8348 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of SimCode: time 4.71e-07/0.7766, allocations: 0 / 0.8348 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of Templates: time 0.02585/0.8025, allocations: 15.92 MB / 0.8504 GB, free: 10.55 MB / 0.6231 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)