Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="IDEAS_dev_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.01036/0.01036, allocations: 171.8 kB / 15.11 MB, free: 5.578 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7547/0.7547, allocations: 135.2 MB / 151 MB, free: 13.81 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.645/1.645, allocations: 223.2 MB / 406.8 MB, free: 3.227 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.001047/0.001047, allocations: 100.6 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004926/0.0004924, allocations: 8 kB / 0.5691 GB, free: 14.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4181/0.4186, allocations: 82.32 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1515/0.5701, allocations: 111.9 MB / 0.7588 GB, free: 4.082 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/0.5704, allocations: 83.92 kB / 0.7589 GB, free: 4 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.008246/0.5786, allocations: 2.736 MB / 0.7616 GB, free: 1.266 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.715e-06/0.5787, allocations: 4 kB / 0.7616 GB, free: 1.262 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.167e-06/0.5787, allocations: 7.938 kB / 0.7616 GB, free: 1.254 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005825/0.5793, allocations: 351.2 kB / 0.7619 GB, free: 0.8633 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.941e-05/0.5794, allocations: 8.031 kB / 0.7619 GB, free: 0.8555 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.361e-05/0.5795, allocations: 38.5 kB / 0.762 GB, free: 0.8086 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.883e-05/0.5795, allocations: 7.984 kB / 0.762 GB, free: 0.8008 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.5797, allocations: 167 kB / 0.7621 GB, free: 0.5977 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.5797, allocations: 0 / 0.7621 GB, free: 0.5977 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.063e-05/0.5798, allocations: 4 kB / 0.7621 GB, free: 0.5938 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.5799, allocations: 68.25 kB / 0.7622 GB, free: 0.5117 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.5799, allocations: 0 / 0.7622 GB, free: 0.5117 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.58, allocations: 0 / 0.7622 GB, free: 0.5117 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.58, allocations: 0 / 0.7622 GB, free: 0.5117 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.664e-05/0.58, allocations: 19.92 kB / 0.7622 GB, free: 0.4922 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004199/0.5805, allocations: 268.8 kB / 0.7625 GB, free: 184 kB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 9.933e-05/0.5806, allocations: 38.56 kB / 0.7625 GB, free: 136 kB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.672e-05/0.5806, allocations: 7.984 kB / 0.7625 GB, free: 128 kB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000197/0.5808, allocations: 63.42 kB / 0.7626 GB, free: 52 kB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.5808, allocations: 0 / 0.7626 GB, free: 52 kB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.0002505/0.5811, allocations: 73.67 kB / 0.7627 GB, free: 15.97 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.319e-05/0.5811, allocations: 106.8 kB / 0.7628 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.138e-05/0.5812, allocations: 108.9 kB / 0.7629 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.5813, allocations: 25.7 kB / 0.7629 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.199e-05/0.5813, allocations: 80.14 kB / 0.763 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.52e-05/0.5813, allocations: 19.75 kB / 0.763 GB, free: 15.6 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.947e-06/0.5813, allocations: 0 / 0.763 GB, free: 15.6 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.5815, allocations: 314.8 kB / 0.7633 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.056e-05/0.5815, allocations: 11.98 kB / 0.7633 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.25e-05/0.5816, allocations: 46.5 kB / 0.7633 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.251e-05/0.5816, allocations: 8 kB / 0.7633 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.5816, allocations: 0 / 0.7633 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001051/0.5817, allocations: 57.69 kB / 0.7634 GB, free: 15.14 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.5817, allocations: 4 kB / 0.7634 GB, free: 15.14 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.5817, allocations: 0 / 0.7634 GB, free: 15.14 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.5818, allocations: 0 / 0.7634 GB, free: 15.14 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.341e-05/0.5818, allocations: 8 kB / 0.7634 GB, free: 15.13 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.5819, allocations: 0 / 0.7634 GB, free: 15.13 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.582, allocations: 20.02 kB / 0.7634 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.582, allocations: 0 / 0.7634 GB, free: 15.11 MB / 0.5417 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 () * Number of clocked 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 9.768e-05/0.5821, allocations: 117.7 kB / 0.7635 GB, free: 14.99 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.354e-05/0.5821, allocations: 0 / 0.7635 GB, free: 14.99 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.416e-05/0.5821, allocations: 11.5 kB / 0.7636 GB, free: 14.97 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.5822, allocations: 3.938 kB / 0.7636 GB, free: 14.97 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.5822, allocations: 0 / 0.7636 GB, free: 14.97 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.5822, allocations: 3.984 kB / 0.7636 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001263/0.5823, allocations: 177.5 kB / 0.7637 GB, free: 14.74 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.5823, allocations: 0 / 0.7637 GB, free: 14.74 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.657e-05/0.5823, allocations: 4 kB / 0.7637 GB, free: 14.74 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.5824, allocations: 0 / 0.7637 GB, free: 14.74 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.5824, allocations: 0 / 0.7637 GB, free: 14.74 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.5824, allocations: 0 / 0.7637 GB, free: 14.74 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.5824, allocations: 3.984 kB / 0.7637 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001366/0.5825, allocations: 89.64 kB / 0.7638 GB, free: 14.63 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.066e-05/0.5826, allocations: 89.03 kB / 0.7639 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.189e-05/0.5826, allocations: 4 kB / 0.7639 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.5827, allocations: 12.42 kB / 0.7639 GB, free: 14.51 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.788e-05/0.5828, allocations: 7.938 kB / 0.7639 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.794e-06/0.5828, allocations: 3.984 kB / 0.7639 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.161e-05/0.5828, allocations: 87.28 kB / 0.764 GB, free: 14.41 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5828, allocations: 0 / 0.764 GB, free: 14.41 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002052/0.5831, allocations: 12 kB / 0.764 GB, free: 14.4 MB / 0.5417 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) * Number of clocked states: 0 () * 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.0004299/0.5835, allocations: 0.6319 MB / 0.7646 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001267/0.5836, allocations: 32.2 kB / 0.7647 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.5836, allocations: 0 / 0.7647 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 4.432e-05/0.5837, allocations: 12 kB / 0.7647 GB, free: 13.69 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001157/0.5838, allocations: 14.22 kB / 0.7647 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007096/0.5845, allocations: 402.6 kB / 0.7651 GB, free: 13.24 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002622/0.5848, allocations: 0.6809 MB / 0.7657 GB, free: 12.53 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.825e-05/0.5849, allocations: 4 kB / 0.7658 GB, free: 12.53 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.324e-05/0.5849, allocations: 23.42 kB / 0.7658 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of SimCode: time 3.4e-07/0.5849, allocations: 0 / 0.7658 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01197/0.5969, allocations: 1.471 MB / 0.7672 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001912/0.5971, allocations: 202.7 kB / 0.7674 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.452/2.049, allocations: 0 / 0.7674 GB, free: 10.96 MB / 0.5417 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime_fmu --startTime=0 --stopTime=7.776e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1)