Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001622/0.001623, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001827/0.001828, allocations: 196.1 kB / 16.26 MB, free: 6.629 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.405/1.405, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9416/0.9416, allocations: 135.6 MB / 425.6 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001854/0.001854, allocations: 68.39 kB / 0.5054 GB, free: 5.207 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.166, allocations: 81.02 MB / 0.5845 GB, free: 4.332 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.006406/0.1724, allocations: 4.504 MB / 0.5889 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4424/0.6149, allocations: 148.4 MB / 0.7338 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001039/0.616, allocations: 21.59 kB / 0.7338 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000809/0.6169, allocations: 142.1 kB / 0.7339 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001952/0.6188, allocations: 431.8 kB / 0.7344 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002244/0.6211, allocations: 0.7442 MB / 0.7351 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002027/0.6231, allocations: 1.309 MB / 0.7364 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001576/0.6247, allocations: 0.9133 MB / 0.7373 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008763/0.6256, allocations: 0.5345 MB / 0.7378 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005715/0.6262, allocations: 0.5766 MB / 0.7383 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001433/0.6263, allocations: 140.9 kB / 0.7385 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008857/0.6272, allocations: 486.3 kB / 0.7389 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000312/0.6275, allocations: 346.8 kB / 0.7393 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005995/0.6281, allocations: 0.6472 MB / 0.7399 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001981/0.6301, allocations: 1.791 MB / 0.7416 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.6302, allocations: 0 / 0.7416 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6302, allocations: 0 / 0.7416 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.553e-05/0.6302, allocations: 0 / 0.7416 GB, free: 8.836 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.002608/0.6328, allocations: 1.596 MB / 0.7432 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.6328, allocations: 8.156 kB / 0.7432 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008886/0.6337, allocations: 203.1 kB / 0.7434 GB, free: 7.699 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001155/0.6349, allocations: 0.8169 MB / 0.7442 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.144e-05/0.635, allocations: 89.41 kB / 0.7443 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001316/0.6351, allocations: 113.4 kB / 0.7444 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001925/0.6371, allocations: 1.136 MB / 0.7455 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.429e-05/0.6371, allocations: 0 / 0.7455 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/0.6372, allocations: 46.75 kB / 0.7456 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.212e-05/0.6372, allocations: 28.56 kB / 0.7456 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001849/0.6391, allocations: 1.234 MB / 0.7468 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00466/0.6438, allocations: 3.017 MB / 0.7497 GB, free: 2.883 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001385/0.6452, allocations: 0.7799 MB / 0.7505 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005114/0.6457, allocations: 291.3 kB / 0.7508 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.609e-05/0.6458, allocations: 32.61 kB / 0.7508 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008867/0.6467, allocations: 448.5 kB / 0.7512 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=78): time 2.505e-06/0.6467, allocations: 0.6562 kB / 0.7512 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of matching and sorting (n=78): time 0.003048/0.6497, allocations: 1.147 MB / 0.7524 GB, free: 160 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001528/0.6499, allocations: 192.6 kB / 0.7525 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009492/0.6509, allocations: 0.6882 MB / 0.7532 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.382e-05/0.6509, allocations: 41.7 kB / 0.7532 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004513/0.6514, allocations: 0.4918 MB / 0.7537 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002436/0.6517, allocations: 260.2 kB / 0.754 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002582/0.6519, allocations: 164.2 kB / 0.7541 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002207/0.6521, allocations: 386.8 kB / 0.7545 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005033/0.6527, allocations: 258 kB / 0.7547 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006147/0.6533, allocations: 363 kB / 0.7551 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001077/0.6544, allocations: 0.5994 MB / 0.7557 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.6544, allocations: 0 / 0.7557 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001976/0.6564, allocations: 0.8447 MB / 0.7565 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.6564, allocations: 4 kB / 0.7565 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.6564, allocations: 0 / 0.7565 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006232/0.657, allocations: 88.84 kB / 0.7566 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006526/0.6577, allocations: 159.8 kB / 0.7567 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002291/0.66, allocations: 1.625 MB / 0.7583 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007039/0.6607, allocations: 101.5 kB / 0.7584 GB, free: 9.676 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.029e-05/0.6608, allocations: 36.03 kB / 0.7585 GB, free: 9.641 MB / 0.5762 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 (92): * Single equations (assignments): 91 * 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.0005356/0.6613, allocations: 279.2 kB / 0.7587 GB, free: 9.359 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001664/0.6615, allocations: 94.91 kB / 0.7588 GB, free: 9.266 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002405/0.6639, allocations: 1.02 MB / 0.7598 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.415e-06/0.6639, allocations: 8 kB / 0.7598 GB, free: 8.23 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.664, allocations: 0 / 0.7598 GB, free: 8.23 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.98e-05/0.664, allocations: 7.969 kB / 0.7598 GB, free: 8.223 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001265/0.6653, allocations: 0.9802 MB / 0.7608 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.6653, allocations: 0 / 0.7608 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005952/0.6659, allocations: 152.7 kB / 0.7609 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004299/0.6663, allocations: 68.78 kB / 0.761 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.623e-05/0.6664, allocations: 23.98 kB / 0.761 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001996/0.6684, allocations: 1.67 MB / 0.7627 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.6684, allocations: 4.062 kB / 0.7627 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001895/0.6703, allocations: 0.8848 MB / 0.7635 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003902/0.6707, allocations: 267.7 kB / 0.7638 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001168/0.6708, allocations: 16 kB / 0.7638 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005292/0.6714, allocations: 51.94 kB / 0.7638 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001459/0.6715, allocations: 64.91 kB / 0.7639 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.772e-05/0.6716, allocations: 35.98 kB / 0.7639 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006943/0.6723, allocations: 495 kB / 0.7644 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6723, allocations: 3.938 kB / 0.7644 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00101/0.6733, allocations: 346.8 kB / 0.7647 GB, free: 2.949 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 86 * 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.001912/0.6752, allocations: 0.5924 MB / 0.7653 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002306/0.6776, allocations: 0.9945 MB / 0.7663 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.6776, allocations: 0 / 0.7663 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009372/0.6785, allocations: 0.5053 MB / 0.7668 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001174/0.6797, allocations: 304.9 kB / 0.7671 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004459/0.6842, allocations: 2.489 MB / 0.7695 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007808/0.685, allocations: 1.086 MB / 0.7706 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008539/0.6858, allocations: 258.8 kB / 0.7708 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002479/0.6861, allocations: 103.4 kB / 0.7709 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of SimCode: time 4.31e-07/0.6861, allocations: 0 / 0.7709 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of Templates: time 0.02515/0.7112, allocations: 14.44 MB / 0.785 GB, free: 14.52 MB / 0.6075 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)