Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.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.ConvertTimePositiveStart,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",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.001211/0.001211, allocations: 174.6 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.719/0.719, allocations: 133.4 MB / 146.7 MB, free: 10.8 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.657/1.657, allocations: 221.3 MB / 400.4 MB, free: 5.785 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.0009223/0.0009224, allocations: 92.97 kB / 483.3 MB, free: 5.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.065e-05/5.077e-05, allocations: 3.812 kB / 0.5601 GB, free: 87.91 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2044/0.2045, allocations: 82.3 MB / 0.6405 GB, free: 7.738 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7343/0.9389, allocations: 111.9 MB / 0.7498 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/0.9392, allocations: 79.05 kB / 0.7499 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.007322/0.9466, allocations: 2.743 MB / 0.7526 GB, free: 27.55 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.543e-06/0.9466, allocations: 0 / 0.7526 GB, free: 27.55 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.064e-05/0.9466, allocations: 0 / 0.7526 GB, free: 27.55 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.000398/0.947, allocations: 343.9 kB / 0.7529 GB, free: 27.19 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/0.9471, allocations: 7.75 kB / 0.7529 GB, free: 27.19 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.866e-05/0.9472, allocations: 37.88 kB / 0.7529 GB, free: 27.15 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.859e-05/0.9472, allocations: 11.56 kB / 0.753 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.9474, allocations: 170.7 kB / 0.7531 GB, free: 26.94 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.9474, allocations: 3.625 kB / 0.7531 GB, free: 26.94 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.9474, allocations: 0 / 0.7531 GB, free: 26.94 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.9476, allocations: 65.36 kB / 0.7532 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.9476, allocations: 7.688 kB / 0.7532 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.9476, allocations: 0 / 0.7532 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.9476, allocations: 0 / 0.7532 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.356e-05/0.9477, allocations: 18.52 kB / 0.7532 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003878/0.9481, allocations: 258.8 kB / 0.7535 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 8.693e-05/0.9482, allocations: 37.27 kB / 0.7535 GB, free: 26.59 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.189e-05/0.9482, allocations: 12.39 kB / 0.7535 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.329e-05/0.9482, allocations: 6.656 kB / 0.7535 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001462/0.9484, allocations: 71.78 kB / 0.7536 GB, free: 26.52 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 1.462e-06/0.9484, allocations: 0 / 0.7536 GB, free: 26.52 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4): time 0.0001866/0.9486, allocations: 61.34 kB / 0.7536 GB, free: 26.49 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.529e-05/0.9487, allocations: 102.8 kB / 0.7537 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.216e-05/0.9488, allocations: 99.42 kB / 0.7538 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.9488, allocations: 29.33 kB / 0.7539 GB, free: 26.24 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.68e-05/0.9488, allocations: 84.02 kB / 0.7539 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.319e-05/0.9489, allocations: 14.16 kB / 0.754 GB, free: 26.15 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.27e-06/0.9489, allocations: 7.938 kB / 0.754 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.949, allocations: 319.2 kB / 0.7543 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.8e-05/0.9491, allocations: 11.34 kB / 0.7543 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.608e-05/0.9491, allocations: 36.75 kB / 0.7543 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.22e-05/0.9492, allocations: 7.375 kB / 0.7543 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.9492, allocations: 0 / 0.7543 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.999e-05/0.9493, allocations: 61.84 kB / 0.7544 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.9493, allocations: 11.59 kB / 0.7544 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.9493, allocations: 448 / 0.7544 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.9493, allocations: 0 / 0.7544 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.195e-05/0.9494, allocations: 7.531 kB / 0.7544 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.9494, allocations: 3.938 kB / 0.7544 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.668e-05/0.9495, allocations: 14.34 kB / 0.7544 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.9496, allocations: 3 kB / 0.7544 GB, free: 25.75 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 8.798e-05/0.9497, allocations: 112.4 kB / 0.7545 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.495e-05/0.9497, allocations: 4 kB / 0.7545 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.692e-05/0.9497, allocations: 7.344 kB / 0.7545 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.9497, allocations: 0 / 0.7545 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.9497, allocations: 0 / 0.7545 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.9497, allocations: 0 / 0.7545 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001234/0.9499, allocations: 172.9 kB / 0.7547 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.9499, allocations: 0 / 0.7547 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.466e-05/0.9499, allocations: 3.891 kB / 0.7547 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.9499, allocations: 3.984 kB / 0.7547 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.829e-06/0.9499, allocations: 0 / 0.7547 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.9499, allocations: 0 / 0.7547 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.95, allocations: 4 kB / 0.7547 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000143/0.9501, allocations: 97.11 kB / 0.7548 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.896e-05/0.9502, allocations: 90.45 kB / 0.7549 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.344e-05/0.9502, allocations: 0 / 0.7549 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.484e-05/0.9503, allocations: 9.422 kB / 0.7549 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.8e-05/0.9504, allocations: 6.219 kB / 0.7549 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.9504, allocations: 4 kB / 0.7549 GB, free: 25.26 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.932e-05/0.9504, allocations: 86.38 kB / 0.755 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9504, allocations: 3.938 kB / 0.755 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001993/0.9506, allocations: 17.88 kB / 0.755 GB, free: 25.18 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.0004374/0.9511, allocations: 0.6245 MB / 0.7556 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001062/0.9512, allocations: 34.28 kB / 0.7557 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.9512, allocations: 0 / 0.7557 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.706e-05/0.9513, allocations: 16.95 kB / 0.7557 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001171/0.9514, allocations: 6.031 kB / 0.7557 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003415/0.9517, allocations: 100.2 kB / 0.7558 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002778/0.952, allocations: 0.682 MB / 0.7564 GB, free: 23.78 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 4.349e-05/0.9521, allocations: 3.812 kB / 0.7564 GB, free: 23.78 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.327e-05/0.9521, allocations: 21.69 kB / 0.7565 GB, free: 23.77 MB / 0.5105 GB Notification: Performance of SimCode: time 2.9e-07/0.9521, allocations: 3.938 kB / 0.7565 GB, free: 23.77 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0134/0.9655, allocations: 1.499 MB / 0.7579 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001665/0.9658, allocations: 185.3 kB / 0.7581 GB, free: 23.38 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.502/2.468, allocations: 3.844 kB / 0.7581 GB, free: 23.38 MB / 0.5105 GB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart_fmu --startTime=4.71744e+07 --stopTime=1.26144e+08 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1)