Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="IDEAS_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.005/0.005, allocations: 171 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7412/0.7412, allocations: 135.2 MB / 151 MB, free: 13.82 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.384/1.384, allocations: 223.2 MB / 406.8 MB, free: 3.23 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.0009985/0.0009984, allocations: 96.95 kB / 489.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003486/0.0003487, allocations: 12 kB / 0.5692 GB, free: 14.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4467/0.4471, allocations: 82.31 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1619/0.609, allocations: 111.6 MB / 0.7586 GB, free: 4.371 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002712/0.6094, allocations: 79.95 kB / 0.7586 GB, free: 4.293 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.001988/0.6114, allocations: 0.7485 MB / 0.7594 GB, free: 3.547 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.024e-06/0.6114, allocations: 0 / 0.7594 GB, free: 3.547 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.115e-06/0.6114, allocations: 0 / 0.7594 GB, free: 3.547 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.0003619/0.6118, allocations: 342 kB / 0.7597 GB, free: 3.168 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.212e-05/0.6119, allocations: 8.031 kB / 0.7597 GB, free: 3.16 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.808e-05/0.6119, allocations: 34.5 kB / 0.7597 GB, free: 3.117 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.152e-05/0.6119, allocations: 0 / 0.7597 GB, free: 3.117 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002073/0.6121, allocations: 175 kB / 0.7599 GB, free: 2.906 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.6122, allocations: 3.984 kB / 0.7599 GB, free: 2.902 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.6122, allocations: 0 / 0.7599 GB, free: 2.902 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.614e-05/0.6123, allocations: 33.7 kB / 0.7599 GB, free: 2.863 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.6123, allocations: 0 / 0.7599 GB, free: 2.863 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.6123, allocations: 8 kB / 0.7599 GB, free: 2.855 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.6123, allocations: 0 / 0.7599 GB, free: 2.855 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.846e-05/0.6124, allocations: 8 kB / 0.76 GB, free: 2.848 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003417/0.6127, allocations: 244.9 kB / 0.7602 GB, free: 2.559 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.585e-05/0.6128, allocations: 30.52 kB / 0.7602 GB, free: 2.52 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.6128, allocations: 0 / 0.7602 GB, free: 2.52 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.6128, allocations: 38.59 kB / 0.7602 GB, free: 2.473 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.6129, allocations: 0 / 0.7602 GB, free: 2.473 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0001614/0.613, allocations: 37.77 kB / 0.7603 GB, free: 2.43 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.358e-05/0.6131, allocations: 59.34 kB / 0.7603 GB, free: 2.359 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.764e-05/0.6132, allocations: 93 kB / 0.7604 GB, free: 2.262 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.6132, allocations: 25.7 kB / 0.7605 GB, free: 2.23 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.808e-05/0.6133, allocations: 84.12 kB / 0.7605 GB, free: 2.145 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.734e-05/0.6133, allocations: 3.906 kB / 0.7605 GB, free: 2.141 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-06/0.6133, allocations: 4.125 kB / 0.7605 GB, free: 2.137 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.6134, allocations: 326.7 kB / 0.7609 GB, free: 1.809 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.638e-06/0.6134, allocations: 0 / 0.7609 GB, free: 1.809 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.275e-06/0.6135, allocations: 4 kB / 0.7609 GB, free: 1.805 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.371e-05/0.6135, allocations: 0 / 0.7609 GB, free: 1.805 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.6135, allocations: 0 / 0.7609 GB, free: 1.805 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.034e-05/0.6135, allocations: 45.59 kB / 0.7609 GB, free: 1.754 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.6136, allocations: 8 kB / 0.7609 GB, free: 1.746 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.6136, allocations: 96 / 0.7609 GB, free: 1.746 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.6136, allocations: 4 kB / 0.7609 GB, free: 1.742 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.506e-05/0.6137, allocations: 4 kB / 0.7609 GB, free: 1.738 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.6137, allocations: 3.938 kB / 0.7609 GB, free: 1.734 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.727e-05/0.6137, allocations: 0 / 0.7609 GB, free: 1.734 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.246e-06/0.6137, allocations: 0 / 0.7609 GB, free: 1.734 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 8.722e-05/0.6138, allocations: 113.8 kB / 0.761 GB, free: 1.613 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.26e-05/0.6138, allocations: 4 kB / 0.761 GB, free: 1.609 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.295e-05/0.6138, allocations: 3.125 kB / 0.761 GB, free: 1.605 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.6139, allocations: 7.984 kB / 0.761 GB, free: 1.598 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.6139, allocations: 0 / 0.761 GB, free: 1.598 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.6139, allocations: 0 / 0.761 GB, free: 1.598 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.6141, allocations: 157.6 kB / 0.7612 GB, free: 1.395 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.6141, allocations: 3.938 kB / 0.7612 GB, free: 1.391 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.567e-05/0.6141, allocations: 4 kB / 0.7612 GB, free: 1.387 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.6141, allocations: 0 / 0.7612 GB, free: 1.387 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.19e-06/0.6141, allocations: 0 / 0.7612 GB, free: 1.387 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.6141, allocations: 0 / 0.7612 GB, free: 1.387 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.6141, allocations: 0 / 0.7612 GB, free: 1.387 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000114/0.6142, allocations: 143.5 kB / 0.7613 GB, free: 1.23 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.148e-05/0.6143, allocations: 81.05 kB / 0.7614 GB, free: 1.133 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.043e-05/0.6143, allocations: 0 / 0.7614 GB, free: 1.133 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.493e-05/0.6144, allocations: 0 / 0.7614 GB, free: 1.133 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.182e-05/0.6144, allocations: 192 / 0.7614 GB, free: 1.133 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-06/0.6144, allocations: 4 kB / 0.7614 GB, free: 1.129 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.958e-05/0.6144, allocations: 83.27 kB / 0.7615 GB, free: 1.047 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6144, allocations: 0 / 0.7615 GB, free: 1.047 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002095/0.6146, allocations: 8.031 kB / 0.7615 GB, free: 1.039 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.0004412/0.6151, allocations: 0.6772 MB / 0.7622 GB, free: 340 kB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 6.972e-05/0.6152, allocations: 19.86 kB / 0.7622 GB, free: 320 kB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.6152, allocations: 0 / 0.7622 GB, free: 320 kB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.077e-05/0.6152, allocations: 8.094 kB / 0.7622 GB, free: 312 kB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000134/0.6153, allocations: 4 kB / 0.7622 GB, free: 308 kB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005957/0.6159, allocations: 328.8 kB / 0.7625 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003065/0.6163, allocations: 0.681 MB / 0.7632 GB, free: 15.23 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.918e-05/0.6163, allocations: 4.062 kB / 0.7632 GB, free: 15.22 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.211e-05/0.6163, allocations: 15.44 kB / 0.7632 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of SimCode: time 5.21e-07/0.6163, allocations: 0 / 0.7632 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01224/0.6286, allocations: 0.8517 MB / 0.764 GB, free: 14.51 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002497/0.6289, allocations: 195.3 kB / 0.7642 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.362/2.991, allocations: 0 / 0.7642 GB, free: 14.27 MB / 0.5417 GB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1)