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.0008446/0.0008499, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.0009682/0.0009682, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 223.3 MB / 240 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.023/1.023, allocations: 135.3 MB / 426.4 MB, free: 14.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004833/0.0004834, allocations: 8.875 kB / 0.507 GB, free: 5.121 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2237, allocations: 82.3 MB / 0.5874 GB, free: 2.988 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.01214/0.2359, allocations: 5.203 MB / 0.5924 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5045/0.7405, allocations: 137.6 MB / 0.7268 GB, free: 5.352 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00115/0.7417, allocations: 24.16 kB / 0.7269 GB, free: 5.344 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006038/0.7423, allocations: 173.2 kB / 0.727 GB, free: 5.242 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002035/0.7443, allocations: 0.498 MB / 0.7275 GB, free: 4.945 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002553/0.7469, allocations: 0.9352 MB / 0.7284 GB, free: 4.48 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002947/0.7499, allocations: 2.045 MB / 0.7304 GB, free: 3.469 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001644/0.7515, allocations: 1.176 MB / 0.7316 GB, free: 2.938 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001272/0.7528, allocations: 0.6692 MB / 0.7322 GB, free: 2.664 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001187/0.754, allocations: 0.7988 MB / 0.733 GB, free: 2.309 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001952/0.7542, allocations: 55.5 kB / 0.7331 GB, free: 2.309 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0011/0.7553, allocations: 394.4 kB / 0.7334 GB, free: 2.211 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003524/0.7557, allocations: 350 kB / 0.7338 GB, free: 2.043 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000435/0.7561, allocations: 352.2 kB / 0.7341 GB, free: 1.801 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002539/0.7587, allocations: 2.394 MB / 0.7364 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.687e-06/0.7587, allocations: 4 kB / 0.7364 GB, free: 0.8672 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.673e-06/0.7587, allocations: 0 / 0.7364 GB, free: 0.8672 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.549e-05/0.7588, allocations: 1.375 kB / 0.7364 GB, free: 0.8672 MB / 0.545 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.004718/0.7635, allocations: 2.125 MB / 0.7385 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.7635, allocations: 8.844 kB / 0.7385 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01333/0.7769, allocations: 2.276 MB / 0.7408 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002964/0.7799, allocations: 1.161 MB / 0.7419 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001576/0.7801, allocations: 160.8 kB / 0.742 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004848/0.7805, allocations: 208.8 kB / 0.7422 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008554/0.7891, allocations: 3.215 MB / 0.7454 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.319e-05/0.7892, allocations: 0 / 0.7454 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002687/0.7895, allocations: 88 kB / 0.7455 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.967e-05/0.7895, allocations: 56 kB / 0.7455 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01189/0.8014, allocations: 4.224 MB / 0.7496 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01773/0.8192, allocations: 7.049 MB / 0.7565 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007903/0.8272, allocations: 2.702 MB / 0.7592 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004074/0.8313, allocations: 1.438 MB / 0.7606 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007887/0.8321, allocations: 0.4994 MB / 0.7611 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00474/0.8369, allocations: 1.698 MB / 0.7627 GB, free: 8.477 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=195): time 3.567e-06/0.8369, allocations: 0 / 0.7627 GB, free: 8.477 MB / 0.5762 GB Notification: Performance of matching and sorting (n=195): time 0.01317/0.8501, allocations: 4.224 MB / 0.7668 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001439/0.8503, allocations: 205.9 kB / 0.767 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001659/0.8519, allocations: 0.858 MB / 0.7679 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0003101/0.8523, allocations: 57.7 kB / 0.7679 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007369/0.853, allocations: 0.6956 MB / 0.7686 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008801/0.8539, allocations: 0.6313 MB / 0.7692 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002269/0.8541, allocations: 40 kB / 0.7693 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001917/0.8543, allocations: 369.9 kB / 0.7696 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003859/0.8582, allocations: 1.191 MB / 0.7708 GB, free: 92 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004067/0.8623, allocations: 1.371 MB / 0.7721 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003914/0.8662, allocations: 1.232 MB / 0.7733 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.687e-06/0.8663, allocations: 0 / 0.7733 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of matching and sorting (n=217) (initialization): time 0.009802/0.8761, allocations: 2.972 MB / 0.7762 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.221e-05/0.8762, allocations: 11.95 kB / 0.7762 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.8762, allocations: 0 / 0.7762 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005729/0.8768, allocations: 80.84 kB / 0.7763 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003702/0.8805, allocations: 0.5812 MB / 0.7769 GB, free: 9.809 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002278/0.8828, allocations: 1.524 MB / 0.7784 GB, free: 8.145 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003302/0.8861, allocations: 350.2 kB / 0.7787 GB, free: 7.801 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005976/0.8867, allocations: 95.89 kB / 0.7788 GB, free: 7.707 MB / 0.5919 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 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (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.001826/0.8886, allocations: 405.5 kB / 0.7792 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007146/0.8893, allocations: 146.2 kB / 0.7793 GB, free: 7.156 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01195/0.9013, allocations: 3.508 MB / 0.7827 GB, free: 3.633 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.216e-05/0.9013, allocations: 20 kB / 0.7828 GB, free: 3.613 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.9013, allocations: 4 kB / 0.7828 GB, free: 3.609 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-05/0.9014, allocations: 7.969 kB / 0.7828 GB, free: 3.602 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01457/0.9159, allocations: 5.777 MB / 0.7884 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.28e-05/0.916, allocations: 0 / 0.7884 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003369/0.9194, allocations: 0.5578 MB / 0.789 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005229/0.9199, allocations: 88.72 kB / 0.789 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004067/0.9204, allocations: 59.92 kB / 0.7891 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002021/0.9224, allocations: 1.548 MB / 0.7906 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.9224, allocations: 3.953 kB / 0.7906 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009758/0.9322, allocations: 3.063 MB / 0.7936 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00126/0.9335, allocations: 0.5373 MB / 0.7941 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005466/0.9341, allocations: 44.02 kB / 0.7942 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002722/0.9368, allocations: 263.7 kB / 0.7944 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003279/0.9371, allocations: 129.8 kB / 0.7945 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002502/0.9374, allocations: 83.91 kB / 0.7946 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001304/0.9387, allocations: 0.631 MB / 0.7952 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9387, allocations: 0 / 0.7952 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002512/0.9413, allocations: 0.5919 MB / 0.7958 GB, free: 5.977 MB / 0.6075 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 (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.001983/0.9433, allocations: 0.6377 MB / 0.7964 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.009508/0.9528, allocations: 2.995 MB / 0.7994 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/0.9528, allocations: 256 / 0.7994 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.005154/0.958, allocations: 1.673 MB / 0.801 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00267/0.9607, allocations: 320.1 kB / 0.8013 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0108/0.9715, allocations: 4.795 MB / 0.806 GB, free: 11.74 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001252/0.9728, allocations: 1.37 MB / 0.8073 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.004083/0.9769, allocations: 0.5468 MB / 0.8079 GB, free: 9.789 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001251/0.9782, allocations: 211.2 kB / 0.8081 GB, free: 9.582 MB / 0.6231 GB Notification: Performance of SimCode: time 9.61e-07/0.9782, allocations: 0 / 0.8081 GB, free: 9.582 MB / 0.6231 GB Notification: Performance of Templates: time 0.04777/1.026, allocations: 25.93 MB / 0.8334 GB, free: 15.81 MB / 0.6544 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)