Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.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.LocalCivilTime,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",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.007782/0.007782, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8071/0.8071, allocations: 135.2 MB / 151 MB, free: 13.84 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.343/1.343, allocations: 223.2 MB / 406.8 MB, free: 3.227 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009186/0.0009186, allocations: 100.1 kB / 489.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003698/0.0003698, allocations: 8 kB / 0.5692 GB, free: 14.03 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4507/0.4511, allocations: 82.3 MB / 0.6495 GB, free: 36.1 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.154/0.6052, allocations: 111.6 MB / 0.7586 GB, free: 4.312 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002312/0.6055, allocations: 83.94 kB / 0.7586 GB, free: 4.23 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.00194/0.6074, allocations: 0.7484 MB / 0.7594 GB, free: 3.484 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.515e-06/0.6075, allocations: 3.938 kB / 0.7594 GB, free: 3.48 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.236e-06/0.6075, allocations: 4 kB / 0.7594 GB, free: 3.477 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003771/0.6079, allocations: 332 kB / 0.7597 GB, free: 3.105 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.6079, allocations: 8.031 kB / 0.7597 GB, free: 3.098 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.993e-05/0.608, allocations: 34.56 kB / 0.7597 GB, free: 3.055 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.936e-05/0.608, allocations: 4 kB / 0.7597 GB, free: 3.051 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/0.6082, allocations: 171 kB / 0.7599 GB, free: 2.844 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.6082, allocations: 3.984 kB / 0.7599 GB, free: 2.84 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.458e-06/0.6082, allocations: 0 / 0.7599 GB, free: 2.84 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.891e-05/0.6083, allocations: 33.7 kB / 0.7599 GB, free: 2.801 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.6083, allocations: 8 kB / 0.7599 GB, free: 2.793 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.6083, allocations: 0 / 0.7599 GB, free: 2.793 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.6084, allocations: 0 / 0.7599 GB, free: 2.793 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.138e-05/0.6084, allocations: 4 kB / 0.7599 GB, free: 2.789 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003461/0.6087, allocations: 249.1 kB / 0.7602 GB, free: 2.496 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 4.589e-05/0.6088, allocations: 26.52 kB / 0.7602 GB, free: 2.461 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.185e-05/0.6088, allocations: 4 kB / 0.7602 GB, free: 2.457 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.6088, allocations: 30.56 kB / 0.7602 GB, free: 2.418 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.6089, allocations: 0 / 0.7602 GB, free: 2.418 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0001615/0.609, allocations: 45.75 kB / 0.7603 GB, free: 2.367 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.6091, allocations: 55.34 kB / 0.7603 GB, free: 2.301 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.966e-05/0.6091, allocations: 89 kB / 0.7604 GB, free: 2.207 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.212e-05/0.6092, allocations: 25.7 kB / 0.7604 GB, free: 2.176 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.839e-05/0.6092, allocations: 84.27 kB / 0.7605 GB, free: 2.09 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.552e-05/0.6092, allocations: 11.89 kB / 0.7605 GB, free: 2.078 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.973e-06/0.6092, allocations: 0 / 0.7605 GB, free: 2.078 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.6094, allocations: 318.8 kB / 0.7608 GB, free: 1.758 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.606e-05/0.6094, allocations: 7.938 kB / 0.7609 GB, free: 1.75 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.071e-05/0.6094, allocations: 4 kB / 0.7609 GB, free: 1.746 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.883e-05/0.6094, allocations: 0 / 0.7609 GB, free: 1.746 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.6094, allocations: 0 / 0.7609 GB, free: 1.746 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.912e-05/0.6095, allocations: 45.59 kB / 0.7609 GB, free: 1.695 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.6096, allocations: 12.09 kB / 0.7609 GB, free: 1.684 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.6096, allocations: 0 / 0.7609 GB, free: 1.684 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.6096, allocations: 0 / 0.7609 GB, free: 1.684 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.408e-05/0.6097, allocations: 4 kB / 0.7609 GB, free: 1.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.6097, allocations: 3.938 kB / 0.7609 GB, free: 1.676 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.031e-05/0.6097, allocations: 0 / 0.7609 GB, free: 1.676 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.688e-06/0.6097, allocations: 0 / 0.7609 GB, free: 1.676 MB / 0.5261 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 9.869e-05/0.6098, allocations: 109.8 kB / 0.761 GB, free: 1.559 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.143e-05/0.6099, allocations: 4 kB / 0.761 GB, free: 1.555 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.123e-05/0.6099, allocations: 11.12 kB / 0.761 GB, free: 1.543 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.6099, allocations: 3.938 kB / 0.761 GB, free: 1.539 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.6099, allocations: 0 / 0.761 GB, free: 1.539 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.6099, allocations: 3.984 kB / 0.761 GB, free: 1.535 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001496/0.6101, allocations: 153.6 kB / 0.7612 GB, free: 1.336 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.6101, allocations: 0 / 0.7612 GB, free: 1.336 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.411e-05/0.6101, allocations: 12 kB / 0.7612 GB, free: 1.324 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.6101, allocations: 0 / 0.7612 GB, free: 1.324 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.6101, allocations: 0 / 0.7612 GB, free: 1.324 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.6101, allocations: 0 / 0.7612 GB, free: 1.324 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.6101, allocations: 0 / 0.7612 GB, free: 1.324 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001037/0.6103, allocations: 143.5 kB / 0.7613 GB, free: 1.168 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.386e-05/0.6103, allocations: 81.28 kB / 0.7614 GB, free: 1.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.135e-05/0.6103, allocations: 0 / 0.7614 GB, free: 1.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.912e-05/0.6104, allocations: 0 / 0.7614 GB, free: 1.07 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.533e-05/0.6104, allocations: 7.984 kB / 0.7614 GB, free: 1.062 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-06/0.6104, allocations: 0 / 0.7614 GB, free: 1.062 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.921e-05/0.6105, allocations: 83.28 kB / 0.7615 GB, free: 0.9805 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6105, allocations: 4.031 kB / 0.7615 GB, free: 0.9766 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002247/0.6107, allocations: 0 / 0.7615 GB, free: 0.9766 MB / 0.5261 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0004015/0.6111, allocations: 0.6733 MB / 0.7622 GB, free: 280 kB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 7.309e-05/0.6112, allocations: 15.94 kB / 0.7622 GB, free: 264 kB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.6112, allocations: 8.031 kB / 0.7622 GB, free: 256 kB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.2e-05/0.6112, allocations: 7.984 kB / 0.7622 GB, free: 248 kB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001332/0.6113, allocations: 0 / 0.7622 GB, free: 248 kB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005888/0.6119, allocations: 332.8 kB / 0.7625 GB, free: 15.87 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002602/0.6122, allocations: 0.6811 MB / 0.7632 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.087e-05/0.6122, allocations: 7.922 kB / 0.7632 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.95e-05/0.6123, allocations: 7.438 kB / 0.7632 GB, free: 15.15 MB / 0.5417 GB Notification: Performance of SimCode: time 3.1e-07/0.6123, allocations: 0 / 0.7632 GB, free: 15.15 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01189/0.6242, allocations: 0.8639 MB / 0.764 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002526/0.6245, allocations: 198.6 kB / 0.7642 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.529/2.153, allocations: 0 / 0.7642 GB, free: 14.23 MB / 0.5417 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1)