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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6936/0.6936, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.58/1.58, allocations: 221.3 MB / 400.4 MB, free: 5.848 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.001081/0.001081, allocations: 95.22 kB / 483.3 MB, free: 5.867 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.309e-05/4.312e-05, allocations: 6.172 kB / 0.56 GB, free: 87.97 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.2099, allocations: 82.3 MB / 0.6404 GB, free: 7.836 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.721/5.931, allocations: 1.698 GB / 2.338 GB, free: 195.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003632/5.932, allocations: 87.11 kB / 2.339 GB, free: 195.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2637/6.195, allocations: 99.68 MB / 2.436 GB, free: 106.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.883e-06/6.195, allocations: 0 / 2.436 GB, free: 106.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.383e-05/6.196, allocations: 44 kB / 2.436 GB, free: 106.2 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 508 * Number of variables: 508 Notification: Performance of Generate backend data structure: time 0.003639/6.199, allocations: 1.921 MB / 2.438 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/6.199, allocations: 8.031 kB / 2.438 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01236/6.212, allocations: 1.886 MB / 2.44 GB, free: 102.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002423/6.214, allocations: 1.044 MB / 2.441 GB, free: 101.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001029/6.214, allocations: 151.9 kB / 2.441 GB, free: 101.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003707/6.215, allocations: 195.9 kB / 2.441 GB, free: 100.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004049/6.219, allocations: 2.45 MB / 2.443 GB, free: 98.39 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.456e-05/6.219, allocations: 0 / 2.443 GB, free: 98.39 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000231/6.219, allocations: 80 kB / 2.443 GB, free: 98.31 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.654e-05/6.219, allocations: 52 kB / 2.444 GB, free: 98.26 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004383/6.223, allocations: 2.963 MB / 2.446 GB, free: 95.3 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01354/6.237, allocations: 6.741 MB / 2.453 GB, free: 88.48 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002799/6.24, allocations: 2.005 MB / 2.455 GB, free: 86.46 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001391/6.241, allocations: 1.06 MB / 2.456 GB, free: 85.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006748/6.242, allocations: 0.4957 MB / 2.456 GB, free: 84.81 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001809/6.244, allocations: 1.321 MB / 2.458 GB, free: 83.47 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=195): time 3.987e-06/6.244, allocations: 4 kB / 2.458 GB, free: 83.46 MB / 0.6823 GB Notification: Performance of matching and sorting (n=195): time 0.003985/6.248, allocations: 2.109 MB / 2.46 GB, free: 81.34 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.572e-05/6.248, allocations: 253.3 kB / 2.46 GB, free: 81.04 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/6.249, allocations: 0.8019 MB / 2.461 GB, free: 80.21 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001807/6.249, allocations: 57.7 kB / 2.461 GB, free: 80.15 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004416/6.25, allocations: 0.6375 MB / 2.462 GB, free: 79.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004233/6.25, allocations: 0.6313 MB / 2.462 GB, free: 78.86 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000141/6.25, allocations: 39.94 kB / 2.462 GB, free: 78.82 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.876e-05/6.25, allocations: 361.9 kB / 2.463 GB, free: 78.46 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00122/6.251, allocations: 0.8007 MB / 2.463 GB, free: 77.66 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001316/6.253, allocations: 0.9934 MB / 2.464 GB, free: 76.63 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001305/6.254, allocations: 0.8414 MB / 2.465 GB, free: 75.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/6.254, allocations: 0 / 2.465 GB, free: 75.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003901/6.258, allocations: 2.16 MB / 2.467 GB, free: 73.62 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.591e-05/6.258, allocations: 8.875 kB / 2.467 GB, free: 73.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/6.258, allocations: 4 kB / 2.467 GB, free: 73.61 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005705/6.259, allocations: 92.83 kB / 2.467 GB, free: 73.52 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003351/6.262, allocations: 0.5617 MB / 2.468 GB, free: 72.96 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001663/6.264, allocations: 1.517 MB / 2.469 GB, free: 71.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003089/6.267, allocations: 342.2 kB / 2.47 GB, free: 70.96 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000319/6.267, allocations: 83.89 kB / 2.47 GB, free: 70.88 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (206): * Single equations (assignments): 205 * 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.0004564/6.268, allocations: 199.3 kB / 2.47 GB, free: 70.68 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003411/6.268, allocations: 146.2 kB / 2.47 GB, free: 70.54 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005556/6.274, allocations: 2.77 MB / 2.473 GB, free: 67.74 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.488e-05/6.274, allocations: 20 kB / 2.473 GB, free: 67.72 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/6.274, allocations: 0 / 2.473 GB, free: 67.72 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-05/6.274, allocations: 11.95 kB / 2.473 GB, free: 67.71 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007346/6.281, allocations: 4.991 MB / 2.478 GB, free: 62.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.233e-06/6.281, allocations: 0 / 2.478 GB, free: 62.66 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003262/6.284, allocations: 0.5539 MB / 2.478 GB, free: 62.11 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004856/6.285, allocations: 88.72 kB / 2.478 GB, free: 62.02 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002186/6.285, allocations: 71.91 kB / 2.478 GB, free: 61.95 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001405/6.286, allocations: 1.548 MB / 2.48 GB, free: 60.26 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/6.286, allocations: 3.938 kB / 2.48 GB, free: 60.25 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004067/6.291, allocations: 2.31 MB / 2.482 GB, free: 57.92 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008977/6.291, allocations: 0.5452 MB / 2.483 GB, free: 57.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002651/6.292, allocations: 36 kB / 2.483 GB, free: 57.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002547/6.294, allocations: 267.7 kB / 2.483 GB, free: 57.06 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002523/6.295, allocations: 129.8 kB / 2.483 GB, free: 56.93 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001865/6.295, allocations: 75.92 kB / 2.483 GB, free: 56.86 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008613/6.296, allocations: 0.6664 MB / 2.484 GB, free: 56.18 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/6.296, allocations: 0 / 2.484 GB, free: 56.18 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001943/6.298, allocations: 0.6506 MB / 2.484 GB, free: 55.53 MB / 0.6823 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) * 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.002057/6.3, allocations: 1.078 MB / 2.485 GB, free: 54.58 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003633/6.303, allocations: 2.218 MB / 2.488 GB, free: 52.35 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/6.303, allocations: 0 / 2.488 GB, free: 52.35 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001819/6.305, allocations: 1.287 MB / 2.489 GB, free: 51.05 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001521/6.307, allocations: 273.5 kB / 2.489 GB, free: 50.79 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005469/6.312, allocations: 2.844 MB / 2.492 GB, free: 47.92 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000613/6.313, allocations: 1.373 MB / 2.493 GB, free: 46.51 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003354/6.316, allocations: 0.5544 MB / 2.494 GB, free: 45.95 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009196/6.317, allocations: 215.2 kB / 2.494 GB, free: 45.74 MB / 0.6823 GB Notification: Performance of SimCode: time 1.262e-06/6.317, allocations: 0 / 2.494 GB, free: 45.74 MB / 0.6823 GB Notification: Performance of Templates: time 0.04922/6.366, allocations: 34.97 MB / 2.528 GB, free: 10.83 MB / 0.6823 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)