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.007134/0.007134, allocations: 101.3 kB / 15.73 MB, free: 6.438 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.001469/0.001469, allocations: 194.3 kB / 16.67 MB, free: 6.355 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.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9973/0.9973, allocations: 135.1 MB / 425.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001837/0.001837, allocations: 59.91 kB / 0.5856 GB, free: 3.344 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4841/0.486, allocations: 80.93 MB / 0.6646 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.005904/0.4919, allocations: 6.052 MB / 0.6705 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1655/0.6575, allocations: 151.5 MB / 0.8184 GB, free: 3.527 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001946/0.6595, allocations: 23.88 kB / 0.8185 GB, free: 3.504 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001045/0.6606, allocations: 249.4 kB / 0.8187 GB, free: 3.258 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002664/0.6632, allocations: 0.6276 MB / 0.8193 GB, free: 2.629 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003656/0.6669, allocations: 1.288 MB / 0.8206 GB, free: 1.348 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003634/0.6706, allocations: 2.423 MB / 0.8229 GB, free: 14.92 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002188/0.6728, allocations: 1.576 MB / 0.8245 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001521/0.6743, allocations: 1.063 MB / 0.8255 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001753/0.6761, allocations: 1.198 MB / 0.8267 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.000465/0.6765, allocations: 296 kB / 0.827 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001393/0.6779, allocations: 0.6715 MB / 0.8276 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0005987/0.6786, allocations: 0.6465 MB / 0.8283 GB, free: 9.398 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001046/0.6796, allocations: 1.166 MB / 0.8294 GB, free: 8.227 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003252/0.6829, allocations: 3.3 MB / 0.8326 GB, free: 4.918 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.6829, allocations: 0 / 0.8326 GB, free: 4.918 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6829, allocations: 0 / 0.8326 GB, free: 4.918 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.094e-05/0.6829, allocations: 0 / 0.8326 GB, free: 4.918 MB / 0.6544 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.004927/0.6879, allocations: 2.578 MB / 0.8351 GB, free: 2.277 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.6879, allocations: 8.031 kB / 0.8351 GB, free: 2.27 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01441/0.7023, allocations: 2.097 MB / 0.8372 GB, free: 172 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003101/0.7055, allocations: 1.22 MB / 0.8384 GB, free: 14.9 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001546/0.7056, allocations: 164.4 kB / 0.8385 GB, free: 14.73 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003806/0.706, allocations: 208 kB / 0.8387 GB, free: 14.53 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007852/0.7139, allocations: 3.158 MB / 0.8418 GB, free: 11.28 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.045e-05/0.714, allocations: 0 / 0.8418 GB, free: 11.28 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000237/0.7142, allocations: 95.98 kB / 0.8419 GB, free: 11.18 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.576e-05/0.7143, allocations: 52 kB / 0.842 GB, free: 11.13 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01184/0.7261, allocations: 4.099 MB / 0.846 GB, free: 7.016 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0152/0.7413, allocations: 6.928 MB / 0.8527 GB, free: 0 / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007717/0.7491, allocations: 2.685 MB / 0.8554 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003864/0.753, allocations: 1.426 MB / 0.8568 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000739/0.7538, allocations: 0.4996 MB / 0.8572 GB, free: 11.29 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004324/0.7581, allocations: 1.706 MB / 0.8589 GB, free: 9.562 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=195): time 3.677e-06/0.7581, allocations: 0 / 0.8589 GB, free: 9.562 MB / 0.6856 GB Notification: Performance of matching and sorting (n=195): time 0.01323/0.7713, allocations: 4.189 MB / 0.863 GB, free: 5.348 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001301/0.7715, allocations: 205.9 kB / 0.8632 GB, free: 5.102 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001309/0.7728, allocations: 0.8658 MB / 0.864 GB, free: 4.211 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002596/0.7731, allocations: 57.7 kB / 0.8641 GB, free: 4.148 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006403/0.7737, allocations: 0.6995 MB / 0.8648 GB, free: 3.438 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007155/0.7745, allocations: 0.6313 MB / 0.8654 GB, free: 2.797 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007262/0.7752, allocations: 367.2 kB / 0.8657 GB, free: 2.434 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.7754, allocations: 309.2 kB / 0.866 GB, free: 2.129 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003996/0.7794, allocations: 1.191 MB / 0.8672 GB, free: 0.9375 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4201/1.2, allocations: 1.351 MB / 0.8685 GB, free: 189.5 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008592/1.208, allocations: 2.498 MB / 0.871 GB, free: 188.9 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/1.208, allocations: 0.6875 kB / 0.871 GB, free: 188.9 MB / 0.6856 GB Notification: Performance of matching and sorting (n=217) (initialization): time 0.009859/1.218, allocations: 2.949 MB / 0.8738 GB, free: 188 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.142e-05/1.218, allocations: 5.656 kB / 0.8738 GB, free: 188 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/1.218, allocations: 1.625 kB / 0.8738 GB, free: 188 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006533/1.219, allocations: 90.56 kB / 0.8739 GB, free: 188 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003591/1.222, allocations: 0.5712 MB / 0.8745 GB, free: 188 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002067/1.224, allocations: 1.64 MB / 0.8761 GB, free: 186.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002755/1.227, allocations: 342.8 kB / 0.8764 GB, free: 186.4 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002757/1.228, allocations: 92.92 kB / 0.8765 GB, free: 186.4 MB / 0.6856 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.0009823/1.229, allocations: 410.5 kB / 0.8769 GB, free: 186.1 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004023/1.229, allocations: 142.8 kB / 0.877 GB, free: 186.1 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01179/1.241, allocations: 3.477 MB / 0.8804 GB, free: 184.9 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.643e-05/1.241, allocations: 20.94 kB / 0.8804 GB, free: 184.9 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/1.241, allocations: 3.938 kB / 0.8805 GB, free: 184.9 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-05/1.241, allocations: 12.31 kB / 0.8805 GB, free: 184.9 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01525/1.256, allocations: 5.735 MB / 0.8861 GB, free: 182 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-05/1.256, allocations: 0 / 0.8861 GB, free: 182 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004708/1.261, allocations: 0.5498 MB / 0.8866 GB, free: 181.8 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005746/1.261, allocations: 73.78 kB / 0.8867 GB, free: 181.8 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003098/1.262, allocations: 67.23 kB / 0.8867 GB, free: 181.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001954/1.264, allocations: 1.67 MB / 0.8884 GB, free: 180.1 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/1.264, allocations: 1.094 kB / 0.8884 GB, free: 180.1 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01285/1.277, allocations: 3.053 MB / 0.8913 GB, free: 178.6 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001372/1.278, allocations: 0.4935 MB / 0.8918 GB, free: 178.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005417/1.279, allocations: 53.48 kB / 0.8919 GB, free: 178.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003428/1.282, allocations: 248 kB / 0.8921 GB, free: 178 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003684/1.282, allocations: 127 kB / 0.8922 GB, free: 177.9 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003211/1.283, allocations: 78.95 kB / 0.8923 GB, free: 177.9 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0011/1.284, allocations: 0.6423 MB / 0.8929 GB, free: 177.5 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.11e-07/1.284, allocations: 1.422 kB / 0.8929 GB, free: 177.5 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001921/1.286, allocations: 0.5999 MB / 0.8935 GB, free: 177.3 MB / 0.6856 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.00155/1.287, allocations: 0.652 MB / 0.8942 GB, free: 177.1 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.008902/1.296, allocations: 2.978 MB / 0.8971 GB, free: 175.6 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/1.296, allocations: 4.25 kB / 0.8971 GB, free: 175.6 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.004491/1.301, allocations: 1.663 MB / 0.8987 GB, free: 174.7 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001976/1.303, allocations: 361.3 kB / 0.899 GB, free: 174.5 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008947/1.312, allocations: 3.915 MB / 0.9029 GB, free: 172.4 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008176/1.313, allocations: 1.369 MB / 0.9042 GB, free: 171.4 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002458/1.315, allocations: 0.5504 MB / 0.9047 GB, free: 171 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009278/1.316, allocations: 216.4 kB / 0.905 GB, free: 171 MB / 0.6856 GB Notification: Performance of SimCode: time 6.91e-07/1.316, allocations: 0 / 0.905 GB, free: 171 MB / 0.6856 GB Notification: Performance of Templates: time 0.04055/1.357, allocations: 28.29 MB / 0.9326 GB, free: 144.1 MB / 0.6856 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)