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.002278/0.002278, allocations: 173.9 kB / 7.648 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.8816/0.8816, allocations: 133.6 MB / 141.6 MB, free: 2.883 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.577/1.577, allocations: 221.5 MB / 395.5 MB, free: 10.79 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.0009056/0.0009056, allocations: 97.19 kB / 478.2 MB, free: 1.312 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.399e-05/2.388e-05, allocations: 4 kB / 0.5536 GB, free: 8.941 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5444/0.5445, allocations: 82.3 MB / 0.6339 GB, free: 40.83 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.163/0.7076, allocations: 110.9 MB / 0.7422 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002711/0.7079, allocations: 79.94 kB / 0.7423 GB, free: 11.69 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.002173/0.7101, allocations: 0.7446 MB / 0.743 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.425e-06/0.7101, allocations: 4 kB / 0.743 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.7101, allocations: 0 / 0.743 GB, free: 10.95 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.0003927/0.7105, allocations: 314.6 kB / 0.7433 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.882e-05/0.7106, allocations: 12.03 kB / 0.7434 GB, free: 10.58 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.922e-05/0.7107, allocations: 7.891 kB / 0.7434 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002299/0.7109, allocations: 170.9 kB / 0.7435 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.7109, allocations: 4 kB / 0.7435 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.602e-05/0.7109, allocations: 3.984 kB / 0.7435 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.84e-05/0.711, allocations: 4 kB / 0.7435 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.122e-05/0.7111, allocations: 41.64 kB / 0.7436 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.7111, allocations: 0 / 0.7436 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.7111, allocations: 0 / 0.7436 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.7112, allocations: 0 / 0.7436 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004143/0.7116, allocations: 221.5 kB / 0.7438 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 6.236e-05/0.7116, allocations: 26.52 kB / 0.7438 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.493e-05/0.7117, allocations: 12.92 kB / 0.7438 GB, free: 10 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/0.7117, allocations: 0 / 0.7438 GB, free: 10 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.7117, allocations: 34.56 kB / 0.7439 GB, free: 9.961 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.7118, allocations: 0 / 0.7439 GB, free: 9.961 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.000177/0.7119, allocations: 37.73 kB / 0.7439 GB, free: 9.918 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/0.712, allocations: 51.41 kB / 0.7439 GB, free: 9.855 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.777e-05/0.7121, allocations: 93 kB / 0.744 GB, free: 9.758 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.7121, allocations: 29.73 kB / 0.7441 GB, free: 9.723 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.301e-05/0.7122, allocations: 84.14 kB / 0.7441 GB, free: 9.637 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.03e-05/0.7122, allocations: 3.906 kB / 0.7441 GB, free: 9.633 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-06/0.7122, allocations: 0 / 0.7441 GB, free: 9.633 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.7124, allocations: 318.8 kB / 0.7445 GB, free: 9.312 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.959e-05/0.7124, allocations: 8 kB / 0.7445 GB, free: 9.305 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.406e-06/0.7125, allocations: 3.938 kB / 0.7445 GB, free: 9.301 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.147e-05/0.7125, allocations: 7.938 kB / 0.7445 GB, free: 9.293 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.7125, allocations: 0 / 0.7445 GB, free: 9.293 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.762e-05/0.7126, allocations: 37.77 kB / 0.7445 GB, free: 9.25 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.7126, allocations: 5.875 kB / 0.7445 GB, free: 9.246 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.7126, allocations: 0 / 0.7445 GB, free: 9.246 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.7126, allocations: 0 / 0.7445 GB, free: 9.246 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.647e-05/0.7127, allocations: 4 kB / 0.7445 GB, free: 9.242 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.7127, allocations: 0 / 0.7445 GB, free: 9.242 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.886e-05/0.7127, allocations: 4 kB / 0.7445 GB, free: 9.238 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.7127, allocations: 3.984 kB / 0.7445 GB, free: 9.234 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 0.0001015/0.7128, allocations: 114.7 kB / 0.7446 GB, free: 9.117 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.349e-05/0.7129, allocations: 45.58 kB / 0.7447 GB, free: 9.066 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.989e-05/0.713, allocations: 0 / 0.7447 GB, free: 9.066 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.344e-05/0.713, allocations: 3.75 kB / 0.7447 GB, free: 9.066 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.713, allocations: 0 / 0.7447 GB, free: 9.066 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.713, allocations: 0 / 0.7447 GB, free: 9.066 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.713, allocations: 0 / 0.7447 GB, free: 9.066 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001743/0.7132, allocations: 138.2 kB / 0.7448 GB, free: 8.895 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.7132, allocations: 0 / 0.7448 GB, free: 8.895 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.759e-05/0.7132, allocations: 4 kB / 0.7448 GB, free: 8.891 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.7132, allocations: 0 / 0.7448 GB, free: 8.891 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.7132, allocations: 8.016 kB / 0.7448 GB, free: 8.883 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.7133, allocations: 3.938 kB / 0.7448 GB, free: 8.879 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.7133, allocations: 0 / 0.7448 GB, free: 8.879 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001239/0.7134, allocations: 135.5 kB / 0.745 GB, free: 8.73 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.431e-05/0.7135, allocations: 77.11 kB / 0.745 GB, free: 8.637 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.7135, allocations: 3.984 kB / 0.745 GB, free: 8.633 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.875e-05/0.7135, allocations: 0 / 0.745 GB, free: 8.633 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.925e-05/0.7136, allocations: 7.969 kB / 0.745 GB, free: 8.625 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.7136, allocations: 4 kB / 0.745 GB, free: 8.621 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.095e-05/0.7136, allocations: 83.45 kB / 0.7451 GB, free: 8.539 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7137, allocations: 0 / 0.7451 GB, free: 8.539 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002199/0.7139, allocations: 4 kB / 0.7451 GB, free: 8.535 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.0005783/0.7145, allocations: 0.6695 MB / 0.7458 GB, free: 7.836 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 8.533e-05/0.7146, allocations: 4 kB / 0.7458 GB, free: 7.832 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/0.7146, allocations: 0 / 0.7458 GB, free: 7.832 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.054e-05/0.7146, allocations: 11.88 kB / 0.7458 GB, free: 7.82 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001746/0.7148, allocations: 4 kB / 0.7458 GB, free: 7.816 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004885/0.7153, allocations: 93.48 kB / 0.7459 GB, free: 7.688 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004104/0.7157, allocations: 0.6768 MB / 0.7466 GB, free: 6.984 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.479e-05/0.7157, allocations: 128 / 0.7466 GB, free: 6.984 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.149e-05/0.7158, allocations: 15.44 kB / 0.7466 GB, free: 6.969 MB / 0.5261 GB Notification: Performance of SimCode: time 2.4e-07/0.7158, allocations: 0 / 0.7466 GB, free: 6.969 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02338/0.7392, allocations: 0.5565 MB / 0.7471 GB, free: 6.422 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002823/0.7396, allocations: 155.5 kB / 0.7473 GB, free: 6.234 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.617/2.357, allocations: 5.547 kB / 0.7473 GB, free: 6.23 MB / 0.5261 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)