Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") translateModel(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 186.6 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4559/0.4559, allocations: 87.49 MB / 104.9 MB, free: 13.03 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 222.9 MB / 349.1 MB, free: 2.754 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 104.6 kB / 420 MB, free: 8.496 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001076/0.001076, allocations: 59.86 kB / 0.4891 GB, free: 7.695 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.317/0.3181, allocations: 70.07 MB / 0.5575 GB, free: 44.66 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.004977/0.3231, allocations: 4.101 MB / 0.5615 GB, free: 41.08 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.149/0.4721, allocations: 148.1 MB / 0.7062 GB, free: 4.387 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009156/0.473, allocations: 15.94 kB / 0.7062 GB, free: 4.371 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0006955/0.4738, allocations: 131 kB / 0.7063 GB, free: 4.242 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001618/0.4754, allocations: 405.4 kB / 0.7067 GB, free: 3.848 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001803/0.4773, allocations: 0.6862 MB / 0.7074 GB, free: 3.168 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001256/0.4785, allocations: 1.086 MB / 0.7084 GB, free: 2.074 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009314/0.4795, allocations: 0.5823 MB / 0.709 GB, free: 1.477 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005822/0.4801, allocations: 374.5 kB / 0.7094 GB, free: 1.109 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005464/0.4806, allocations: 409.9 kB / 0.7097 GB, free: 0.707 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001559/0.4808, allocations: 52 kB / 0.7098 GB, free: 0.6562 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008314/0.4816, allocations: 387.7 kB / 0.7102 GB, free: 284 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0002593/0.4819, allocations: 219.1 kB / 0.7104 GB, free: 64 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.3138/0.7957, allocations: 441.4 kB / 0.7108 GB, free: 3.254 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.00161/0.7973, allocations: 1.385 MB / 0.7121 GB, free: 3.223 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.7974, allocations: 1.344 kB / 0.7121 GB, free: 3.223 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.252e-06/0.7974, allocations: 1.203 kB / 0.7121 GB, free: 3.223 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.258e-05/0.7974, allocations: 0 / 0.7121 GB, free: 3.223 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.002173/0.7996, allocations: 1.317 MB / 0.7134 GB, free: 2.5 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/0.7996, allocations: 9.656 kB / 0.7134 GB, free: 2.5 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001025/0.8007, allocations: 179.1 kB / 0.7136 GB, free: 2.445 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001182/0.8019, allocations: 0.7038 MB / 0.7143 GB, free: 2.148 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.463e-05/0.8019, allocations: 62.03 kB / 0.7144 GB, free: 2.145 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/0.8021, allocations: 75.81 kB / 0.7144 GB, free: 2.145 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001565/0.8036, allocations: 0.8471 MB / 0.7153 GB, free: 1.996 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/0.8037, allocations: 4 kB / 0.7153 GB, free: 1.996 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.857e-05/0.8037, allocations: 32.34 kB / 0.7153 GB, free: 1.996 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.327e-05/0.8038, allocations: 22.47 kB / 0.7153 GB, free: 1.992 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001651/0.8054, allocations: 1.051 MB / 0.7163 GB, free: 1.988 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003562/0.809, allocations: 2.363 MB / 0.7187 GB, free: 17.22 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/0.8102, allocations: 0.7018 MB / 0.7193 GB, free: 17.19 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004257/0.8106, allocations: 268.5 kB / 0.7196 GB, free: 17.18 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 6.878e-05/0.8107, allocations: 29.12 kB / 0.7196 GB, free: 17.17 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006787/0.8114, allocations: 421.1 kB / 0.72 GB, free: 17.1 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=71): time 2.174e-06/0.8114, allocations: 0 / 0.72 GB, free: 17.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=71): time 0.002691/0.8141, allocations: 1.064 MB / 0.7211 GB, free: 16.9 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/0.8142, allocations: 191.4 kB / 0.7212 GB, free: 16.68 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006393/0.8148, allocations: 0.5889 MB / 0.7218 GB, free: 16.55 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.246e-05/0.8149, allocations: 43.77 kB / 0.7219 GB, free: 16.52 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002312/0.8152, allocations: 371.5 kB / 0.7222 GB, free: 16.34 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001336/0.8153, allocations: 237 kB / 0.7224 GB, free: 16.19 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002305/0.8155, allocations: 154 kB / 0.7226 GB, free: 16.17 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.8157, allocations: 376.9 kB / 0.7229 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004085/0.8161, allocations: 235 kB / 0.7232 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004856/0.8166, allocations: 326 kB / 0.7235 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008692/0.8175, allocations: 0.5437 MB / 0.724 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.8175, allocations: 0.875 kB / 0.724 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001712/0.8192, allocations: 0.7658 MB / 0.7248 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.8192, allocations: 5.406 kB / 0.7248 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.8193, allocations: 3.531 kB / 0.7248 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005701/0.8198, allocations: 82.52 kB / 0.7248 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005433/0.8204, allocations: 146 kB / 0.725 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001794/0.8222, allocations: 1.516 MB / 0.7265 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006104/0.8228, allocations: 86.45 kB / 0.7266 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-05/0.8229, allocations: 28.92 kB / 0.7266 GB, free: 14.32 MB / 0.5261 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 (83): * Single equations (assignments): 82 * 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.0003745/0.8233, allocations: 247.8 kB / 0.7268 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/0.8234, allocations: 83.52 kB / 0.7269 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001994/0.8254, allocations: 0.9601 MB / 0.7278 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.257e-05/0.8254, allocations: 8.812 kB / 0.7278 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.8254, allocations: 4 kB / 0.7278 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.8254, allocations: 7.047 kB / 0.7279 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.8265, allocations: 0.8094 MB / 0.7286 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.8265, allocations: 0.5 kB / 0.7286 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006091/0.8271, allocations: 138.9 kB / 0.7288 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005528/0.8277, allocations: 87.22 kB / 0.7289 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.914e-05/0.8277, allocations: 22.27 kB / 0.7289 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001692/0.8294, allocations: 1.55 MB / 0.7304 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.8295, allocations: 1.203 kB / 0.7304 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002835/0.8323, allocations: 1.82 MB / 0.7322 GB, free: 11.76 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003337/0.8326, allocations: 249.3 kB / 0.7324 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.585e-05/0.8328, allocations: 23.66 kB / 0.7324 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004867/0.8332, allocations: 52.5 kB / 0.7325 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/0.8334, allocations: 56.83 kB / 0.7325 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.645e-05/0.8334, allocations: 31.67 kB / 0.7326 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004545/0.8339, allocations: 426.1 kB / 0.733 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8339, allocations: 0 / 0.733 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000855/0.8348, allocations: 289.2 kB / 0.7332 GB, free: 11.47 MB / 0.5261 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * 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.001197/0.836, allocations: 0.6075 MB / 0.7338 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001344/0.8373, allocations: 0.7374 MB / 0.7346 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.8373, allocations: 3.047 kB / 0.7346 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008747/0.8382, allocations: 491.1 kB / 0.735 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/0.8393, allocations: 252.5 kB / 0.7353 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003992/0.8433, allocations: 2.428 MB / 0.7376 GB, free: 9.797 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005185/0.8439, allocations: 1.013 MB / 0.7386 GB, free: 9.09 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0008341/0.8447, allocations: 253.5 kB / 0.7389 GB, free: 9.02 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002205/0.8449, allocations: 93.06 kB / 0.739 GB, free: 9.012 MB / 0.5261 GB Notification: Performance of SimCode: time 5.91e-07/0.845, allocations: 4 kB / 0.739 GB, free: 9.008 MB / 0.5261 GB Notification: Performance of Templates: time 0.02112/0.8661, allocations: 13.39 MB / 0.752 GB, free: 6.676 MB / 0.5261 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)