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.001173/0.001173, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001412/0.001412, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.255/2.255, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.082/1.082, allocations: 132.3 MB / 423.2 MB, free: 2.184 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005371/0.0005373, allocations: 16 kB / 0.5033 GB, free: 4.156 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5553/0.5559, allocations: 81.57 MB / 0.583 GB, free: 3.996 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.001812/0.5578, allocations: 1.149 MB / 0.5841 GB, free: 3.16 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004555/0.5583, allocations: 159.8 kB / 0.5843 GB, free: 3.055 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.449e-05/0.5583, allocations: 0.9375 kB / 0.5843 GB, free: 3.055 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.27e-05/0.5583, allocations: 4.594 kB / 0.5843 GB, free: 3.051 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002361/0.5586, allocations: 19.94 kB / 0.5843 GB, free: 3.039 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002124/0.5588, allocations: 49.25 kB / 0.5843 GB, free: 3.016 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.667e-05/0.5589, allocations: 27.11 kB / 0.5843 GB, free: 3.004 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.882e-05/0.559, allocations: 3.641 kB / 0.5844 GB, free: 3.004 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.293e-05/0.5591, allocations: 25.19 kB / 0.5844 GB, free: 2.992 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.409e-05/0.5592, allocations: 18.67 kB / 0.5844 GB, free: 2.984 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.966e-05/0.5592, allocations: 1.906 kB / 0.5844 GB, free: 2.984 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.486e-05/0.5592, allocations: 2.469 kB / 0.5844 GB, free: 2.984 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.525e-05/0.5593, allocations: 9.391 kB / 0.5844 GB, free: 2.98 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.41e-05/0.5593, allocations: 36.27 kB / 0.5844 GB, free: 2.941 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 7.811e-05/0.5594, allocations: 27.92 kB / 0.5845 GB, free: 2.938 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.5594, allocations: 1.281 kB / 0.5845 GB, free: 2.938 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.876e-06/0.5594, allocations: 0 / 0.5845 GB, free: 2.938 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.5594, allocations: 0 / 0.5845 GB, free: 2.938 MB / 430.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.000475/0.5599, allocations: 339.5 kB / 0.5848 GB, free: 2.578 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.56, allocations: 9.812 kB / 0.5848 GB, free: 2.578 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.45e-05/0.56, allocations: 32.27 kB / 0.5848 GB, free: 2.539 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.526e-05/0.5601, allocations: 10.09 kB / 0.5848 GB, free: 2.531 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.5602, allocations: 183.6 kB / 0.585 GB, free: 2.316 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.5602, allocations: 1.812 kB / 0.585 GB, free: 2.316 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.5602, allocations: 1.812 kB / 0.585 GB, free: 2.316 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.5604, allocations: 65.48 kB / 0.5851 GB, free: 2.254 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-06/0.5604, allocations: 1.484 kB / 0.5851 GB, free: 2.254 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.5604, allocations: 1.125 kB / 0.5851 GB, free: 2.254 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.5604, allocations: 0 / 0.5851 GB, free: 2.254 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.428e-05/0.5605, allocations: 21.98 kB / 0.5851 GB, free: 2.242 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004119/0.5609, allocations: 266.8 kB / 0.5854 GB, free: 1.965 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.864e-05/0.561, allocations: 42.53 kB / 0.5854 GB, free: 1.93 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.013e-06/0.5611, allocations: 0 / 0.5854 GB, free: 1.93 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001768/0.5612, allocations: 63.44 kB / 0.5855 GB, free: 1.875 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.303e-06/0.5612, allocations: 3.938 kB / 0.5855 GB, free: 1.871 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.000233/0.5615, allocations: 69.64 kB / 0.5855 GB, free: 1.828 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.5615, allocations: 108.6 kB / 0.5856 GB, free: 1.699 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.181e-05/0.5616, allocations: 107.4 kB / 0.5857 GB, free: 1.594 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.5616, allocations: 26.58 kB / 0.5858 GB, free: 1.562 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.033e-05/0.5617, allocations: 82.31 kB / 0.5858 GB, free: 1.48 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.208e-05/0.5617, allocations: 23.09 kB / 0.5859 GB, free: 1.461 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-06/0.5617, allocations: 4 kB / 0.5859 GB, free: 1.457 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.324e-05/0.5618, allocations: 317.9 kB / 0.5862 GB, free: 1.141 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.31e-05/0.5618, allocations: 10 kB / 0.5862 GB, free: 1.137 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.057e-05/0.5619, allocations: 35.47 kB / 0.5862 GB, free: 1.105 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.508e-05/0.5619, allocations: 14.2 kB / 0.5862 GB, free: 1.098 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.5619, allocations: 1.094 kB / 0.5862 GB, free: 1.098 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.024e-05/0.562, allocations: 54.58 kB / 0.5863 GB, free: 1.059 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.243e-05/0.5621, allocations: 5.281 kB / 0.5863 GB, free: 1.059 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.5621, allocations: 4.781 kB / 0.5863 GB, free: 1.055 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.5621, allocations: 1.438 kB / 0.5863 GB, free: 1.055 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.45e-05/0.5622, allocations: 9.266 kB / 0.5863 GB, free: 1.051 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.5622, allocations: 1.406 kB / 0.5863 GB, free: 1.051 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.5623, allocations: 15.22 kB / 0.5863 GB, free: 1.047 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.5624, allocations: 1.719 kB / 0.5863 GB, free: 1.047 MB / 430.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 ($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 8.686e-05/0.5624, allocations: 119.7 kB / 0.5864 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.739e-05/0.5625, allocations: 10.25 kB / 0.5864 GB, free: 0.918 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.206e-05/0.5625, allocations: 13 kB / 0.5865 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.5625, allocations: 1 kB / 0.5865 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.5625, allocations: 1.562 kB / 0.5865 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.5625, allocations: 0 / 0.5865 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.671e-05/0.5626, allocations: 171.1 kB / 0.5866 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.5626, allocations: 0.75 kB / 0.5866 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.446e-05/0.5627, allocations: 3.859 kB / 0.5866 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.5627, allocations: 0 / 0.5866 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.5627, allocations: 5.375 kB / 0.5866 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.5627, allocations: 0.9688 kB / 0.5866 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.5627, allocations: 4 kB / 0.5866 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001267/0.5629, allocations: 85.45 kB / 0.5867 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.388e-05/0.5629, allocations: 87.53 kB / 0.5868 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.907e-05/0.563, allocations: 2.469 kB / 0.5868 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.5631, allocations: 9.953 kB / 0.5868 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.068e-05/0.5631, allocations: 8.922 kB / 0.5868 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.5632, allocations: 13.91 kB / 0.5868 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.083e-05/0.5632, allocations: 81.61 kB / 0.5869 GB, free: 444 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5632, allocations: 0.7188 kB / 0.5869 GB, free: 444 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002215/0.5634, allocations: 13.88 kB / 0.5869 GB, free: 440 kB / 430.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 (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.000398/0.5638, allocations: 0.6243 MB / 0.5875 GB, free: 15.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001563/0.564, allocations: 36.95 kB / 0.5876 GB, free: 15.81 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.564, allocations: 0 / 0.5876 GB, free: 15.81 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.779e-05/0.5641, allocations: 15.41 kB / 0.5876 GB, free: 15.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001263/0.5642, allocations: 1.75 kB / 0.5876 GB, free: 15.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008041/0.565, allocations: 401.3 kB / 0.588 GB, free: 15.44 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000264/0.5653, allocations: 0.6818 MB / 0.5886 GB, free: 14.75 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.378e-05/0.5654, allocations: 8.922 kB / 0.5886 GB, free: 14.74 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.051e-05/0.5654, allocations: 11.25 kB / 0.5887 GB, free: 14.73 MB / 446.1 MB Notification: Performance of SimCode: time 2.6e-07/0.5654, allocations: 0 / 0.5887 GB, free: 14.73 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01432/0.5798, allocations: 1.51 MB / 0.5901 GB, free: 14.6 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003299/0.5802, allocations: 211.9 kB / 0.5903 GB, free: 14.36 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.27/2.85, allocations: 0 / 0.5903 GB, free: 14.36 MB / 446.1 MB (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) Environment - environmentSimulation: