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.00126/0.00126, 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.7543/0.7543, allocations: 133.6 MB / 141.6 MB, free: 2.922 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.386/1.386, allocations: 221.5 MB / 395.4 MB, free: 10.77 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.0008721/0.0008718, allocations: 101.7 kB / 478.2 MB, free: 1.309 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.255e-05/2.261e-05, allocations: 7.938 kB / 0.5536 GB, free: 8.953 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4413/0.4413, allocations: 82.3 MB / 0.6339 GB, free: 40.88 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1431/0.5844, allocations: 111.2 MB / 0.7425 GB, free: 11.58 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/0.5847, allocations: 83.92 kB / 0.7426 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.007392/0.5922, allocations: 2.717 MB / 0.7452 GB, free: 8.781 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.733e-06/0.5922, allocations: 0 / 0.7452 GB, free: 8.781 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.254e-06/0.5922, allocations: 0 / 0.7452 GB, free: 8.781 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.0003695/0.5926, allocations: 342.5 kB / 0.7456 GB, free: 8.402 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.5927, allocations: 12.03 kB / 0.7456 GB, free: 8.391 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.582e-05/0.5927, allocations: 7.906 kB / 0.7456 GB, free: 8.383 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.5929, allocations: 174.9 kB / 0.7458 GB, free: 8.172 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.5929, allocations: 0 / 0.7458 GB, free: 8.172 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/0.5929, allocations: 4 kB / 0.7458 GB, free: 8.168 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.676e-05/0.593, allocations: 15.98 kB / 0.7458 GB, free: 8.152 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001405/0.5931, allocations: 60.27 kB / 0.7458 GB, free: 8.078 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.5932, allocations: 0 / 0.7458 GB, free: 8.078 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.5932, allocations: 0 / 0.7458 GB, free: 8.078 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.5932, allocations: 0 / 0.7458 GB, free: 8.078 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000329/0.5935, allocations: 245.4 kB / 0.7461 GB, free: 7.801 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 7.837e-05/0.5936, allocations: 34.58 kB / 0.7461 GB, free: 7.758 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.002e-05/0.5937, allocations: 20.86 kB / 0.7461 GB, free: 7.734 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.15e-05/0.5937, allocations: 0 / 0.7461 GB, free: 7.734 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001301/0.5938, allocations: 63.47 kB / 0.7462 GB, free: 7.66 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.5938, allocations: 0 / 0.7462 GB, free: 7.66 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.0001789/0.594, allocations: 65.52 kB / 0.7462 GB, free: 7.59 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.154e-05/0.5941, allocations: 106.8 kB / 0.7463 GB, free: 7.461 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.349e-05/0.5942, allocations: 97 kB / 0.7464 GB, free: 7.359 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.5942, allocations: 25.7 kB / 0.7465 GB, free: 7.328 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.696e-05/0.5942, allocations: 88.14 kB / 0.7465 GB, free: 7.238 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.92e-05/0.5943, allocations: 11.83 kB / 0.7466 GB, free: 7.227 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.796e-06/0.5943, allocations: 0 / 0.7466 GB, free: 7.227 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.5944, allocations: 326.7 kB / 0.7469 GB, free: 6.898 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.105e-05/0.5944, allocations: 4 kB / 0.7469 GB, free: 6.895 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.842e-05/0.5945, allocations: 30.58 kB / 0.7469 GB, free: 6.855 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.628e-05/0.5945, allocations: 16.02 kB / 0.7469 GB, free: 6.84 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.5945, allocations: 0 / 0.7469 GB, free: 6.84 MB / 0.5261 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.858e-05/0.5946, allocations: 61.53 kB / 0.747 GB, free: 6.773 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.5946, allocations: 4 kB / 0.747 GB, free: 6.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.5946, allocations: 0 / 0.747 GB, free: 6.77 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.5947, allocations: 0 / 0.747 GB, free: 6.77 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.455e-05/0.5948, allocations: 8 kB / 0.747 GB, free: 6.762 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.5948, allocations: 0 / 0.747 GB, free: 6.762 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001237/0.5949, allocations: 15.98 kB / 0.747 GB, free: 6.746 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.5949, allocations: 4.438 kB / 0.747 GB, free: 6.742 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: 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.598e-05/0.595, allocations: 104.9 kB / 0.7471 GB, free: 6.633 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.95e-05/0.5951, allocations: 57.69 kB / 0.7472 GB, free: 6.57 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.354e-05/0.5951, allocations: 11.92 kB / 0.7472 GB, free: 6.559 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.2e-05/0.5952, allocations: 4.125 kB / 0.7472 GB, free: 6.555 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.5952, allocations: 4 kB / 0.7472 GB, free: 6.551 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.5952, allocations: 0 / 0.7472 GB, free: 6.551 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.5952, allocations: 4 kB / 0.7472 GB, free: 6.547 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001101/0.5953, allocations: 150 kB / 0.7473 GB, free: 6.363 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.5953, allocations: 4 kB / 0.7473 GB, free: 6.359 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.264e-05/0.5953, allocations: 4 kB / 0.7473 GB, free: 6.355 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.5953, allocations: 0 / 0.7473 GB, free: 6.355 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.5954, allocations: 3.984 kB / 0.7473 GB, free: 6.352 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.5954, allocations: 0 / 0.7473 GB, free: 6.352 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.5954, allocations: 0 / 0.7473 GB, free: 6.352 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000111/0.5955, allocations: 89.08 kB / 0.7474 GB, free: 6.246 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.573e-05/0.5956, allocations: 81.09 kB / 0.7475 GB, free: 6.148 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/0.5956, allocations: 8 kB / 0.7475 GB, free: 6.141 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.504e-05/0.5957, allocations: 7.984 kB / 0.7475 GB, free: 6.133 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.774e-05/0.5957, allocations: 11.98 kB / 0.7475 GB, free: 6.121 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.5957, allocations: 0 / 0.7475 GB, free: 6.121 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.116e-05/0.5958, allocations: 79.28 kB / 0.7476 GB, free: 6.043 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5958, allocations: 7.938 kB / 0.7476 GB, free: 6.035 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001877/0.596, allocations: 11.94 kB / 0.7476 GB, free: 6.023 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: 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.0003951/0.5964, allocations: 0.6285 MB / 0.7482 GB, free: 5.363 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001046/0.5965, allocations: 24 kB / 0.7483 GB, free: 5.34 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5965, allocations: 0 / 0.7483 GB, free: 5.34 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.313e-05/0.5966, allocations: 23.92 kB / 0.7483 GB, free: 5.316 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001198/0.5967, allocations: 0.9375 kB / 0.7483 GB, free: 5.316 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003402/0.597, allocations: 103.6 kB / 0.7484 GB, free: 5.18 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002474/0.5973, allocations: 0.6846 MB / 0.749 GB, free: 4.469 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.732e-05/0.5974, allocations: 7.984 kB / 0.7491 GB, free: 4.461 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.44e-05/0.5974, allocations: 11.44 kB / 0.7491 GB, free: 4.449 MB / 0.5261 GB Notification: Performance of SimCode: time 3.9e-07/0.5974, allocations: 0 / 0.7491 GB, free: 4.449 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01923/0.6166, allocations: 1.158 MB / 0.7502 GB, free: 3.309 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002111/0.6169, allocations: 161.3 kB / 0.7504 GB, free: 3.113 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.5/2.117, allocations: 0 / 0.7504 GB, free: 3.113 MB / 0.5261 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)