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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.834/0.834, allocations: 143.4 MB / 158.3 MB, free: 5.82 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 181 kB / 191.5 MB, free: 5.762 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.658/1.658, allocations: 223.2 MB / 447.7 MB, free: 4.82 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 92.3 kB / 0.5188 GB, free: 1.188 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001828/0.001828, allocations: 263 kB / 0.6005 GB, free: 48.77 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004617/0.0004618, allocations: 13.66 kB / 0.6929 GB, free: 59.73 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.2009, allocations: 82.79 MB / 0.7737 GB, free: 13.88 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.57/3.771, allocations: 1.692 GB / 2.466 GB, free: 61.87 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003809/3.771, allocations: 102.3 kB / 2.466 GB, free: 61.81 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.5381/4.309, allocations: 80.8 MB / 2.545 GB, free: 233.7 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.134e-06/4.309, allocations: 0 / 2.545 GB, free: 233.7 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.624e-05/4.31, allocations: 26.75 kB / 2.545 GB, free: 233.7 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.002416/4.312, allocations: 1.398 MB / 2.546 GB, free: 233 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/4.312, allocations: 9.188 kB / 2.546 GB, free: 233 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008881/4.313, allocations: 226.7 kB / 2.546 GB, free: 232.9 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/4.314, allocations: 0.7082 MB / 2.547 GB, free: 232.6 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.171e-05/4.314, allocations: 87.52 kB / 2.547 GB, free: 232.6 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000116/4.314, allocations: 115 kB / 2.547 GB, free: 232.6 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001722/4.316, allocations: 1.131 MB / 2.548 GB, free: 232.5 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.152e-05/4.316, allocations: 0 / 2.548 GB, free: 232.5 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.375e-05/4.316, allocations: 47.19 kB / 2.548 GB, free: 232.5 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.207e-05/4.316, allocations: 28.25 kB / 2.548 GB, free: 232.5 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001863/4.318, allocations: 1.238 MB / 2.55 GB, free: 232.4 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005427/4.323, allocations: 3.068 MB / 2.553 GB, free: 231.6 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001387/4.325, allocations: 0.7852 MB / 2.553 GB, free: 231.6 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.448e-05/4.325, allocations: 33.03 kB / 2.553 GB, free: 231.6 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007633/4.326, allocations: 454.4 kB / 2.554 GB, free: 231.5 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=78): time 2.725e-06/4.326, allocations: 0 / 2.554 GB, free: 231.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=78): time 0.003299/4.329, allocations: 1.161 MB / 2.555 GB, free: 231.3 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.796e-05/4.329, allocations: 247.4 kB / 2.555 GB, free: 231 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001007/4.33, allocations: 0.6731 MB / 2.556 GB, free: 230.9 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.664e-05/4.33, allocations: 41.48 kB / 2.556 GB, free: 230.9 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003962/4.331, allocations: 0.4927 MB / 2.556 GB, free: 230.6 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001772/4.331, allocations: 256.7 kB / 2.557 GB, free: 230.5 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.554e-05/4.331, allocations: 17.66 kB / 2.557 GB, free: 230.5 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.715e-05/4.331, allocations: 333.4 kB / 2.557 GB, free: 230.2 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004369/4.331, allocations: 243.1 kB / 2.557 GB, free: 230.2 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005016/4.332, allocations: 349.6 kB / 2.557 GB, free: 230.1 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005132/4.332, allocations: 299 kB / 2.558 GB, free: 230.1 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/4.332, allocations: 0 / 2.558 GB, free: 230.1 MB / 0.7136 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001806/4.334, allocations: 0.7943 MB / 2.559 GB, free: 230 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/4.334, allocations: 4.375 kB / 2.559 GB, free: 230 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/4.334, allocations: 1 kB / 2.559 GB, free: 230 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006505/4.335, allocations: 86.42 kB / 2.559 GB, free: 230 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006539/4.336, allocations: 147 kB / 2.559 GB, free: 230 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001793/4.337, allocations: 1.532 MB / 2.56 GB, free: 228.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008029/4.338, allocations: 92.42 kB / 2.56 GB, free: 228.6 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.373e-05/4.338, allocations: 30.64 kB / 2.56 GB, free: 228.6 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0006603/4.339, allocations: 282.6 kB / 2.561 GB, free: 228.5 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001975/4.339, allocations: 92.17 kB / 2.561 GB, free: 228.5 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002267/4.341, allocations: 1.04 MB / 2.562 GB, free: 228.4 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-05/4.341, allocations: 12.92 kB / 2.562 GB, free: 228.4 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/4.341, allocations: 3.656 kB / 2.562 GB, free: 228.4 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/4.342, allocations: 5.625 kB / 2.562 GB, free: 228.4 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001408/4.343, allocations: 1.011 MB / 2.563 GB, free: 228.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/4.343, allocations: 1.156 kB / 2.563 GB, free: 228.1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006437/4.344, allocations: 152.3 kB / 2.563 GB, free: 228.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005259/4.344, allocations: 84.94 kB / 2.563 GB, free: 228.1 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.756e-05/4.344, allocations: 22.52 kB / 2.563 GB, free: 228.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001678/4.346, allocations: 1.562 MB / 2.565 GB, free: 226.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/4.346, allocations: 0 / 2.565 GB, free: 226.8 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002118/4.348, allocations: 0.8972 MB / 2.565 GB, free: 226.7 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005687/4.349, allocations: 296.6 kB / 2.566 GB, free: 226.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000161/4.349, allocations: 20.53 kB / 2.566 GB, free: 226.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006779/4.349, allocations: 66.94 kB / 2.566 GB, free: 226.5 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001784/4.35, allocations: 60.5 kB / 2.566 GB, free: 226.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.441e-05/4.35, allocations: 34.67 kB / 2.566 GB, free: 226.5 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0009995/4.351, allocations: 0.5375 MB / 2.566 GB, free: 226.4 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.11e-07/4.351, allocations: 3.656 kB / 2.566 GB, free: 226.4 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001455/4.352, allocations: 405.5 kB / 2.567 GB, free: 226.4 MB / 0.7136 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 (89): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002169/4.354, allocations: 1.068 MB / 2.568 GB, free: 226.1 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001809/4.356, allocations: 0.7749 MB / 2.569 GB, free: 226 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/4.356, allocations: 0 / 2.569 GB, free: 226 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0009663/4.357, allocations: 0.5028 MB / 2.569 GB, free: 225.9 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001434/4.359, allocations: 261.6 kB / 2.569 GB, free: 225.9 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004895/4.364, allocations: 2.482 MB / 2.572 GB, free: 224.7 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004758/4.364, allocations: 1.108 MB / 2.573 GB, free: 224 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0009869/4.365, allocations: 266.7 kB / 2.573 GB, free: 224 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002359/4.365, allocations: 101.4 kB / 2.573 GB, free: 223.9 MB / 0.7136 GB Notification: Performance of SimCode: time 1.302e-06/4.365, allocations: 0 / 2.573 GB, free: 223.9 MB / 0.7136 GB Notification: Performance of Templates: time 0.02932/4.395, allocations: 20.96 MB / 2.594 GB, free: 222.4 MB / 0.7136 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)