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.001913/0.001913, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8063/0.8063, allocations: 133.5 MB / 141.6 MB, free: 2.891 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.604/1.604, allocations: 221.5 MB / 395.4 MB, free: 10.82 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.0009726/0.0009726, allocations: 102.8 kB / 478.2 MB, free: 1.297 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.486e-05/2.477e-05, allocations: 4 kB / 0.5536 GB, free: 8.926 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5409/0.541, allocations: 82.3 MB / 0.6339 GB, free: 40.79 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1685/0.7096, allocations: 110.9 MB / 0.7422 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003177/0.7099, allocations: 79.95 kB / 0.7423 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.002073/0.712, allocations: 0.7485 MB / 0.743 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.873e-06/0.712, allocations: 0 / 0.743 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.017e-06/0.7121, allocations: 0 / 0.743 GB, free: 10.93 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.0003773/0.7125, allocations: 324.5 kB / 0.7434 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.467e-05/0.7125, allocations: 12.03 kB / 0.7434 GB, free: 10.56 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.243e-05/0.7126, allocations: 3.906 kB / 0.7434 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001924/0.7128, allocations: 171 kB / 0.7435 GB, free: 10.35 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.7128, allocations: 0 / 0.7435 GB, free: 10.35 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.7128, allocations: 3.938 kB / 0.7435 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.891e-05/0.7129, allocations: 4 kB / 0.7435 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.325e-05/0.7129, allocations: 37.69 kB / 0.7436 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.7129, allocations: 0 / 0.7436 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.713, allocations: 0 / 0.7436 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.713, allocations: 0 / 0.7436 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003293/0.7133, allocations: 221.5 kB / 0.7438 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.269e-05/0.7134, allocations: 22.56 kB / 0.7438 GB, free: 10.01 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.318e-05/0.7134, allocations: 20.91 kB / 0.7438 GB, free: 9.988 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.065e-05/0.7134, allocations: 0 / 0.7438 GB, free: 9.988 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.7135, allocations: 30.56 kB / 0.7439 GB, free: 9.949 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.7135, allocations: 4 kB / 0.7439 GB, free: 9.945 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0001361/0.7136, allocations: 37.7 kB / 0.7439 GB, free: 9.902 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.56e-05/0.7137, allocations: 51.41 kB / 0.7439 GB, free: 9.84 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.699e-05/0.7137, allocations: 89 kB / 0.744 GB, free: 9.746 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.7138, allocations: 25.7 kB / 0.7441 GB, free: 9.715 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.661e-05/0.7138, allocations: 88.12 kB / 0.7441 GB, free: 9.625 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.491e-05/0.7139, allocations: 3.906 kB / 0.7441 GB, free: 9.621 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.524e-06/0.7139, allocations: 4 kB / 0.7441 GB, free: 9.617 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.714, allocations: 322.8 kB / 0.7445 GB, free: 9.293 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.618e-06/0.714, allocations: 0 / 0.7445 GB, free: 9.293 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.247e-06/0.714, allocations: 8 kB / 0.7445 GB, free: 9.285 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.474e-05/0.7141, allocations: 3.938 kB / 0.7445 GB, free: 9.281 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.7141, allocations: 0 / 0.7445 GB, free: 9.281 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.282e-05/0.7141, allocations: 37.64 kB / 0.7445 GB, free: 9.238 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.7142, allocations: 7.984 kB / 0.7445 GB, free: 9.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.7142, allocations: 4 kB / 0.7445 GB, free: 9.227 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.7142, allocations: 0 / 0.7445 GB, free: 9.227 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.256e-05/0.7142, allocations: 4.094 kB / 0.7445 GB, free: 9.223 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.7143, allocations: 4 kB / 0.7445 GB, free: 9.219 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.552e-05/0.7143, allocations: 0 / 0.7445 GB, free: 9.219 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-06/0.7143, allocations: 3.984 kB / 0.7445 GB, free: 9.215 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 () * 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 7.706e-05/0.7144, allocations: 104.9 kB / 0.7446 GB, free: 9.105 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.532e-05/0.7144, allocations: 45.55 kB / 0.7447 GB, free: 9.055 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.983e-05/0.7145, allocations: 3.984 kB / 0.7447 GB, free: 9.051 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.922e-05/0.7145, allocations: 7.75 kB / 0.7447 GB, free: 9.047 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.7145, allocations: 0 / 0.7447 GB, free: 9.047 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.7145, allocations: 4.031 kB / 0.7447 GB, free: 9.043 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.7145, allocations: 0 / 0.7447 GB, free: 9.043 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001509/0.7147, allocations: 142.2 kB / 0.7448 GB, free: 8.867 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.7147, allocations: 0 / 0.7448 GB, free: 8.867 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.541e-05/0.7147, allocations: 0 / 0.7448 GB, free: 8.867 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.676e-06/0.7147, allocations: 4.188 kB / 0.7448 GB, free: 8.863 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-06/0.7147, allocations: 0 / 0.7448 GB, free: 8.863 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.7147, allocations: 0 / 0.7448 GB, free: 8.863 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.7147, allocations: 0 / 0.7448 GB, free: 8.863 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001058/0.7148, allocations: 143.5 kB / 0.745 GB, free: 8.707 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.291e-05/0.7149, allocations: 77.11 kB / 0.745 GB, free: 8.613 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/0.7149, allocations: 0 / 0.745 GB, free: 8.613 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.477e-05/0.715, allocations: 4 kB / 0.745 GB, free: 8.609 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.523e-05/0.715, allocations: 0 / 0.745 GB, free: 8.609 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.715, allocations: 0 / 0.745 GB, free: 8.609 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.27e-05/0.7151, allocations: 83.22 kB / 0.7451 GB, free: 8.527 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7151, allocations: 0 / 0.7451 GB, free: 8.527 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000217/0.7153, allocations: 4 kB / 0.7451 GB, free: 8.523 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 () * 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.000431/0.7157, allocations: 0.6695 MB / 0.7458 GB, free: 7.824 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 6.383e-05/0.7158, allocations: 8 kB / 0.7458 GB, free: 7.816 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.7158, allocations: 0 / 0.7458 GB, free: 7.816 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.014e-05/0.7158, allocations: 7.938 kB / 0.7458 GB, free: 7.809 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001437/0.716, allocations: 8.094 kB / 0.7458 GB, free: 7.801 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003919/0.7164, allocations: 97.42 kB / 0.7459 GB, free: 7.668 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.7167, allocations: 0.6768 MB / 0.7466 GB, free: 6.965 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 1.966e-05/0.7167, allocations: 4 kB / 0.7466 GB, free: 6.961 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.429e-05/0.7168, allocations: 7.438 kB / 0.7466 GB, free: 6.953 MB / 0.5261 GB Notification: Performance of SimCode: time 2.21e-07/0.7168, allocations: 0 / 0.7466 GB, free: 6.953 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02014/0.7369, allocations: 0.5529 MB / 0.7471 GB, free: 6.41 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00022/0.7372, allocations: 168.5 kB / 0.7473 GB, free: 6.215 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.604/2.341, allocations: 3.938 kB / 0.7473 GB, free: 6.211 MB / 0.5261 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)