Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001346/0.001346, allocations: 192.5 kB / 16.25 MB, free: 6.629 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.461/1.461, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002688/0.002688, allocations: 286.6 kB / 290.4 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.093/1.093, allocations: 178.6 MB / 0.507 GB, free: 4.719 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002837/0.002837, allocations: 96.02 kB / 0.6059 GB, free: 24.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1824/0.1853, allocations: 89.15 MB / 0.693 GB, free: 4.68 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.0103/0.1956, allocations: 8.343 MB / 0.7011 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5598/0.7554, allocations: 149.6 MB / 0.8472 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002016/0.7575, allocations: 23.47 kB / 0.8472 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001127/0.7587, allocations: 243.3 kB / 0.8475 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003232/0.7619, allocations: 0.7332 MB / 0.8482 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003315/0.7652, allocations: 1.254 MB / 0.8494 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004299/0.7696, allocations: 2.983 MB / 0.8523 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002328/0.7719, allocations: 1.488 MB / 0.8538 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00214/0.7741, allocations: 1.191 MB / 0.8549 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002099/0.7762, allocations: 1.34 MB / 0.8562 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0005163/0.7767, allocations: 325.2 kB / 0.8566 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001537/0.7782, allocations: 0.6718 MB / 0.8572 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007066/0.779, allocations: 0.7 MB / 0.8579 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001539/0.7805, allocations: 1.339 MB / 0.8592 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004698/0.7852, allocations: 3.596 MB / 0.8627 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.7853, allocations: 0 / 0.8627 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.815e-06/0.7853, allocations: 0 / 0.8627 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.613e-05/0.7854, allocations: 0 / 0.8627 GB, free: 11.2 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: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.007489/0.7929, allocations: 2.826 MB / 0.8655 GB, free: 9.172 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.613e-05/0.7929, allocations: 10.09 kB / 0.8655 GB, free: 9.172 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01548/0.8084, allocations: 2.11 MB / 0.8675 GB, free: 8.215 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003786/0.8123, allocations: 1.266 MB / 0.8688 GB, free: 7.176 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001919/0.8125, allocations: 168 kB / 0.8689 GB, free: 7.098 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000606/0.8131, allocations: 225.7 kB / 0.8692 GB, free: 7.02 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01082/0.824, allocations: 3.281 MB / 0.8724 GB, free: 3.883 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.694e-05/0.824, allocations: 3.938 kB / 0.8724 GB, free: 3.879 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003101/0.8243, allocations: 97.22 kB / 0.8725 GB, free: 3.785 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.035e-05/0.8244, allocations: 56 kB / 0.8725 GB, free: 3.73 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01351/0.8379, allocations: 4.197 MB / 0.8766 GB, free: 15.52 MB / 0.6075 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.01967/0.8576, allocations: 8.1 MB / 0.8845 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00886/0.8665, allocations: 2.873 MB / 0.8873 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004487/0.871, allocations: 1.497 MB / 0.8888 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008706/0.8719, allocations: 0.5035 MB / 0.8893 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005345/0.8773, allocations: 1.848 MB / 0.8911 GB, free: 320 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=213): time 3.536e-06/0.8773, allocations: 0 / 0.8911 GB, free: 320 kB / 0.6075 GB Notification: Performance of matching and sorting (n=213): time 0.01492/0.8922, allocations: 4.47 MB / 0.8955 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001579/0.8924, allocations: 209.8 kB / 0.8957 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0016/0.894, allocations: 0.9448 MB / 0.8966 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0003072/0.8943, allocations: 61.7 kB / 0.8966 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008141/0.8952, allocations: 0.7427 MB / 0.8974 GB, free: 9.785 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008076/0.896, allocations: 0.6814 MB / 0.898 GB, free: 9.094 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008166/0.8968, allocations: 391.2 kB / 0.8984 GB, free: 8.699 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.897, allocations: 305.1 kB / 0.8987 GB, free: 8.398 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004154/0.9011, allocations: 1.253 MB / 0.8999 GB, free: 7.145 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004398/0.9055, allocations: 1.451 MB / 0.9013 GB, free: 5.676 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00831/0.9139, allocations: 2.606 MB / 0.9039 GB, free: 3.051 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.9139, allocations: 4 kB / 0.9039 GB, free: 3.047 MB / 0.6231 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01014/0.924, allocations: 3.124 MB / 0.9069 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.712e-05/0.9241, allocations: 4 kB / 0.9069 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/0.9241, allocations: 5.875 kB / 0.9069 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006025/0.9247, allocations: 84.84 kB / 0.907 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003978/0.9287, allocations: 0.6045 MB / 0.9076 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002563/0.9313, allocations: 1.647 MB / 0.9092 GB, free: 13.42 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003883/0.9352, allocations: 378.8 kB / 0.9096 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000502/0.9357, allocations: 105.7 kB / 0.9097 GB, free: 12.95 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,HDifWal.incAng.decAng.tNext,$PRE.HDifWal.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,$PRE.HDifFlo.incAng.decAng.tNext,HDifRoo.incAng.decAng.tNext,$PRE.HDifRoo.incAng.decAng.tNext,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,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (239): * Single equations (assignments): 238 * 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.001443/0.9372, allocations: 437.4 kB / 0.9101 GB, free: 12.51 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006338/0.9378, allocations: 154 kB / 0.9102 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01195/0.9498, allocations: 3.72 MB / 0.9139 GB, free: 8.621 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.477e-05/0.9498, allocations: 24 kB / 0.9139 GB, free: 8.598 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.9498, allocations: 0 / 0.9139 GB, free: 8.598 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.682e-05/0.9499, allocations: 11.95 kB / 0.9139 GB, free: 8.586 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00419/0.9541, allocations: 2.452 MB / 0.9163 GB, free: 6.082 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/0.9541, allocations: 0 / 0.9163 GB, free: 6.082 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003602/0.9577, allocations: 0.5695 MB / 0.9169 GB, free: 5.512 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005152/0.9582, allocations: 80.72 kB / 0.9169 GB, free: 5.43 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003233/0.9586, allocations: 71.91 kB / 0.917 GB, free: 5.359 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002246/0.9608, allocations: 1.663 MB / 0.9186 GB, free: 3.551 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.9609, allocations: 0 / 0.9186 GB, free: 3.551 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0107/0.9716, allocations: 3.206 MB / 0.9218 GB, free: 332 kB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00135/0.973, allocations: 0.5451 MB / 0.9223 GB, free: 15.76 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003795/0.9733, allocations: 59.86 kB / 0.9224 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002832/0.9762, allocations: 280.8 kB / 0.9226 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003586/0.9766, allocations: 149.8 kB / 0.9228 GB, free: 15.28 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000276/0.9768, allocations: 91.91 kB / 0.9228 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001153/0.978, allocations: 0.6997 MB / 0.9235 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.978, allocations: 0 / 0.9235 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002095/0.9801, allocations: 0.6739 MB / 0.9242 GB, free: 13.8 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (231): * Single equations (assignments): 222 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.002287/0.9824, allocations: 0.6656 MB / 0.9248 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01393/0.9963, allocations: 3.67 MB / 0.9284 GB, free: 9.629 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.84e-06/0.9964, allocations: 256 / 0.9284 GB, free: 9.629 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.005141/1.002, allocations: 1.759 MB / 0.9301 GB, free: 7.859 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002094/1.004, allocations: 400.4 kB / 0.9305 GB, free: 7.496 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01036/1.014, allocations: 5.087 MB / 0.9355 GB, free: 2.375 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001162/1.015, allocations: 1.426 MB / 0.9369 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.004013/1.019, allocations: 0.5795 MB / 0.9374 GB, free: 336 kB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001014/1.02, allocations: 239.2 kB / 0.9377 GB, free: 96 kB / 0.6544 GB Notification: Performance of SimCode: time 1.302e-06/1.02, allocations: 0 / 0.9377 GB, free: 96 kB / 0.6544 GB Notification: Performance of Templates: time 0.06065/1.081, allocations: 31.28 MB / 0.9682 GB, free: 1.043 MB / 0.6856 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)