Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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: "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 175.2 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.7028/0.7028, 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.48/1.48, 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.001012/0.001012, allocations: 104.7 kB / 483.3 MB, free: 5.895 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.878e-05/3.88e-05, allocations: 2.531 kB / 0.5601 GB, free: 87.86 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1896/0.1897, allocations: 82.31 MB / 0.6405 GB, free: 7.758 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.834/5.024, allocations: 1.698 GB / 2.339 GB, free: 194.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002705/5.024, allocations: 90.52 kB / 2.339 GB, free: 194.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2305/5.255, allocations: 99.68 MB / 2.436 GB, free: 105.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.975e-06/5.255, allocations: 3.984 kB / 2.436 GB, free: 105.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001319/5.255, allocations: 48 kB / 2.436 GB, free: 105.5 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.006268/5.261, allocations: 1.92 MB / 2.438 GB, free: 103.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.896e-05/5.261, allocations: 8.031 kB / 2.438 GB, free: 103.6 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006324/5.262, allocations: 282.9 kB / 2.438 GB, free: 103.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01965/5.282, allocations: 1.882 MB / 2.44 GB, free: 101.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004389/5.286, allocations: 1.056 MB / 2.441 GB, free: 100.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002686/5.286, allocations: 144 kB / 2.441 GB, free: 100.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001229/5.288, allocations: 188 kB / 2.441 GB, free: 99.96 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01006/5.298, allocations: 2.454 MB / 2.444 GB, free: 97.46 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001036/5.298, allocations: 0 / 2.444 GB, free: 97.46 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000923/5.299, allocations: 80 kB / 2.444 GB, free: 97.39 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-05/5.299, allocations: 48 kB / 2.444 GB, free: 97.34 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009361/5.308, allocations: 2.967 MB / 2.447 GB, free: 94.37 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0263/5.335, allocations: 6.737 MB / 2.453 GB, free: 87.56 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005696/5.34, allocations: 2.01 MB / 2.455 GB, free: 85.53 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002798/5.343, allocations: 1.06 MB / 2.456 GB, free: 84.47 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001102/5.344, allocations: 0.5033 MB / 2.457 GB, free: 83.88 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003814/5.348, allocations: 1.321 MB / 2.458 GB, free: 82.54 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=195): time 1.171e-05/5.348, allocations: 0 / 2.458 GB, free: 82.54 MB / 0.6823 GB Notification: Performance of matching and sorting (n=195): time 0.007908/5.356, allocations: 2.113 MB / 2.46 GB, free: 80.41 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000113/5.356, allocations: 257.3 kB / 2.46 GB, free: 80.11 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002182/5.359, allocations: 0.7902 MB / 2.461 GB, free: 79.29 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0005028/5.359, allocations: 61.7 kB / 2.461 GB, free: 79.22 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007443/5.36, allocations: 0.6336 MB / 2.462 GB, free: 78.58 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001011/5.361, allocations: 0.6391 MB / 2.463 GB, free: 77.93 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003842/5.361, allocations: 36 kB / 2.463 GB, free: 77.89 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001737/5.361, allocations: 365.9 kB / 2.463 GB, free: 77.53 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002553/5.364, allocations: 0.7968 MB / 2.464 GB, free: 76.73 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002748/5.367, allocations: 0.9892 MB / 2.465 GB, free: 75.71 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00268/5.369, allocations: 0.8415 MB / 2.465 GB, free: 74.87 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.003e-05/5.37, allocations: 0 / 2.465 GB, free: 74.87 MB / 0.6823 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.007594/5.377, allocations: 2.16 MB / 2.468 GB, free: 72.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.86e-05/5.377, allocations: 5.094 kB / 2.468 GB, free: 72.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/5.377, allocations: 8.156 kB / 2.468 GB, free: 72.69 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008791/5.378, allocations: 84.77 kB / 2.468 GB, free: 72.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005879/5.384, allocations: 0.5656 MB / 2.468 GB, free: 72.04 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002371/5.386, allocations: 1.517 MB / 2.47 GB, free: 70.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004627/5.391, allocations: 346.3 kB / 2.47 GB, free: 70.04 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006489/5.392, allocations: 87.91 kB / 2.47 GB, free: 69.95 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.001147/5.393, allocations: 200.6 kB / 2.47 GB, free: 69.75 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008597/5.394, allocations: 146.2 kB / 2.47 GB, free: 69.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01037/5.404, allocations: 2.758 MB / 2.473 GB, free: 66.82 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.569e-05/5.404, allocations: 20 kB / 2.473 GB, free: 66.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/5.404, allocations: 0 / 2.473 GB, free: 66.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.281e-05/5.404, allocations: 11.95 kB / 2.473 GB, free: 66.79 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01337/5.418, allocations: 4.999 MB / 2.478 GB, free: 61.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.204e-05/5.418, allocations: 4 kB / 2.478 GB, free: 61.73 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005273/5.423, allocations: 0.55 MB / 2.479 GB, free: 61.18 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006094/5.424, allocations: 88.77 kB / 2.479 GB, free: 61.09 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003839/5.424, allocations: 67.92 kB / 2.479 GB, free: 61.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002129/5.426, allocations: 1.552 MB / 2.48 GB, free: 59.33 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/5.426, allocations: 4.062 kB / 2.48 GB, free: 59.32 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006775/5.433, allocations: 2.306 MB / 2.483 GB, free: 57 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001432/5.434, allocations: 0.5491 MB / 2.483 GB, free: 56.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004592/5.435, allocations: 39.98 kB / 2.483 GB, free: 56.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003931/5.439, allocations: 267.7 kB / 2.483 GB, free: 56.12 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003525/5.439, allocations: 121.8 kB / 2.483 GB, free: 56.01 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003133/5.44, allocations: 87.86 kB / 2.484 GB, free: 55.92 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001409/5.441, allocations: 0.6625 MB / 2.484 GB, free: 55.25 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.21e-07/5.441, allocations: 0 / 2.484 GB, free: 55.25 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003093/5.444, allocations: 0.6467 MB / 2.485 GB, free: 54.6 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.009435/5.454, allocations: 3.841 MB / 2.489 GB, free: 50.86 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00604/5.46, allocations: 2.219 MB / 2.491 GB, free: 48.63 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.755e-06/5.46, allocations: 0 / 2.491 GB, free: 48.63 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00311/5.463, allocations: 1.283 MB / 2.492 GB, free: 47.34 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002415/5.465, allocations: 273.6 kB / 2.492 GB, free: 47.07 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01227/5.478, allocations: 3.202 MB / 2.495 GB, free: 43.83 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001417/5.479, allocations: 1.373 MB / 2.497 GB, free: 42.42 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.006406/5.485, allocations: 0.5622 MB / 2.497 GB, free: 41.86 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00252/5.488, allocations: 0.7569 MB / 2.498 GB, free: 41.1 MB / 0.6823 GB Notification: Performance of SimCode: time 1.643e-06/5.488, allocations: 0 / 2.498 GB, free: 41.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6247/6.113, allocations: 49.64 MB / 2.546 GB, free: 192.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002165/6.113, allocations: 229.8 kB / 2.547 GB, free: 192.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.641/9.754, allocations: 1.469 kB / 2.547 GB, free: 192.5 MB / 0.6823 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)