Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.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.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001027/0.001028, allocations: 92.78 kB / 15.36 MB, free: 0.7383 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.00815/0.00815, allocations: 173 kB / 16.26 MB, free: 6.613 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.343/1.343, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00174/0.00174, allocations: 270.6 kB / 291.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9376/0.9376, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004124/0.0004124, allocations: 13.84 kB / 0.5986 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1469, allocations: 88.55 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.004991/0.1519, allocations: 4.304 MB / 0.6893 GB, free: 10.75 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4174/0.5693, allocations: 146.8 MB / 0.8327 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005459/0.5699, allocations: 16.59 kB / 0.8327 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004502/0.5704, allocations: 148 kB / 0.8328 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001275/0.5717, allocations: 461.1 kB / 0.8333 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001838/0.5735, allocations: 0.7444 MB / 0.834 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001347/0.5749, allocations: 1.344 MB / 0.8353 GB, free: 11 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00112/0.576, allocations: 0.8737 MB / 0.8362 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005925/0.5766, allocations: 395.6 kB / 0.8365 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004577/0.5771, allocations: 447.2 kB / 0.837 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.624e-05/0.5772, allocations: 28.56 kB / 0.837 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000726/0.5779, allocations: 371.8 kB / 0.8373 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002024/0.5781, allocations: 213.2 kB / 0.8375 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004628/0.5786, allocations: 0.5438 MB / 0.8381 GB, free: 9.195 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001719/0.5803, allocations: 1.78 MB / 0.8398 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.5803, allocations: 0 / 0.8398 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5803, allocations: 0 / 0.8398 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.621e-05/0.5803, allocations: 0 / 0.8398 GB, free: 7.895 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.00238/0.5827, allocations: 1.415 MB / 0.8412 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.5828, allocations: 9.781 kB / 0.8412 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009051/0.5837, allocations: 232.4 kB / 0.8414 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/0.5849, allocations: 0.848 MB / 0.8423 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.396e-05/0.5849, allocations: 90.78 kB / 0.8423 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001478/0.5851, allocations: 113.6 kB / 0.8425 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001926/0.587, allocations: 1.202 MB / 0.8436 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/0.5871, allocations: 3.938 kB / 0.8436 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/0.5872, allocations: 53.81 kB / 0.8437 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.859e-05/0.5872, allocations: 29.84 kB / 0.8437 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001944/0.5891, allocations: 1.295 MB / 0.845 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004624/0.5938, allocations: 3.188 MB / 0.8481 GB, free: 2.09 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001478/0.5953, allocations: 0.8814 MB / 0.849 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005468/0.5958, allocations: 328.1 kB / 0.8493 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.253e-05/0.5959, allocations: 34.36 kB / 0.8493 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008961/0.5968, allocations: 0.5206 MB / 0.8498 GB, free: 1.133 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=87): time 2.385e-06/0.5968, allocations: 0 / 0.8498 GB, free: 1.133 MB / 0.5606 GB Notification: Performance of matching and sorting (n=87): time 0.003244/0.6001, allocations: 1.291 MB / 0.8511 GB, free: 448 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001381/0.6002, allocations: 191.3 kB / 0.8512 GB, free: 224 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009606/0.6012, allocations: 0.7331 MB / 0.852 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.546e-05/0.6013, allocations: 43.52 kB / 0.852 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004042/0.6017, allocations: 0.5139 MB / 0.8525 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002173/0.6019, allocations: 287.4 kB / 0.8528 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.602, allocations: 77.23 kB / 0.8529 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.6022, allocations: 345.8 kB / 0.8532 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005529/0.6027, allocations: 286.2 kB / 0.8535 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006261/0.6034, allocations: 401.1 kB / 0.8538 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/0.6045, allocations: 0.6529 MB / 0.8545 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.6045, allocations: 0 / 0.8545 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001956/0.6065, allocations: 0.927 MB / 0.8554 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.6065, allocations: 5.188 kB / 0.8554 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.6065, allocations: 112 / 0.8554 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006081/0.6072, allocations: 95.8 kB / 0.8555 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000709/0.6079, allocations: 179.8 kB / 0.8557 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001958/0.6098, allocations: 1.528 MB / 0.8571 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008018/0.6107, allocations: 112.5 kB / 0.8573 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.357e-05/0.6107, allocations: 40.62 kB / 0.8573 GB, free: 11.81 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 (104): * Single equations (assignments): 103 * 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.0005013/0.6113, allocations: 293.3 kB / 0.8576 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001459/0.6114, allocations: 103.4 kB / 0.8577 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002494/0.6139, allocations: 1.135 MB / 0.8588 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.6139, allocations: 9.031 kB / 0.8588 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.6139, allocations: 0 / 0.8588 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.278e-05/0.614, allocations: 7.969 kB / 0.8588 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001226/0.6152, allocations: 1.052 MB / 0.8598 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.6152, allocations: 3.984 kB / 0.8598 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006235/0.6158, allocations: 153.3 kB / 0.86 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005397/0.6164, allocations: 88.72 kB / 0.8601 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.728e-05/0.6165, allocations: 27.88 kB / 0.8601 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001847/0.6183, allocations: 1.55 MB / 0.8616 GB, free: 8.496 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.6184, allocations: 0 / 0.8616 GB, free: 8.496 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001961/0.6203, allocations: 0.9986 MB / 0.8626 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004338/0.6208, allocations: 307.5 kB / 0.8629 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/0.6209, allocations: 21.28 kB / 0.8629 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006808/0.6216, allocations: 88.33 kB / 0.863 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001428/0.6217, allocations: 72.77 kB / 0.863 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-05/0.6218, allocations: 33.58 kB / 0.8631 GB, free: 7.602 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006287/0.6225, allocations: 0.5171 MB / 0.8636 GB, free: 7.309 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6225, allocations: 0 / 0.8636 GB, free: 7.309 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008322/0.6233, allocations: 361 kB / 0.8639 GB, free: 7.199 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 (98): * Single equations (assignments): 92 * 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.001332/0.6246, allocations: 0.61 MB / 0.8645 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001659/0.6263, allocations: 0.8921 MB / 0.8654 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.6263, allocations: 3.281 kB / 0.8654 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000909/0.6272, allocations: 0.5449 MB / 0.8659 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00127/0.6285, allocations: 277.3 kB / 0.8662 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004734/0.6333, allocations: 2.7 MB / 0.8688 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006606/0.6339, allocations: 1.114 MB / 0.8699 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008973/0.6349, allocations: 275.3 kB / 0.8702 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000279/0.6351, allocations: 115.4 kB / 0.8703 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of SimCode: time 4.61e-07/0.6351, allocations: 4 kB / 0.8703 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of Templates: time 0.02484/0.66, allocations: 14.82 MB / 0.8848 GB, free: 2.988 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)