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.001701/0.001701, allocations: 107.8 kB / 16.36 MB, free: 6.293 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.002685/0.002685, allocations: 193.5 kB / 17.29 MB, free: 5.859 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.66/1.66, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002546/0.002546, allocations: 286.3 kB / 291.4 MB, free: 14.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.029/1.029, allocations: 169.3 MB / 0.4989 GB, free: 4.473 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001786/0.001787, allocations: 94.25 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2504/0.2523, allocations: 86.98 MB / 0.6816 GB, free: 7.457 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.006749/0.259, allocations: 4.335 MB / 0.6858 GB, free: 3.098 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5888/0.8479, allocations: 150.5 MB / 0.8328 GB, free: 3.41 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001008/0.8489, allocations: 15.94 kB / 0.8329 GB, free: 3.395 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006296/0.8496, allocations: 165.4 kB / 0.833 GB, free: 3.234 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001994/0.8516, allocations: 0.5096 MB / 0.8335 GB, free: 2.742 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002121/0.8537, allocations: 0.8168 MB / 0.8343 GB, free: 1.93 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001508/0.8552, allocations: 1.301 MB / 0.8356 GB, free: 0.625 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008867/0.8561, allocations: 0.6189 MB / 0.8362 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006194/0.8568, allocations: 478.2 kB / 0.8366 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000526/0.8573, allocations: 489.8 kB / 0.8371 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001368/0.8575, allocations: 112 kB / 0.8372 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009378/0.8584, allocations: 487.5 kB / 0.8377 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002728/0.8587, allocations: 291.1 kB / 0.838 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004447/0.8591, allocations: 0.5401 MB / 0.8385 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001675/0.8608, allocations: 1.591 MB / 0.84 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.8608, allocations: 0 / 0.84 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.853e-06/0.8608, allocations: 0 / 0.84 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.527e-05/0.8609, allocations: 3.984 kB / 0.84 GB, free: 12.03 MB / 0.6075 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.002449/0.8633, allocations: 1.409 MB / 0.8414 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.8634, allocations: 11.78 kB / 0.8414 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009113/0.8643, allocations: 187.4 kB / 0.8416 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001119/0.8654, allocations: 0.762 MB / 0.8424 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.635e-05/0.8655, allocations: 58 kB / 0.8424 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/0.8656, allocations: 80 kB / 0.8425 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001437/0.867, allocations: 0.9181 MB / 0.8434 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.8671, allocations: 3.938 kB / 0.8434 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.089e-05/0.8672, allocations: 39.94 kB / 0.8434 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.894e-05/0.8672, allocations: 20 kB / 0.8434 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001647/0.8688, allocations: 1.108 MB / 0.8445 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003786/0.8726, allocations: 2.453 MB / 0.8469 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00139/0.874, allocations: 0.79 MB / 0.8477 GB, free: 4 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005026/0.8746, allocations: 295.2 kB / 0.848 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.516e-05/0.8747, allocations: 36.86 kB / 0.848 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008374/0.8755, allocations: 491.1 kB / 0.8485 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=80): time 2.936e-06/0.8755, allocations: 0 / 0.8485 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of matching and sorting (n=80): time 0.003073/0.8786, allocations: 1.19 MB / 0.8496 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001217/0.8787, allocations: 192.6 kB / 0.8498 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007977/0.8795, allocations: 0.6253 MB / 0.8504 GB, free: 1.094 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.137e-05/0.8796, allocations: 45.7 kB / 0.8505 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003084/0.8799, allocations: 392.3 kB / 0.8509 GB, free: 0.6523 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001954/0.8801, allocations: 264.3 kB / 0.8511 GB, free: 400 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002501/0.8804, allocations: 162.5 kB / 0.8513 GB, free: 232 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001685/0.8806, allocations: 390.7 kB / 0.8516 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004879/0.8811, allocations: 265.9 kB / 0.8519 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005811/0.8816, allocations: 363 kB / 0.8522 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/0.8827, allocations: 0.6033 MB / 0.8528 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-06/0.8827, allocations: 0 / 0.8528 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001866/0.8846, allocations: 0.8488 MB / 0.8537 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.8846, allocations: 8 kB / 0.8537 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.8846, allocations: 0 / 0.8537 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005977/0.8852, allocations: 80.84 kB / 0.8537 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006312/0.8859, allocations: 163.7 kB / 0.8539 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002139/0.888, allocations: 1.632 MB / 0.8555 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007172/0.8887, allocations: 97.72 kB / 0.8556 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-05/0.8888, allocations: 31.98 kB / 0.8556 GB, free: 11.59 MB / 0.6231 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.0004599/0.8893, allocations: 277.5 kB / 0.8559 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001544/0.8895, allocations: 82.97 kB / 0.856 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002232/0.8917, allocations: 1.059 MB / 0.857 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/0.8917, allocations: 12 kB / 0.857 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.8917, allocations: 0 / 0.857 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/0.8917, allocations: 7.922 kB / 0.857 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009911/0.8927, allocations: 0.8875 MB / 0.8579 GB, free: 9.199 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.8928, allocations: 8 kB / 0.8579 GB, free: 9.191 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005504/0.8933, allocations: 143.8 kB / 0.858 GB, free: 9.051 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000429/0.8937, allocations: 72.78 kB / 0.8581 GB, free: 8.977 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.61e-05/0.8938, allocations: 27.98 kB / 0.8581 GB, free: 8.949 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001794/0.8956, allocations: 1.646 MB / 0.8597 GB, free: 7.156 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.8956, allocations: 64 / 0.8597 GB, free: 7.156 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001822/0.8975, allocations: 0.9316 MB / 0.8606 GB, free: 6.199 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003794/0.8979, allocations: 264 kB / 0.8609 GB, free: 5.922 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/0.898, allocations: 20 kB / 0.8609 GB, free: 5.902 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005573/0.8985, allocations: 67.91 kB / 0.861 GB, free: 5.836 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001409/0.8987, allocations: 64.91 kB / 0.861 GB, free: 5.773 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.002e-05/0.8988, allocations: 43.97 kB / 0.8611 GB, free: 5.73 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005239/0.8993, allocations: 451 kB / 0.8615 GB, free: 5.293 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8993, allocations: 0 / 0.8615 GB, free: 5.293 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008326/0.9001, allocations: 323.1 kB / 0.8618 GB, free: 4.977 MB / 0.6231 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.001365/0.9015, allocations: 0.6091 MB / 0.8624 GB, free: 4.547 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001602/0.9031, allocations: 0.8358 MB / 0.8632 GB, free: 3.699 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.471e-06/0.9031, allocations: 4 kB / 0.8632 GB, free: 3.695 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0008779/0.904, allocations: 0.5082 MB / 0.8637 GB, free: 3.172 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/0.9051, allocations: 287.4 kB / 0.864 GB, free: 2.914 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00355/0.9087, allocations: 1.73 MB / 0.8657 GB, free: 1.16 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005485/0.9092, allocations: 1.019 MB / 0.8667 GB, free: 120 kB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0007643/0.91, allocations: 270.6 kB / 0.8669 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002487/0.9103, allocations: 103.4 kB / 0.867 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of SimCode: time 7.81e-07/0.9103, allocations: 0 / 0.867 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of Templates: time 0.02546/0.9357, allocations: 14.63 MB / 0.8813 GB, free: 1.336 MB / 0.6387 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)