Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001541/0.001541, allocations: 103.3 kB / 16.35 MB, free: 5.875 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.001727/0.001727, allocations: 191 kB / 17.29 MB, free: 5.516 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.366/1.366, allocations: 222.9 MB / 241 MB, free: 14.97 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7968/0.7968, allocations: 132.2 MB / 423.3 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 56.09 kB / 0.5032 GB, free: 10.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4533/0.4548, allocations: 80.19 MB / 0.5815 GB, free: 27.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.006611/0.4614, allocations: 6.047 MB / 0.5874 GB, free: 22.88 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1829/0.6444, allocations: 151.5 MB / 0.7353 GB, free: 160 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002171/0.6466, allocations: 19.94 kB / 0.7353 GB, free: 140 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001358/0.6481, allocations: 253.4 kB / 0.7356 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004159/0.6522, allocations: 0.6128 MB / 0.7362 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005542/0.6578, allocations: 1.286 MB / 0.7374 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00496/0.6628, allocations: 2.423 MB / 0.7398 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003423/0.6662, allocations: 1.576 MB / 0.7413 GB, free: 9.934 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002042/0.6683, allocations: 1.047 MB / 0.7423 GB, free: 8.883 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001586/0.6699, allocations: 1.196 MB / 0.7435 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003677/0.6703, allocations: 303.9 kB / 0.7438 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001265/0.6716, allocations: 0.6715 MB / 0.7445 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005596/0.6721, allocations: 0.6426 MB / 0.7451 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00104/0.6732, allocations: 1.166 MB / 0.7462 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003243/0.6764, allocations: 3.291 MB / 0.7494 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.6764, allocations: 0 / 0.7494 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6765, allocations: 4 kB / 0.7494 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.963e-05/0.6765, allocations: 0 / 0.7494 GB, free: 1.594 MB / 0.5762 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.305/0.9815, allocations: 2.575 MB / 0.752 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.9816, allocations: 11.53 kB / 0.752 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01581/0.9974, allocations: 2.094 MB / 0.754 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003174/1.001, allocations: 1.217 MB / 0.7552 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002048/1.001, allocations: 166.6 kB / 0.7554 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005121/1.001, allocations: 211.5 kB / 0.7556 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00856/1.01, allocations: 3.158 MB / 0.7586 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.863e-05/1.01, allocations: 1.094 kB / 0.7586 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000236/1.01, allocations: 98.45 kB / 0.7587 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.768e-05/1.01, allocations: 54.41 kB / 0.7588 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01141/1.022, allocations: 4.102 MB / 0.7628 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01211/1.034, allocations: 6.927 MB / 0.7696 GB, free: 154.9 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006919/1.041, allocations: 2.683 MB / 0.7722 GB, free: 152.2 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003444/1.044, allocations: 1.434 MB / 0.7736 GB, free: 150.8 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005949/1.045, allocations: 0.5044 MB / 0.7741 GB, free: 150.2 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003868/1.049, allocations: 1.697 MB / 0.7757 GB, free: 148.5 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=195): time 3.277e-06/1.049, allocations: 4 kB / 0.7757 GB, free: 148.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=195): time 0.01212/1.061, allocations: 4.185 MB / 0.7798 GB, free: 144.3 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.494e-05/1.061, allocations: 213.8 kB / 0.78 GB, free: 144 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009977/1.062, allocations: 0.8658 MB / 0.7809 GB, free: 143.1 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001793/1.062, allocations: 57.7 kB / 0.7809 GB, free: 143.1 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003991/1.063, allocations: 0.6994 MB / 0.7816 GB, free: 142.4 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003928/1.063, allocations: 0.6306 MB / 0.7822 GB, free: 141.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006381/1.064, allocations: 367.2 kB / 0.7826 GB, free: 141.4 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.017e-05/1.064, allocations: 301.2 kB / 0.7829 GB, free: 141.1 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003347/1.067, allocations: 1.191 MB / 0.784 GB, free: 139.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003465/1.071, allocations: 1.363 MB / 0.7854 GB, free: 138.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006778/1.077, allocations: 2.497 MB / 0.7878 GB, free: 136 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/1.077, allocations: 0 / 0.7878 GB, free: 136 MB / 0.5762 GB Notification: Performance of matching and sorting (n=217) (initialization): time 0.008446/1.086, allocations: 2.956 MB / 0.7907 GB, free: 133 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.025e-05/1.086, allocations: 7.75 kB / 0.7907 GB, free: 133 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/1.086, allocations: 4 kB / 0.7907 GB, free: 133 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005747/1.086, allocations: 92.77 kB / 0.7908 GB, free: 132.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003309/1.09, allocations: 0.5656 MB / 0.7913 GB, free: 132.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001961/1.092, allocations: 1.631 MB / 0.7929 GB, free: 130.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002973/1.095, allocations: 342.3 kB / 0.7933 GB, free: 130.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002238/1.095, allocations: 91.89 kB / 0.7933 GB, free: 130.1 MB / 0.5762 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.0009092/1.096, allocations: 414 kB / 0.7937 GB, free: 129.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003511/1.096, allocations: 142.2 kB / 0.7939 GB, free: 129.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009126/1.105, allocations: 3.477 MB / 0.7973 GB, free: 126.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.765e-05/1.105, allocations: 20 kB / 0.7973 GB, free: 126.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/1.105, allocations: 0 / 0.7973 GB, free: 126.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-05/1.105, allocations: 11.95 kB / 0.7973 GB, free: 126.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01172/1.117, allocations: 5.735 MB / 0.8029 GB, free: 120.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.365e-06/1.117, allocations: 7.984 kB / 0.8029 GB, free: 120.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003184/1.12, allocations: 0.5422 MB / 0.8034 GB, free: 119.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004185/1.121, allocations: 76.78 kB / 0.8035 GB, free: 119.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001876/1.121, allocations: 63.92 kB / 0.8036 GB, free: 119.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001503/1.123, allocations: 1.658 MB / 0.8052 GB, free: 117.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/1.123, allocations: 0 / 0.8052 GB, free: 117.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008412/1.131, allocations: 3.057 MB / 0.8082 GB, free: 114.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009557/1.132, allocations: 0.5024 MB / 0.8087 GB, free: 114.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003138/1.132, allocations: 47.84 kB / 0.8087 GB, free: 114.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002398/1.135, allocations: 247.7 kB / 0.8089 GB, free: 113.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002186/1.135, allocations: 133.7 kB / 0.8091 GB, free: 113.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001875/1.135, allocations: 83.97 kB / 0.8092 GB, free: 113.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007147/1.136, allocations: 0.6427 MB / 0.8098 GB, free: 113.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6.11e-07/1.136, allocations: 0 / 0.8098 GB, free: 113.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001515/1.137, allocations: 0.5972 MB / 0.8104 GB, free: 112.5 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: 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.001384/1.139, allocations: 0.6464 MB / 0.811 GB, free: 112.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008009/1.147, allocations: 2.987 MB / 0.8139 GB, free: 109.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/1.147, allocations: 4.062 kB / 0.8139 GB, free: 109.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003956/1.151, allocations: 1.653 MB / 0.8155 GB, free: 107.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001558/1.152, allocations: 352.8 kB / 0.8159 GB, free: 107.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007984/1.16, allocations: 3.923 MB / 0.8197 GB, free: 103.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006105/1.161, allocations: 1.373 MB / 0.821 GB, free: 101.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002523/1.164, allocations: 0.5546 MB / 0.8216 GB, free: 101.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008946/1.164, allocations: 211.2 kB / 0.8218 GB, free: 101 MB / 0.5762 GB Notification: Performance of SimCode: time 4.41e-07/1.164, allocations: 0 / 0.8218 GB, free: 101 MB / 0.5762 GB Notification: Performance of Templates: time 0.03652/1.201, allocations: 27.91 MB / 0.849 GB, free: 73.25 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)