Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",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.001618/0.001618, 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.7766/0.7766, allocations: 133.4 MB / 146.7 MB, free: 10.74 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.927/1.927, allocations: 221.3 MB / 400.4 MB, free: 5.797 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.001036/0.001036, allocations: 87.72 kB / 483.3 MB, free: 5.816 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.141e-05/4.151e-05, allocations: 4.281 kB / 0.5601 GB, free: 87.83 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1868/0.1868, allocations: 82.31 MB / 0.6405 GB, free: 7.707 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7707/0.9576, allocations: 112.3 MB / 0.7502 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002959/0.958, allocations: 82.16 kB / 0.7503 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.003716/0.9617, allocations: 1.147 MB / 0.7514 GB, free: 27.46 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.724e-06/0.9617, allocations: 0 / 0.7514 GB, free: 27.46 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.988e-06/0.9618, allocations: 0 / 0.7514 GB, free: 27.46 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003719/0.9621, allocations: 339.6 kB / 0.7517 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.626e-05/0.9622, allocations: 7.75 kB / 0.7517 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.306e-05/0.9623, allocations: 45.91 kB / 0.7518 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.534e-05/0.9623, allocations: 0 / 0.7518 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001731/0.9625, allocations: 181.8 kB / 0.7519 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.918e-06/0.9625, allocations: 3.625 kB / 0.7519 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.354e-05/0.9625, allocations: 3.844 kB / 0.7519 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.9626, allocations: 47.64 kB / 0.752 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.9627, allocations: 3.906 kB / 0.752 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.9627, allocations: 7.5 kB / 0.752 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.9627, allocations: 0 / 0.752 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.036e-05/0.9628, allocations: 21.67 kB / 0.752 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004267/0.9632, allocations: 288.1 kB / 0.7523 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001837/0.9634, allocations: 54.8 kB / 0.7523 GB, free: 26.52 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.635e-05/0.9634, allocations: 29.05 kB / 0.7524 GB, free: 26.51 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.9635, allocations: 0 / 0.7524 GB, free: 26.51 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.9635, allocations: 31.66 kB / 0.7524 GB, free: 26.47 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=5): time 8.92e-07/0.9635, allocations: 4 kB / 0.7524 GB, free: 26.47 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5): time 0.0001787/0.9637, allocations: 60.86 kB / 0.7525 GB, free: 26.44 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.9637, allocations: 59.3 kB / 0.7525 GB, free: 26.37 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.039e-05/0.9638, allocations: 88.81 kB / 0.7526 GB, free: 26.28 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.9638, allocations: 25.7 kB / 0.7526 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.256e-05/0.9639, allocations: 102.3 kB / 0.7527 GB, free: 26.15 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.202e-05/0.9639, allocations: 7.812 kB / 0.7527 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-06/0.964, allocations: 3.625 kB / 0.7527 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.9641, allocations: 320.7 kB / 0.753 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.113e-05/0.9641, allocations: 11.38 kB / 0.753 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.807e-05/0.9642, allocations: 13.41 kB / 0.7531 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.779e-05/0.9642, allocations: 10.14 kB / 0.7531 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.9642, allocations: 3.75 kB / 0.7531 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.979e-05/0.9643, allocations: 50.69 kB / 0.7531 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.9643, allocations: 10.12 kB / 0.7531 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.9643, allocations: 0 / 0.7531 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.9644, allocations: 0 / 0.7531 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.479e-05/0.9644, allocations: 11.59 kB / 0.7531 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.9644, allocations: 6.203 kB / 0.7531 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.893e-05/0.9645, allocations: 3.953 kB / 0.7532 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.9645, allocations: 0 / 0.7532 GB, free: 25.78 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.187e-05/0.9646, allocations: 112.4 kB / 0.7533 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.252e-05/0.9646, allocations: 3.906 kB / 0.7533 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001551/0.9647, allocations: 81.83 kB / 0.7533 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.9648, allocations: 6.062 kB / 0.7533 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.9648, allocations: 0 / 0.7533 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.9648, allocations: 5.625 kB / 0.7534 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001717/0.965, allocations: 180.1 kB / 0.7535 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.965, allocations: 0 / 0.7535 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.617e-05/0.965, allocations: 18.5 kB / 0.7535 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.965, allocations: 3.984 kB / 0.7535 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.965, allocations: 0 / 0.7535 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.9651, allocations: 0 / 0.7535 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.9651, allocations: 0 / 0.7535 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001408/0.9652, allocations: 177.7 kB / 0.7537 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.755e-05/0.9653, allocations: 81.11 kB / 0.7538 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.9653, allocations: 4.719 kB / 0.7538 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.901e-05/0.9653, allocations: 3.625 kB / 0.7538 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.262e-05/0.9654, allocations: 2.719 kB / 0.7538 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.9654, allocations: 3.969 kB / 0.7538 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.28e-05/0.9654, allocations: 82.41 kB / 0.7539 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.342e-06/0.9654, allocations: 0 / 0.7539 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002025/0.9657, allocations: 11.56 kB / 0.7539 GB, free: 25.11 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000511/0.9662, allocations: 0.7053 MB / 0.7546 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 9.726e-05/0.9663, allocations: 42.5 kB / 0.7546 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.9663, allocations: 3.938 kB / 0.7546 GB, free: 24.44 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.695e-05/0.9663, allocations: 19.03 kB / 0.7546 GB, free: 24.44 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001489/0.9665, allocations: 6.25 kB / 0.7547 GB, free: 24.44 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003895/0.9669, allocations: 123.3 kB / 0.7548 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/0.9672, allocations: 0.6885 MB / 0.7554 GB, free: 23.63 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.703e-05/0.9673, allocations: 4.094 kB / 0.7554 GB, free: 23.63 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.688e-05/0.9673, allocations: 21.05 kB / 0.7555 GB, free: 23.62 MB / 0.5105 GB Notification: Performance of SimCode: time 2.81e-07/0.9673, allocations: 0 / 0.7555 GB, free: 23.62 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01139/0.9787, allocations: 1.193 MB / 0.7566 GB, free: 23.46 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001771/0.9789, allocations: 163.8 kB / 0.7568 GB, free: 23.24 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.638/2.617, allocations: 0 / 0.7568 GB, free: 23.24 MB / 0.5105 GB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1)