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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009678/0.0009679, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009244/0.0009243, allocations: 193.8 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7293/0.7293, allocations: 132.2 MB / 422.1 MB, free: 2.027 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 63.47 kB / 0.5012 GB, free: 9.078 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1289, allocations: 80.2 MB / 0.5795 GB, free: 9.098 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002342/0.1312, allocations: 1.5 MB / 0.581 GB, free: 7.586 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003281/0.1316, allocations: 178.4 kB / 0.5811 GB, free: 7.414 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.848e-05/0.1316, allocations: 0 / 0.5811 GB, free: 7.414 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.409e-05/0.1316, allocations: 0 / 0.5811 GB, free: 7.414 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001687/0.1318, allocations: 15.91 kB / 0.5812 GB, free: 7.398 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001544/0.132, allocations: 59.88 kB / 0.5812 GB, free: 7.34 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.505e-05/0.1321, allocations: 43.91 kB / 0.5813 GB, free: 7.297 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.572e-05/0.1321, allocations: 11.92 kB / 0.5813 GB, free: 7.285 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.087e-05/0.1322, allocations: 27.86 kB / 0.5813 GB, free: 7.258 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.387e-05/0.1323, allocations: 19.91 kB / 0.5813 GB, free: 7.238 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.1323, allocations: 4 kB / 0.5813 GB, free: 7.234 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.443e-05/0.1323, allocations: 0 / 0.5813 GB, free: 7.234 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.416e-05/0.1323, allocations: 11.98 kB / 0.5813 GB, free: 7.223 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.283e-05/0.1324, allocations: 19.92 kB / 0.5814 GB, free: 7.203 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.092e-05/0.1325, allocations: 40.09 kB / 0.5814 GB, free: 7.164 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1325, allocations: 0 / 0.5814 GB, free: 7.164 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.1325, allocations: 0 / 0.5814 GB, free: 7.164 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.1325, allocations: 4 kB / 0.5814 GB, free: 7.16 MB / 494.1 MB 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.0004821/0.133, allocations: 343.5 kB / 0.5817 GB, free: 6.773 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.133, allocations: 12.03 kB / 0.5817 GB, free: 6.762 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.579e-05/0.1331, allocations: 30.75 kB / 0.5818 GB, free: 6.723 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.291e-05/0.1331, allocations: 8.844 kB / 0.5818 GB, free: 6.715 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.1332, allocations: 168.3 kB / 0.5819 GB, free: 6.512 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.1332, allocations: 12.38 kB / 0.5819 GB, free: 6.5 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.396e-06/0.1333, allocations: 384 / 0.5819 GB, free: 6.5 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.1334, allocations: 64.77 kB / 0.582 GB, free: 6.422 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.1334, allocations: 7.922 kB / 0.582 GB, free: 6.414 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.1334, allocations: 4 kB / 0.582 GB, free: 6.41 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.616e-06/0.1334, allocations: 0 / 0.582 GB, free: 6.41 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.629e-05/0.1335, allocations: 12 kB / 0.582 GB, free: 6.398 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003748/0.1339, allocations: 264.9 kB / 0.5823 GB, free: 6.09 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.286e-05/0.134, allocations: 42.45 kB / 0.5823 GB, free: 6.039 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.072e-05/0.134, allocations: 20.94 kB / 0.5823 GB, free: 6.016 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.744e-06/0.134, allocations: 0 / 0.5823 GB, free: 6.016 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001327/0.1342, allocations: 67.39 kB / 0.5824 GB, free: 5.938 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.1342, allocations: 0 / 0.5824 GB, free: 5.938 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001895/0.1344, allocations: 73.53 kB / 0.5825 GB, free: 5.859 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.604e-05/0.1344, allocations: 106.8 kB / 0.5826 GB, free: 5.73 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.732e-05/0.1345, allocations: 101.9 kB / 0.5827 GB, free: 5.621 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.1345, allocations: 29.7 kB / 0.5827 GB, free: 5.586 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.157e-05/0.1346, allocations: 84.14 kB / 0.5828 GB, free: 5.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.604e-05/0.1346, allocations: 7.891 kB / 0.5828 GB, free: 5.492 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.44e-05/0.1346, allocations: 21.72 kB / 0.5828 GB, free: 5.465 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.584e-05/0.1347, allocations: 326.8 kB / 0.5831 GB, free: 5.137 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.86e-05/0.1348, allocations: 8 kB / 0.5831 GB, free: 5.129 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.983e-05/0.1348, allocations: 34.56 kB / 0.5832 GB, free: 5.086 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.671e-05/0.1349, allocations: 28.8 kB / 0.5832 GB, free: 5.055 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1349, allocations: 384 / 0.5832 GB, free: 5.055 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.979e-05/0.135, allocations: 65.53 kB / 0.5833 GB, free: 4.984 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.135, allocations: 11.94 kB / 0.5833 GB, free: 4.973 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.297e-06/0.135, allocations: 0 / 0.5833 GB, free: 4.973 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-06/0.1351, allocations: 4.031 kB / 0.5833 GB, free: 4.969 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.437e-05/0.1351, allocations: 11.98 kB / 0.5833 GB, free: 4.957 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.1351, allocations: 0 / 0.5833 GB, free: 4.957 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.1353, allocations: 8 kB / 0.5833 GB, free: 4.949 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.1353, allocations: 0 / 0.5833 GB, free: 4.949 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.32e-05/0.1354, allocations: 122.4 kB / 0.5834 GB, free: 4.82 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.685e-05/0.1354, allocations: 4 kB / 0.5834 GB, free: 4.816 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.139e-05/0.1354, allocations: 3.5 kB / 0.5834 GB, free: 4.805 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-06/0.1354, allocations: 4 kB / 0.5834 GB, free: 4.801 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.1354, allocations: 0 / 0.5834 GB, free: 4.801 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.1354, allocations: 192 / 0.5834 GB, free: 4.801 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001156/0.1355, allocations: 177.6 kB / 0.5836 GB, free: 4.578 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1356, allocations: 3.984 kB / 0.5836 GB, free: 4.574 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.429e-05/0.1356, allocations: 7.938 kB / 0.5836 GB, free: 4.566 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.1356, allocations: 0 / 0.5836 GB, free: 4.566 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.1356, allocations: 0 / 0.5836 GB, free: 4.566 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1356, allocations: 0 / 0.5836 GB, free: 4.566 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.1356, allocations: 0 / 0.5836 GB, free: 4.566 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001245/0.1357, allocations: 101 kB / 0.5837 GB, free: 4.449 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.323e-05/0.1358, allocations: 89.03 kB / 0.5838 GB, free: 4.344 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/0.1358, allocations: 0 / 0.5838 GB, free: 4.344 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.1359, allocations: 11.98 kB / 0.5838 GB, free: 4.332 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.664e-05/0.136, allocations: 4 kB / 0.5838 GB, free: 4.328 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.136, allocations: 0 / 0.5838 GB, free: 4.328 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.138e-05/0.136, allocations: 91.33 kB / 0.5839 GB, free: 4.238 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.136, allocations: 0 / 0.5839 GB, free: 4.238 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001923/0.1362, allocations: 16 kB / 0.5839 GB, free: 4.223 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003505/0.1366, allocations: 0.6271 MB / 0.5845 GB, free: 3.57 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.683e-05/0.1367, allocations: 35.92 kB / 0.5845 GB, free: 3.535 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.1367, allocations: 0 / 0.5845 GB, free: 3.535 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.772e-05/0.1367, allocations: 15.94 kB / 0.5846 GB, free: 3.52 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000142/0.1369, allocations: 12 kB / 0.5846 GB, free: 3.508 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000935/0.1378, allocations: 1.17 MB / 0.5857 GB, free: 2.254 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002092/0.1381, allocations: 0.6809 MB / 0.5864 GB, free: 1.547 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.482e-05/0.1381, allocations: 7.984 kB / 0.5864 GB, free: 1.539 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.321e-05/0.1381, allocations: 11.44 kB / 0.5864 GB, free: 1.527 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1381, allocations: 0 / 0.5864 GB, free: 1.527 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.00974/0.1479, allocations: 1.581 MB / 0.5879 GB, free: 136 kB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001736/0.1481, allocations: 231.2 kB / 0.5882 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.53/1.678, allocations: 4.062 kB / 0.5882 GB, free: 15.88 MB / 0.4981 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/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)