Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001527/0.001527, 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.001873/0.001873, allocations: 191.7 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.37/1.37, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9269/0.9269, allocations: 135.6 MB / 425.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00189/0.00189, allocations: 68.3 kB / 0.5054 GB, free: 5.219 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1872, allocations: 81.01 MB / 0.5845 GB, free: 4.344 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.008081/0.1954, allocations: 6.033 MB / 0.5904 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4265/0.6219, allocations: 149.2 MB / 0.7361 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001195/0.6232, allocations: 24.09 kB / 0.7361 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00097/0.6242, allocations: 184.3 kB / 0.7363 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002357/0.6266, allocations: 0.5291 MB / 0.7368 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003125/0.6297, allocations: 1.159 MB / 0.7379 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003189/0.6329, allocations: 2.406 MB / 0.7403 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002071/0.635, allocations: 1.588 MB / 0.7418 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00159/0.6366, allocations: 1.049 MB / 0.7428 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001357/0.638, allocations: 1.182 MB / 0.744 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002984/0.6383, allocations: 296.8 kB / 0.7443 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00116/0.6394, allocations: 0.6455 MB / 0.7449 GB, free: 6.73 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0006125/0.6401, allocations: 0.6473 MB / 0.7455 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001089/0.6412, allocations: 1.173 MB / 0.7467 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003285/0.6444, allocations: 3.225 MB / 0.7498 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.6445, allocations: 0 / 0.7498 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6445, allocations: 0 / 0.7498 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.052e-05/0.6445, allocations: 4 kB / 0.7498 GB, free: 2.891 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: 556 * Number of variables: 556 Notification: Performance of Generate backend data structure: time 0.005293/0.6498, allocations: 2.59 MB / 0.7524 GB, free: 260 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.6499, allocations: 8.031 kB / 0.7524 GB, free: 252 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01559/0.6655, allocations: 2.089 MB / 0.7544 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002664/0.6682, allocations: 1.193 MB / 0.7556 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001487/0.6684, allocations: 160.4 kB / 0.7557 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004908/0.6689, allocations: 212 kB / 0.7559 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008879/0.6777, allocations: 3.162 MB / 0.759 GB, free: 9.285 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.987e-05/0.6778, allocations: 4 kB / 0.759 GB, free: 9.281 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002794/0.6781, allocations: 88 kB / 0.7591 GB, free: 9.195 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.67e-05/0.6782, allocations: 59.94 kB / 0.7592 GB, free: 9.137 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01258/0.6907, allocations: 4.103 MB / 0.7632 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01597/0.7067, allocations: 7.009 MB / 0.77 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008397/0.7152, allocations: 2.68 MB / 0.7726 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004282/0.7195, allocations: 1.433 MB / 0.774 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000872/0.7204, allocations: 0.4996 MB / 0.7745 GB, free: 9.227 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005048/0.7254, allocations: 1.7 MB / 0.7762 GB, free: 7.508 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=195): time 3.557e-06/0.7255, allocations: 0 / 0.7762 GB, free: 7.508 MB / 0.5919 GB Notification: Performance of matching and sorting (n=195): time 0.01411/0.7396, allocations: 4.196 MB / 0.7803 GB, free: 3.285 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001367/0.7398, allocations: 201.9 kB / 0.7805 GB, free: 3.043 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001274/0.741, allocations: 0.858 MB / 0.7813 GB, free: 2.16 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002326/0.7413, allocations: 61.7 kB / 0.7814 GB, free: 2.094 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006391/0.7419, allocations: 0.7034 MB / 0.7821 GB, free: 1.379 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006547/0.7426, allocations: 0.6353 MB / 0.7827 GB, free: 0.7344 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007199/0.7433, allocations: 359.2 kB / 0.783 GB, free: 388 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.7434, allocations: 305.1 kB / 0.7833 GB, free: 80 kB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003968/0.7474, allocations: 1.187 MB / 0.7845 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004115/0.7515, allocations: 1.359 MB / 0.7858 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007945/0.7595, allocations: 2.489 MB / 0.7882 GB, free: 11 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/0.7595, allocations: 0 / 0.7882 GB, free: 11 MB / 0.6075 GB Notification: Performance of matching and sorting (n=217) (initialization): time 0.009687/0.7692, allocations: 2.952 MB / 0.7911 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.795e-05/0.7693, allocations: 6.453 kB / 0.7911 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.7693, allocations: 13.12 kB / 0.7911 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006238/0.7699, allocations: 92.7 kB / 0.7912 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003669/0.7736, allocations: 0.5656 MB / 0.7918 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002688/0.7763, allocations: 1.645 MB / 0.7934 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003236/0.7796, allocations: 338.2 kB / 0.7937 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002866/0.7799, allocations: 91.89 kB / 0.7938 GB, free: 5.152 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (215): * Single equations (assignments): 214 * 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.001013/0.7809, allocations: 411 kB / 0.7942 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004013/0.7813, allocations: 142.2 kB / 0.7943 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01117/0.7925, allocations: 3.481 MB / 0.7977 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.289e-05/0.7926, allocations: 20 kB / 0.7977 GB, free: 1.09 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.7926, allocations: 0 / 0.7977 GB, free: 1.09 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.313e-05/0.7926, allocations: 11.97 kB / 0.7977 GB, free: 1.078 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01356/0.8062, allocations: 5.751 MB / 0.8034 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/0.8062, allocations: 4.875 kB / 0.8034 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003424/0.8096, allocations: 0.5461 MB / 0.8039 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004662/0.8101, allocations: 76.78 kB / 0.804 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002162/0.8104, allocations: 63.92 kB / 0.804 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00212/0.8125, allocations: 1.662 MB / 0.8056 GB, free: 8.77 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.8125, allocations: 3.938 kB / 0.8057 GB, free: 8.766 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009581/0.8221, allocations: 3.055 MB / 0.8086 GB, free: 5.691 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001079/0.8232, allocations: 0.5025 MB / 0.8091 GB, free: 5.168 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003449/0.8236, allocations: 43.84 kB / 0.8092 GB, free: 5.125 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002692/0.8263, allocations: 247.7 kB / 0.8094 GB, free: 4.883 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002935/0.8266, allocations: 129.8 kB / 0.8095 GB, free: 4.754 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002213/0.8268, allocations: 79.92 kB / 0.8096 GB, free: 4.676 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0009608/0.8278, allocations: 0.6426 MB / 0.8102 GB, free: 4.023 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8278, allocations: 0 / 0.8102 GB, free: 4.023 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001754/0.8295, allocations: 0.5959 MB / 0.8108 GB, free: 3.426 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: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (210): * Single equations (assignments): 207 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002122/0.8317, allocations: 0.6425 MB / 0.8114 GB, free: 2.996 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0133/0.845, allocations: 3.455 MB / 0.8148 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/0.845, allocations: 0 / 0.8148 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00532/0.8504, allocations: 1.658 MB / 0.8164 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002406/0.8528, allocations: 350.2 kB / 0.8168 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01073/0.8636, allocations: 4.886 MB / 0.8215 GB, free: 8.633 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001071/0.8647, allocations: 1.369 MB / 0.8229 GB, free: 7.23 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.003447/0.8681, allocations: 0.5518 MB / 0.8234 GB, free: 6.676 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009668/0.8691, allocations: 219.2 kB / 0.8236 GB, free: 6.461 MB / 0.6387 GB Notification: Performance of SimCode: time 5.51e-07/0.8691, allocations: 0 / 0.8236 GB, free: 6.461 MB / 0.6387 GB Notification: Performance of Templates: time 0.0524/0.9215, allocations: 27.84 MB / 0.8508 GB, free: 10.78 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)