Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") translateModel(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001607/0.001607, allocations: 104.5 kB / 16.4 MB, free: 6.445 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.001498/0.001498, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.356/1.356, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7288/0.7288, allocations: 115.3 MB / 406.5 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 70.59 kB / 0.5577 GB, free: 32.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1477, allocations: 76.17 MB / 0.6321 GB, free: 4.441 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.006925/0.1546, allocations: 4.846 MB / 0.6368 GB, free: 15.57 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5572/0.7118, allocations: 150.6 MB / 0.7838 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001077/0.713, allocations: 15.16 kB / 0.7839 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006745/0.7137, allocations: 197.4 kB / 0.784 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001817/0.7156, allocations: 0.5299 MB / 0.7846 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002003/0.7176, allocations: 0.835 MB / 0.7854 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001418/0.719, allocations: 1.374 MB / 0.7867 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007431/0.7198, allocations: 0.5816 MB / 0.7873 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006673/0.7204, allocations: 487.5 kB / 0.7878 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005458/0.721, allocations: 0.4886 MB / 0.7882 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001427/0.7211, allocations: 114.5 kB / 0.7883 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008845/0.722, allocations: 491.4 kB / 0.7888 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002547/0.7223, allocations: 297 kB / 0.7891 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004535/0.7228, allocations: 0.5489 MB / 0.7896 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001966/0.7247, allocations: 1.621 MB / 0.7912 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.7248, allocations: 4 kB / 0.7912 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.094e-06/0.7248, allocations: 0 / 0.7912 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.606e-05/0.7248, allocations: 2.5 kB / 0.7912 GB, free: 13.18 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002636/0.7274, allocations: 1.424 MB / 0.7926 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.7275, allocations: 10.03 kB / 0.7926 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009127/0.7284, allocations: 190.2 kB / 0.7928 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001042/0.7295, allocations: 0.7534 MB / 0.7935 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.901e-05/0.7295, allocations: 61.75 kB / 0.7936 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/0.7296, allocations: 84.58 kB / 0.7937 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001507/0.7311, allocations: 0.9132 MB / 0.7946 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/0.7312, allocations: 3.984 kB / 0.7946 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.107e-05/0.7313, allocations: 35.95 kB / 0.7946 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/0.7313, allocations: 19 kB / 0.7946 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00169/0.733, allocations: 1.105 MB / 0.7957 GB, free: 11.81 MB / 0.5919 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.003947/0.7369, allocations: 2.682 MB / 0.7983 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001396/0.7384, allocations: 0.8026 MB / 0.7991 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000488/0.7389, allocations: 297.3 kB / 0.7994 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.639e-05/0.7389, allocations: 33.02 kB / 0.7994 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009474/0.7399, allocations: 0.491 MB / 0.7999 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=80): time 3.276e-06/0.7399, allocations: 0 / 0.7999 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=80): time 0.003526/0.7434, allocations: 1.192 MB / 0.8011 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001665/0.7436, allocations: 188.6 kB / 0.8012 GB, free: 9.93 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001141/0.7448, allocations: 0.6318 MB / 0.8019 GB, free: 9.711 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.6e-05/0.7449, allocations: 42.3 kB / 0.8019 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003886/0.7453, allocations: 397.2 kB / 0.8023 GB, free: 9.457 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.00023/0.7455, allocations: 257.1 kB / 0.8025 GB, free: 9.273 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002578/0.7458, allocations: 167.6 kB / 0.8027 GB, free: 9.227 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000202/0.746, allocations: 393.9 kB / 0.8031 GB, free: 8.883 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005306/0.7465, allocations: 263.7 kB / 0.8033 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006836/0.7472, allocations: 366.3 kB / 0.8037 GB, free: 8.746 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/0.7484, allocations: 0.6052 MB / 0.8043 GB, free: 8.648 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.7484, allocations: 2.844 kB / 0.8043 GB, free: 8.648 MB / 0.5919 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002018/0.7504, allocations: 0.8467 MB / 0.8051 GB, free: 8.441 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.769e-05/0.7505, allocations: 5.344 kB / 0.8051 GB, free: 8.441 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.7505, allocations: 3.938 kB / 0.8051 GB, free: 8.438 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006181/0.7511, allocations: 84.73 kB / 0.8052 GB, free: 8.402 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006657/0.7518, allocations: 159.6 kB / 0.8053 GB, free: 8.371 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002034/0.7538, allocations: 1.638 MB / 0.8069 GB, free: 6.898 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007661/0.7546, allocations: 90.2 kB / 0.807 GB, free: 6.852 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.545e-05/0.7547, allocations: 37.88 kB / 0.807 GB, free: 6.844 MB / 0.5919 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.0005121/0.7552, allocations: 277.9 kB / 0.8073 GB, free: 6.695 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001653/0.7554, allocations: 80.31 kB / 0.8074 GB, free: 6.652 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002347/0.7578, allocations: 1.054 MB / 0.8084 GB, free: 6.363 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.7578, allocations: 13.67 kB / 0.8084 GB, free: 6.359 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/0.7578, allocations: 0 / 0.8084 GB, free: 6.359 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/0.7578, allocations: 11.92 kB / 0.8084 GB, free: 6.348 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001011/0.7588, allocations: 0.8913 MB / 0.8093 GB, free: 5.887 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.7588, allocations: 0 / 0.8093 GB, free: 5.887 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005773/0.7594, allocations: 143 kB / 0.8094 GB, free: 5.855 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000439/0.7599, allocations: 70.14 kB / 0.8095 GB, free: 5.82 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.386e-05/0.7599, allocations: 27.94 kB / 0.8095 GB, free: 5.801 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001868/0.7618, allocations: 1.65 MB / 0.8112 GB, free: 4.195 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/0.7618, allocations: 20.64 kB / 0.8112 GB, free: 4.184 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001905/0.7637, allocations: 0.9129 MB / 0.8121 GB, free: 3.695 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004022/0.7642, allocations: 275.7 kB / 0.8123 GB, free: 3.453 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001087/0.7643, allocations: 16.81 kB / 0.8123 GB, free: 3.441 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006004/0.7649, allocations: 64.58 kB / 0.8124 GB, free: 3.41 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001629/0.7651, allocations: 77.66 kB / 0.8125 GB, free: 3.367 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.839e-05/0.7651, allocations: 30.61 kB / 0.8125 GB, free: 3.359 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005501/0.7657, allocations: 456.8 kB / 0.8129 GB, free: 3.102 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7657, allocations: 0 / 0.8129 GB, free: 3.102 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009132/0.7666, allocations: 336.1 kB / 0.8133 GB, free: 2.996 MB / 0.5919 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.001347/0.768, allocations: 0.5972 MB / 0.8138 GB, free: 2.734 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001714/0.7697, allocations: 0.8298 MB / 0.8147 GB, free: 2.301 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.7697, allocations: 0 / 0.8147 GB, free: 2.301 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000906/0.7706, allocations: 0.5198 MB / 0.8152 GB, free: 2.004 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001245/0.7719, allocations: 305.8 kB / 0.8155 GB, free: 1.848 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00275/0.7746, allocations: 1.625 MB / 0.817 GB, free: 0.8945 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000515/0.7752, allocations: 1.025 MB / 0.818 GB, free: 52 kB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007952/0.776, allocations: 259.5 kB / 0.8183 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000255/0.7762, allocations: 109.5 kB / 0.8184 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of SimCode: time 4.41e-07/0.7762, allocations: 0 / 0.8184 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of Templates: time 0.02705/0.8033, allocations: 15.46 MB / 0.8335 GB, free: 4.789 MB / 0.6075 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)