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.001755/0.001755, allocations: 172 kB / 12.73 MB, free: 2.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.226/1.226, allocations: 133.4 MB / 146.7 MB, free: 10.77 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.925/2.925, allocations: 221.3 MB / 400.4 MB, free: 5.812 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.00153/0.001531, allocations: 102 kB / 483.3 MB, free: 5.863 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.211e-05/4.244e-05, allocations: 3.688 kB / 0.5601 GB, free: 87.85 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2868/0.2868, allocations: 82.3 MB / 0.6405 GB, free: 7.707 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.15/1.437, allocations: 111.8 MB / 0.7497 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004379/1.437, allocations: 76.8 kB / 0.7498 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01235/1.45, allocations: 2.729 MB / 0.7525 GB, free: 27.39 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.876e-06/1.45, allocations: 4 kB / 0.7525 GB, free: 27.39 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.017e-05/1.45, allocations: 0 / 0.7525 GB, free: 27.39 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.000579/1.45, allocations: 340.5 kB / 0.7528 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 8.499e-05/1.45, allocations: 7.719 kB / 0.7528 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.866e-05/1.45, allocations: 41.62 kB / 0.7529 GB, free: 26.99 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.545e-05/1.45, allocations: 7.844 kB / 0.7529 GB, free: 26.98 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002721/1.451, allocations: 170.4 kB / 0.753 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.619e-05/1.451, allocations: 0 / 0.753 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.37e-05/1.451, allocations: 3.969 kB / 0.753 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001977/1.451, allocations: 70 kB / 0.7531 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/1.451, allocations: 0 / 0.7531 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.953e-05/1.451, allocations: 0 / 0.7531 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/1.451, allocations: 0 / 0.7531 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.847e-05/1.451, allocations: 22.27 kB / 0.7531 GB, free: 26.72 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005826/1.452, allocations: 256.9 kB / 0.7534 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/1.452, allocations: 47.36 kB / 0.7534 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.115e-05/1.452, allocations: 16.2 kB / 0.7534 GB, free: 26.42 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.38e-05/1.452, allocations: 0 / 0.7534 GB, free: 26.42 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002119/1.452, allocations: 60.8 kB / 0.7535 GB, free: 26.37 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 1.723e-06/1.452, allocations: 0 / 0.7535 GB, free: 26.37 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4): time 0.0003008/1.453, allocations: 65.11 kB / 0.7535 GB, free: 26.33 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001547/1.453, allocations: 110.7 kB / 0.7537 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/1.453, allocations: 93.41 kB / 0.7537 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.246e-05/1.453, allocations: 29.55 kB / 0.7538 GB, free: 26.08 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.527e-05/1.453, allocations: 90.31 kB / 0.7539 GB, free: 26 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.63e-05/1.453, allocations: 7.844 kB / 0.7539 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.684e-06/1.453, allocations: 11.34 kB / 0.7539 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.00018/1.453, allocations: 315.4 kB / 0.7542 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.906e-05/1.453, allocations: 10.05 kB / 0.7542 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.63e-05/1.453, allocations: 36.08 kB / 0.7542 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.127e-05/1.454, allocations: 19.08 kB / 0.7542 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/1.454, allocations: 0 / 0.7542 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001573/1.454, allocations: 61.31 kB / 0.7543 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/1.454, allocations: 3.969 kB / 0.7543 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/1.454, allocations: 0 / 0.7543 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/1.454, allocations: 0 / 0.7543 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.604e-05/1.454, allocations: 8.125 kB / 0.7543 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/1.454, allocations: 4.031 kB / 0.7543 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/1.454, allocations: 10.69 kB / 0.7543 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/1.454, allocations: 0 / 0.7543 GB, free: 25.6 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 0.0001522/1.454, allocations: 123.4 kB / 0.7544 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.003e-05/1.454, allocations: 0 / 0.7544 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.827e-05/1.454, allocations: 7.344 kB / 0.7544 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/1.454, allocations: 0 / 0.7544 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/1.454, allocations: 0 / 0.7544 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/1.454, allocations: 7.938 kB / 0.7545 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001962/1.455, allocations: 172.6 kB / 0.7546 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/1.455, allocations: 0 / 0.7546 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.16e-05/1.455, allocations: 3.969 kB / 0.7546 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/1.455, allocations: 0 / 0.7546 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/1.455, allocations: 0 / 0.7546 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/1.455, allocations: 0 / 0.7546 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/1.455, allocations: 2.578 kB / 0.7546 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001947/1.455, allocations: 93.28 kB / 0.7547 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 8.399e-05/1.455, allocations: 87.53 kB / 0.7548 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.214e-05/1.455, allocations: 2.438 kB / 0.7548 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/1.455, allocations: 10.05 kB / 0.7548 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.235e-05/1.455, allocations: 14.36 kB / 0.7548 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.108e-06/1.455, allocations: 0 / 0.7548 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 8.48e-05/1.455, allocations: 82.81 kB / 0.7549 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.8e-07/1.455, allocations: 0 / 0.7549 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003482/1.456, allocations: 15.53 kB / 0.7549 GB, free: 25.03 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.0006828/1.456, allocations: 0.6306 MB / 0.7555 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001656/1.457, allocations: 34.53 kB / 0.7556 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/1.457, allocations: 0 / 0.7556 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 5.792e-05/1.457, allocations: 12.44 kB / 0.7556 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001973/1.457, allocations: 3.844 kB / 0.7556 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005558/1.458, allocations: 112.1 kB / 0.7557 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004166/1.458, allocations: 0.6821 MB / 0.7564 GB, free: 23.62 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 5.876e-05/1.458, allocations: 3.844 kB / 0.7564 GB, free: 23.62 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.607e-05/1.458, allocations: 10.75 kB / 0.7564 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of SimCode: time 3.51e-07/1.458, allocations: 0 / 0.7564 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01985/1.478, allocations: 1.489 MB / 0.7578 GB, free: 23.46 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003614/1.478, allocations: 173.4 kB / 0.758 GB, free: 23.23 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.337/3.816, allocations: 0 / 0.758 GB, free: 23.23 MB / 0.5105 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)