Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 195.8 kB / 16.53 MB, free: 6.699 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.324/1.324, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002025/0.002025, allocations: 279.1 kB / 290.7 MB, free: 1.984 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9579/0.9579, allocations: 169.3 MB / 0.4982 GB, free: 13.87 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001785/0.001785, allocations: 102.6 kB / 0.5952 GB, free: 27.72 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1437, allocations: 86.98 MB / 0.6802 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.006137/0.1499, allocations: 4.335 MB / 0.6844 GB, free: 12.33 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4283/0.5782, allocations: 150.5 MB / 0.8314 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008006/0.5791, allocations: 15.34 kB / 0.8314 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007211/0.5798, allocations: 171.3 kB / 0.8316 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002084/0.5819, allocations: 0.4981 MB / 0.8321 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002134/0.5841, allocations: 0.8162 MB / 0.8329 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001507/0.5856, allocations: 1.289 MB / 0.8342 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001123/0.5867, allocations: 0.6192 MB / 0.8348 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000787/0.5875, allocations: 474.8 kB / 0.8352 GB, free: 432 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007507/0.5883, allocations: 489.2 kB / 0.8357 GB, free: 320 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003532/0.5887, allocations: 114.6 kB / 0.8358 GB, free: 320 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00112/0.5898, allocations: 462.7 kB / 0.8362 GB, free: 304 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003868/0.5902, allocations: 296.4 kB / 0.8365 GB, free: 256 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007238/0.5909, allocations: 0.53 MB / 0.837 GB, free: 88 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002133/0.5931, allocations: 1.555 MB / 0.8385 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.5931, allocations: 0 / 0.8385 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.193e-06/0.5931, allocations: 0 / 0.8385 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.571e-05/0.5932, allocations: 4 kB / 0.8385 GB, free: 15.86 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.003346/0.5965, allocations: 1.411 MB / 0.8399 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.5966, allocations: 10.25 kB / 0.8399 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001103/0.5977, allocations: 184.6 kB / 0.8401 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001243/0.5989, allocations: 0.7395 MB / 0.8408 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.701e-05/0.599, allocations: 64.31 kB / 0.8409 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001392/0.5991, allocations: 83.06 kB / 0.841 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001686/0.6008, allocations: 0.9111 MB / 0.8419 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/0.6009, allocations: 1.312 kB / 0.8419 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.644e-05/0.601, allocations: 35.94 kB / 0.8419 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.963e-05/0.601, allocations: 20.16 kB / 0.8419 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001759/0.6028, allocations: 1.108 MB / 0.843 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004021/0.6068, allocations: 2.483 MB / 0.8454 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00153/0.6083, allocations: 0.798 MB / 0.8462 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005276/0.6089, allocations: 294.9 kB / 0.8465 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.469e-05/0.609, allocations: 41.91 kB / 0.8465 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009695/0.6099, allocations: 497.8 kB / 0.847 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=80): time 2.786e-06/0.61, allocations: 0 / 0.847 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80): time 0.003273/0.6132, allocations: 1.182 MB / 0.8482 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/0.6134, allocations: 198.3 kB / 0.8483 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008371/0.6142, allocations: 0.6234 MB / 0.849 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.806e-05/0.6143, allocations: 50.97 kB / 0.849 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003358/0.6146, allocations: 391.7 kB / 0.8494 GB, free: 9.695 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002228/0.6149, allocations: 260.2 kB / 0.8496 GB, free: 9.477 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002511/0.6151, allocations: 162.9 kB / 0.8498 GB, free: 9.379 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001863/0.6153, allocations: 388.6 kB / 0.8502 GB, free: 9.008 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005498/0.6159, allocations: 268.8 kB / 0.8504 GB, free: 8.879 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006409/0.6165, allocations: 365.8 kB / 0.8508 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001124/0.6177, allocations: 0.601 MB / 0.8513 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.6177, allocations: 0 / 0.8513 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002024/0.6197, allocations: 0.8493 MB / 0.8522 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.6197, allocations: 5.188 kB / 0.8522 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.6197, allocations: 2.719 kB / 0.8522 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006109/0.6204, allocations: 81.34 kB / 0.8523 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006365/0.621, allocations: 164.1 kB / 0.8524 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002103/0.6231, allocations: 1.629 MB / 0.854 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007876/0.6239, allocations: 94.03 kB / 0.8541 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.967e-05/0.624, allocations: 42.69 kB / 0.8541 GB, free: 6.152 MB / 0.5762 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 (95): * Single equations (assignments): 94 * 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.0004625/0.6245, allocations: 271.3 kB / 0.8544 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002046/0.6247, allocations: 83.25 kB / 0.8545 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002396/0.6271, allocations: 1.057 MB / 0.8555 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.6271, allocations: 7.625 kB / 0.8555 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.6271, allocations: 2.094 kB / 0.8555 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/0.6271, allocations: 7.922 kB / 0.8555 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001086/0.6282, allocations: 0.8891 MB / 0.8564 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/0.6282, allocations: 0 / 0.8564 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005532/0.6288, allocations: 154.4 kB / 0.8565 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004501/0.6293, allocations: 73.88 kB / 0.8566 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.714e-05/0.6293, allocations: 24.05 kB / 0.8566 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001873/0.6312, allocations: 1.663 MB / 0.8583 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.6312, allocations: 0 / 0.8583 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001956/0.6332, allocations: 0.9272 MB / 0.8592 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000386/0.6336, allocations: 267.3 kB / 0.8594 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000162/0.6338, allocations: 20.66 kB / 0.8594 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006543/0.6344, allocations: 62.45 kB / 0.8595 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001399/0.6346, allocations: 71.72 kB / 0.8596 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.06e-05/0.6347, allocations: 39.12 kB / 0.8596 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005786/0.6352, allocations: 454.5 kB / 0.86 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6353, allocations: 0 / 0.86 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000869/0.6361, allocations: 305.4 kB / 0.8603 GB, free: 1.75 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.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 85 * 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.001385/0.6375, allocations: 0.5997 MB / 0.8609 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002323/0.6399, allocations: 1.038 MB / 0.8619 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.6399, allocations: 4.938 kB / 0.8619 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009063/0.6408, allocations: 0.5084 MB / 0.8624 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001195/0.642, allocations: 292.2 kB / 0.8627 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003974/0.646, allocations: 1.764 MB / 0.8644 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006761/0.6467, allocations: 1.022 MB / 0.8654 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009032/0.6476, allocations: 259.7 kB / 0.8657 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002592/0.6479, allocations: 97.73 kB / 0.8658 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of SimCode: time 7.11e-07/0.6479, allocations: 4 kB / 0.8658 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of Templates: time 0.02493/0.6728, allocations: 14.64 MB / 0.8801 GB, free: 3.641 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)