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.001202/0.001202, allocations: 112.6 kB / 16.37 MB, free: 6 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.001174/0.001174, allocations: 196 kB / 17.31 MB, free: 5.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.255/1.255, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7542/0.7542, allocations: 135.1 MB / 426.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 59.91 kB / 0.5068 GB, free: 7.676 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.287, allocations: 80.91 MB / 0.5858 GB, free: 25.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.006175/0.2932, allocations: 6.05 MB / 0.5917 GB, free: 20.47 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1412/0.4344, allocations: 151.4 MB / 0.7396 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001152/0.4356, allocations: 23.88 kB / 0.7396 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008776/0.4366, allocations: 249.4 kB / 0.7398 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001947/0.4385, allocations: 0.624 MB / 0.7404 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002416/0.4409, allocations: 1.291 MB / 0.7417 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002181/0.4431, allocations: 2.419 MB / 0.7441 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001656/0.4448, allocations: 1.584 MB / 0.7456 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001093/0.4459, allocations: 1.043 MB / 0.7466 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001055/0.447, allocations: 1.19 MB / 0.7478 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002837/0.4473, allocations: 296 kB / 0.7481 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009945/0.4483, allocations: 0.6753 MB / 0.7487 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004592/0.4487, allocations: 0.6426 MB / 0.7494 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008285/0.4496, allocations: 1.174 MB / 0.7505 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.2794/0.729, allocations: 3.281 MB / 0.7537 GB, free: 9.324 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.729, allocations: 0.9844 kB / 0.7537 GB, free: 9.324 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.423e-06/0.729, allocations: 0.6562 kB / 0.7537 GB, free: 9.324 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.739e-05/0.7291, allocations: 0 / 0.7537 GB, free: 9.324 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.004849/0.7339, allocations: 2.589 MB / 0.7562 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.734, allocations: 12.45 kB / 0.7562 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01393/0.7479, allocations: 2.09 MB / 0.7583 GB, free: 8.129 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002256/0.7502, allocations: 1.215 MB / 0.7595 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001284/0.7503, allocations: 164.7 kB / 0.7596 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003682/0.7507, allocations: 211.9 kB / 0.7598 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007891/0.7586, allocations: 3.155 MB / 0.7629 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.974e-05/0.7587, allocations: 0.5312 kB / 0.7629 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002481/0.7589, allocations: 90.53 kB / 0.763 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.048e-05/0.759, allocations: 53.84 kB / 0.7631 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01109/0.7701, allocations: 4.103 MB / 0.7671 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01311/0.7832, allocations: 6.924 MB / 0.7738 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007097/0.7904, allocations: 2.691 MB / 0.7765 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003538/0.7939, allocations: 1.43 MB / 0.7778 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005806/0.7945, allocations: 0.5049 MB / 0.7783 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003848/0.7984, allocations: 1.695 MB / 0.78 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=195): time 3.677e-06/0.7984, allocations: 0 / 0.78 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of matching and sorting (n=195): time 0.01222/0.8106, allocations: 4.198 MB / 0.7841 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.585e-05/0.8108, allocations: 205.1 kB / 0.7843 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001243/0.812, allocations: 0.8635 MB / 0.7851 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001783/0.8122, allocations: 58.81 kB / 0.7852 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004488/0.8127, allocations: 0.6999 MB / 0.7859 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004125/0.8131, allocations: 0.6333 MB / 0.7865 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006204/0.8137, allocations: 366.9 kB / 0.7868 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.713e-05/0.8137, allocations: 301.1 kB / 0.7871 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003407/0.8172, allocations: 1.19 MB / 0.7883 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003504/0.8207, allocations: 1.358 MB / 0.7896 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006778/0.8275, allocations: 2.492 MB / 0.7921 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.8275, allocations: 2.781 kB / 0.7921 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of matching and sorting (n=217) (initialization): time 0.008412/0.8359, allocations: 2.955 MB / 0.7949 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.8359, allocations: 4.875 kB / 0.7949 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.836, allocations: 3.25 kB / 0.7949 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000556/0.8365, allocations: 90.64 kB / 0.795 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003309/0.8398, allocations: 0.57 MB / 0.7956 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001641/0.8415, allocations: 1.638 MB / 0.7972 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002858/0.8444, allocations: 338.7 kB / 0.7975 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003174/0.8447, allocations: 94.14 kB / 0.7976 GB, free: 1.914 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.0009877/0.8457, allocations: 403.9 kB / 0.798 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005045/0.8462, allocations: 143.8 kB / 0.7981 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01077/0.857, allocations: 3.49 MB / 0.8015 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-05/0.857, allocations: 22.44 kB / 0.8016 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.857, allocations: 0 / 0.8016 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.211e-05/0.8571, allocations: 11.95 kB / 0.8016 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01278/0.8699, allocations: 5.754 MB / 0.8072 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.8699, allocations: 4 kB / 0.8072 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003205/0.8731, allocations: 0.5394 MB / 0.8077 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004454/0.8736, allocations: 76.44 kB / 0.8078 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002378/0.8738, allocations: 63.92 kB / 0.8078 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001806/0.8756, allocations: 1.655 MB / 0.8095 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.8757, allocations: 0 / 0.8095 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009087/0.8848, allocations: 3.052 MB / 0.8124 GB, free: 9.594 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001101/0.8859, allocations: 0.5102 MB / 0.8129 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004313/0.8863, allocations: 55.78 kB / 0.813 GB, free: 9.008 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002681/0.889, allocations: 248 kB / 0.8132 GB, free: 8.77 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002657/0.8893, allocations: 129.8 kB / 0.8134 GB, free: 8.641 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000221/0.8895, allocations: 87.91 kB / 0.8134 GB, free: 8.555 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009917/0.8905, allocations: 0.6349 MB / 0.8141 GB, free: 7.91 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8905, allocations: 0 / 0.8141 GB, free: 7.91 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001818/0.8924, allocations: 0.593 MB / 0.8146 GB, free: 7.316 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: 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.001561/0.8939, allocations: 0.6473 MB / 0.8153 GB, free: 6.934 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.008593/0.9025, allocations: 2.988 MB / 0.8182 GB, free: 3.957 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.9026, allocations: 5.641 kB / 0.8182 GB, free: 3.953 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004432/0.907, allocations: 1.652 MB / 0.8198 GB, free: 2.328 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001946/0.909, allocations: 352.5 kB / 0.8201 GB, free: 2.008 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009497/0.9185, allocations: 3.921 MB / 0.824 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001232/0.9197, allocations: 1.369 MB / 0.8253 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.003155/0.9229, allocations: 0.5507 MB / 0.8259 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001073/0.924, allocations: 222.4 kB / 0.8261 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of SimCode: time 7.72e-07/0.924, allocations: 1.094 kB / 0.8261 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of Templates: time 0.3011/1.225, allocations: 27.93 MB / 0.8533 GB, free: 228 kB / 0.6231 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)