Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.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.ConvertTime,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",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.001834/0.001834, allocations: 174.1 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.7764/0.7764, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.712/1.712, allocations: 221.3 MB / 400.4 MB, free: 5.867 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.001214/0.001214, allocations: 89.58 kB / 483.3 MB, free: 5.898 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.659e-05/4.67e-05, allocations: 4.969 kB / 0.5601 GB, free: 87.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2382, allocations: 82.31 MB / 0.6405 GB, free: 7.742 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6425/0.8808, allocations: 111.8 MB / 0.7497 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002224/0.881, allocations: 82.56 kB / 0.7498 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.006742/0.8878, allocations: 2.729 MB / 0.7525 GB, free: 27.35 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.392e-06/0.8878, allocations: 0 / 0.7525 GB, free: 27.35 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.904e-06/0.8879, allocations: 0 / 0.7525 GB, free: 27.35 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003387/0.8882, allocations: 346.7 kB / 0.7528 GB, free: 27 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.8883, allocations: 7.812 kB / 0.7528 GB, free: 27 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.299e-05/0.8883, allocations: 37.59 kB / 0.7529 GB, free: 26.95 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.416e-05/0.8883, allocations: 7.75 kB / 0.7529 GB, free: 26.95 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.8885, allocations: 178 kB / 0.753 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.8885, allocations: 0 / 0.753 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.363e-05/0.8885, allocations: 0 / 0.753 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.8887, allocations: 69.59 kB / 0.7531 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.8887, allocations: 3.875 kB / 0.7531 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.8887, allocations: 0 / 0.7531 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.8887, allocations: 0 / 0.7531 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.942e-05/0.8888, allocations: 21.98 kB / 0.7531 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003416/0.8891, allocations: 258.2 kB / 0.7534 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 7.959e-05/0.8892, allocations: 43.19 kB / 0.7534 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.015e-05/0.8893, allocations: 23.66 kB / 0.7534 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.089e-05/0.8893, allocations: 0 / 0.7534 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001269/0.8894, allocations: 62.55 kB / 0.7535 GB, free: 26.32 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 1.463e-06/0.8894, allocations: 0 / 0.7535 GB, free: 26.32 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4): time 0.0001697/0.8896, allocations: 65 kB / 0.7536 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.643e-05/0.8897, allocations: 102.8 kB / 0.7537 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.564e-05/0.8897, allocations: 100.4 kB / 0.7537 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.8898, allocations: 25.7 kB / 0.7538 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.482e-05/0.8898, allocations: 90.33 kB / 0.7539 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.679e-05/0.8898, allocations: 7.844 kB / 0.7539 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-06/0.8898, allocations: 3.938 kB / 0.7539 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.8899, allocations: 322.6 kB / 0.7542 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.347e-05/0.89, allocations: 10.27 kB / 0.7542 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.706e-05/0.89, allocations: 37.36 kB / 0.7542 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.669e-05/0.8901, allocations: 10.64 kB / 0.7542 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.8901, allocations: 0 / 0.7542 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.518e-05/0.8901, allocations: 61.83 kB / 0.7543 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.8902, allocations: 7.688 kB / 0.7543 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.8902, allocations: 0 / 0.7543 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.8902, allocations: 0 / 0.7543 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.328e-05/0.8903, allocations: 6.656 kB / 0.7543 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.8903, allocations: 0 / 0.7543 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.14e-05/0.8904, allocations: 14.36 kB / 0.7543 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.8904, allocations: 4.219 kB / 0.7543 GB, free: 25.56 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: 3 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * 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.471e-05/0.8905, allocations: 112.1 kB / 0.7544 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.223e-05/0.8905, allocations: 3.875 kB / 0.7544 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.395e-05/0.8905, allocations: 6.266 kB / 0.7544 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.8905, allocations: 0 / 0.7544 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.8905, allocations: 7.812 kB / 0.7544 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.8905, allocations: 0 / 0.7544 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.565e-05/0.8906, allocations: 166.9 kB / 0.7546 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.8907, allocations: 3.812 kB / 0.7546 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.931e-05/0.8907, allocations: 4 kB / 0.7546 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.8907, allocations: 3.844 kB / 0.7546 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.8907, allocations: 3.562 kB / 0.7546 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.8907, allocations: 0 / 0.7546 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.8907, allocations: 0 / 0.7546 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001062/0.8908, allocations: 94.2 kB / 0.7547 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.153e-05/0.8909, allocations: 83.81 kB / 0.7548 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.917e-05/0.8909, allocations: 3.781 kB / 0.7548 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.818e-05/0.891, allocations: 21.55 kB / 0.7548 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.582e-05/0.8911, allocations: 2.719 kB / 0.7548 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.8911, allocations: 3.75 kB / 0.7548 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.801e-05/0.8911, allocations: 85.09 kB / 0.7549 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8911, allocations: 0 / 0.7549 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001883/0.8913, allocations: 15.5 kB / 0.7549 GB, free: 24.98 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: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0003825/0.8917, allocations: 0.6273 MB / 0.7555 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 9.622e-05/0.8918, allocations: 36.28 kB / 0.7556 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.8918, allocations: 0 / 0.7556 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.286e-05/0.8919, allocations: 15.11 kB / 0.7556 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001022/0.892, allocations: 4.938 kB / 0.7556 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002945/0.8923, allocations: 102.2 kB / 0.7557 GB, free: 24.28 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002079/0.8925, allocations: 0.686 MB / 0.7564 GB, free: 23.58 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.427e-05/0.8925, allocations: 6.609 kB / 0.7564 GB, free: 23.58 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.287e-05/0.8926, allocations: 11.22 kB / 0.7564 GB, free: 23.57 MB / 0.5105 GB Notification: Performance of SimCode: time 3.31e-07/0.8926, allocations: 0 / 0.7564 GB, free: 23.57 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01257/0.9052, allocations: 1.471 MB / 0.7578 GB, free: 23.41 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001487/0.9054, allocations: 172.7 kB / 0.758 GB, free: 23.19 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.507/2.412, allocations: 0 / 0.758 GB, free: 23.19 MB / 0.5105 GB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime_fmu --startTime=0 --stopTime=7.776e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1)