Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6912/0.6912, allocations: 133.3 MB / 150.1 MB, free: 11.17 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 222.9 MB / 404.7 MB, free: 6.168 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 99.75 kB / 485.9 MB, free: 7.289 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009984/0.0009985, allocations: 51.92 kB / 0.5636 GB, free: 69.97 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1519, allocations: 80.43 MB / 0.6421 GB, free: 5.473 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.009555/0.1615, allocations: 4.13 MB / 0.6462 GB, free: 1.32 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.3932/0.5548, allocations: 148.1 MB / 0.7908 GB, free: 8.898 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005926/0.5554, allocations: 15.94 kB / 0.7908 GB, free: 8.883 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0004486/0.5559, allocations: 134 kB / 0.791 GB, free: 8.754 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001197/0.5571, allocations: 404.9 kB / 0.7914 GB, free: 8.371 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001536/0.5587, allocations: 0.6747 MB / 0.792 GB, free: 7.727 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0009471/0.5596, allocations: 1.097 MB / 0.7931 GB, free: 6.629 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000725/0.5603, allocations: 0.5776 MB / 0.7936 GB, free: 6.043 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004208/0.5608, allocations: 374.4 kB / 0.794 GB, free: 5.676 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004046/0.5612, allocations: 410 kB / 0.7944 GB, free: 5.273 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001025/0.5613, allocations: 48 kB / 0.7944 GB, free: 5.227 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000635/0.5619, allocations: 398.5 kB / 0.7948 GB, free: 4.84 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002079/0.5622, allocations: 207.2 kB / 0.795 GB, free: 4.637 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0003643/0.5625, allocations: 449.3 kB / 0.7954 GB, free: 4.195 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001229/0.5638, allocations: 1.382 MB / 0.7968 GB, free: 2.809 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.5638, allocations: 0 / 0.7968 GB, free: 2.809 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.865e-06/0.5638, allocations: 0 / 0.7968 GB, free: 2.809 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.04e-05/0.5638, allocations: 3.938 kB / 0.7968 GB, free: 2.805 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.001983/0.5658, allocations: 1.315 MB / 0.7981 GB, free: 1.438 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.083e-05/0.5658, allocations: 11.69 kB / 0.7981 GB, free: 1.43 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008501/0.5667, allocations: 179.5 kB / 0.7983 GB, free: 1.254 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009387/0.5676, allocations: 0.6958 MB / 0.7989 GB, free: 0.5156 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.728e-05/0.5677, allocations: 69.98 kB / 0.799 GB, free: 456 kB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.173e-05/0.5678, allocations: 76 kB / 0.7991 GB, free: 380 kB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001354/0.5692, allocations: 0.8442 MB / 0.7999 GB, free: 15.49 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.5692, allocations: 0 / 0.7999 GB, free: 15.49 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.098e-05/0.5693, allocations: 35.94 kB / 0.7999 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.726e-05/0.5693, allocations: 20 kB / 0.8 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001652/0.571, allocations: 1.054 MB / 0.801 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003419/0.5744, allocations: 2.359 MB / 0.8033 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001241/0.5756, allocations: 0.7058 MB / 0.804 GB, free: 11.24 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004887/0.5761, allocations: 266.4 kB / 0.8042 GB, free: 10.97 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 7.456e-05/0.5762, allocations: 36.59 kB / 0.8043 GB, free: 10.94 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000809/0.577, allocations: 420.2 kB / 0.8047 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=71): time 2.144e-06/0.5771, allocations: 4 kB / 0.8047 GB, free: 10.51 MB / 0.5417 GB Notification: Performance of matching and sorting (n=71): time 0.00289/0.58, allocations: 1.061 MB / 0.8057 GB, free: 9.422 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.5801, allocations: 192.6 kB / 0.8059 GB, free: 9.191 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006846/0.5808, allocations: 0.5861 MB / 0.8065 GB, free: 8.598 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.967e-05/0.5808, allocations: 41.69 kB / 0.8065 GB, free: 8.551 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002576/0.5811, allocations: 372.2 kB / 0.8069 GB, free: 8.18 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001693/0.5813, allocations: 236.5 kB / 0.8071 GB, free: 7.945 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002154/0.5815, allocations: 150.5 kB / 0.8072 GB, free: 7.793 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.5816, allocations: 378.8 kB / 0.8076 GB, free: 7.414 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004777/0.5821, allocations: 241.8 kB / 0.8078 GB, free: 7.176 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005615/0.5827, allocations: 318.8 kB / 0.8081 GB, free: 6.848 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/0.5837, allocations: 0.5472 MB / 0.8087 GB, free: 6.285 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.5837, allocations: 0 / 0.8087 GB, free: 6.285 MB / 0.5417 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001826/0.5856, allocations: 0.7627 MB / 0.8094 GB, free: 5.512 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.5856, allocations: 5.25 kB / 0.8094 GB, free: 5.508 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.5856, allocations: 0 / 0.8094 GB, free: 5.508 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006098/0.5862, allocations: 86.36 kB / 0.8095 GB, free: 5.422 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005954/0.5868, allocations: 151.8 kB / 0.8096 GB, free: 5.273 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001939/0.5888, allocations: 1.512 MB / 0.8111 GB, free: 3.625 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005682/0.5894, allocations: 80.33 kB / 0.8112 GB, free: 3.547 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.283e-05/0.5894, allocations: 31.98 kB / 0.8112 GB, free: 3.516 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (83): * Single equations (assignments): 82 * 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.0003173/0.5898, allocations: 251.1 kB / 0.8115 GB, free: 3.262 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/0.5899, allocations: 79.05 kB / 0.8115 GB, free: 3.184 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002158/0.5921, allocations: 0.9711 MB / 0.8125 GB, free: 2.203 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.417e-06/0.5921, allocations: 8 kB / 0.8125 GB, free: 2.195 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.524e-06/0.5921, allocations: 0 / 0.8125 GB, free: 2.195 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.5921, allocations: 3.984 kB / 0.8125 GB, free: 2.191 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009209/0.593, allocations: 0.8212 MB / 0.8133 GB, free: 1.324 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/0.5931, allocations: 4 kB / 0.8133 GB, free: 1.32 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005377/0.5936, allocations: 143.7 kB / 0.8134 GB, free: 1.18 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005206/0.5941, allocations: 84.77 kB / 0.8135 GB, free: 1.094 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-05/0.5942, allocations: 23.98 kB / 0.8135 GB, free: 1.07 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001777/0.596, allocations: 1.54 MB / 0.815 GB, free: 15.39 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.596, allocations: 4.031 kB / 0.8151 GB, free: 15.39 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002643/0.5986, allocations: 1.813 MB / 0.8168 GB, free: 13.51 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003458/0.599, allocations: 259.8 kB / 0.8171 GB, free: 13.24 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.997e-05/0.5991, allocations: 16 kB / 0.8171 GB, free: 13.22 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005026/0.5996, allocations: 53.5 kB / 0.8171 GB, free: 13.17 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/0.5998, allocations: 57.06 kB / 0.8172 GB, free: 13.12 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.213e-05/0.5998, allocations: 36.05 kB / 0.8172 GB, free: 13.08 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004856/0.6003, allocations: 423 kB / 0.8176 GB, free: 12.68 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6003, allocations: 0 / 0.8176 GB, free: 12.68 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0008483/0.6012, allocations: 295.3 kB / 0.8179 GB, free: 12.39 MB / 0.5573 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * 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.001258/0.6024, allocations: 0.5931 MB / 0.8185 GB, free: 11.97 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001461/0.6039, allocations: 0.7439 MB / 0.8192 GB, free: 11.22 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.6039, allocations: 0 / 0.8192 GB, free: 11.22 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0008664/0.6048, allocations: 488.2 kB / 0.8197 GB, free: 10.73 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.6059, allocations: 253.4 kB / 0.8199 GB, free: 10.48 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003972/0.6099, allocations: 2.44 MB / 0.8223 GB, free: 8.004 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005419/0.6104, allocations: 1.011 MB / 0.8233 GB, free: 6.965 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007544/0.6112, allocations: 253.9 kB / 0.8235 GB, free: 6.715 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002294/0.6114, allocations: 99.38 kB / 0.8236 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of SimCode: time 3.7e-07/0.6114, allocations: 0 / 0.8236 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of Templates: time 0.02074/0.6322, allocations: 13.38 MB / 0.8367 GB, free: 9.367 MB / 0.573 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)