Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="IDEAS_dev_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.001089/0.00109, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001227/0.001227, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 223.3 MB / 240 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.995/0.995, allocations: 135.3 MB / 426.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003382/0.0003383, allocations: 8.219 kB / 0.5071 GB, free: 4.988 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.2032, allocations: 82.32 MB / 0.5875 GB, free: 2.84 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.001799/0.205, allocations: 1.149 MB / 0.5886 GB, free: 1.68 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004341/0.2055, allocations: 163.6 kB / 0.5888 GB, free: 1.52 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.549e-05/0.2055, allocations: 0 / 0.5888 GB, free: 1.52 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.361e-05/0.2056, allocations: 0 / 0.5888 GB, free: 1.52 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002677/0.2058, allocations: 23.91 kB / 0.5888 GB, free: 1.496 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002002/0.2061, allocations: 43.94 kB / 0.5888 GB, free: 1.453 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.626e-05/0.2062, allocations: 47.84 kB / 0.5889 GB, free: 1.406 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.804e-05/0.2062, allocations: 4 kB / 0.5889 GB, free: 1.402 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.721e-05/0.2063, allocations: 15.92 kB / 0.5889 GB, free: 1.387 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.629e-05/0.2064, allocations: 23.91 kB / 0.5889 GB, free: 1.363 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.2064, allocations: 0 / 0.5889 GB, free: 1.363 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.378e-05/0.2064, allocations: 4 kB / 0.5889 GB, free: 1.359 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.072e-05/0.2065, allocations: 7.984 kB / 0.5889 GB, free: 1.352 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.709e-05/0.2065, allocations: 29.7 kB / 0.5889 GB, free: 1.316 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.063e-05/0.2066, allocations: 32.11 kB / 0.589 GB, free: 1.285 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/0.2066, allocations: 3.984 kB / 0.589 GB, free: 1.281 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.2066, allocations: 4 kB / 0.589 GB, free: 1.277 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.2066, allocations: 0 / 0.589 GB, free: 1.277 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.0005814/0.2072, allocations: 337 kB / 0.5893 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/0.2073, allocations: 8.031 kB / 0.5893 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.457e-05/0.2073, allocations: 30.56 kB / 0.5893 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.45e-05/0.2074, allocations: 4 kB / 0.5893 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001645/0.2076, allocations: 186.8 kB / 0.5895 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.2076, allocations: 0 / 0.5895 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.487e-05/0.2076, allocations: 8 kB / 0.5895 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.2078, allocations: 64.25 kB / 0.5896 GB, free: 0.543 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.2078, allocations: 0 / 0.5896 GB, free: 0.543 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.2078, allocations: 7.938 kB / 0.5896 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.2078, allocations: 4 kB / 0.5896 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.214e-05/0.2079, allocations: 15.92 kB / 0.5896 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004583/0.2083, allocations: 272.9 kB / 0.5899 GB, free: 204 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.582e-05/0.2085, allocations: 38.56 kB / 0.5899 GB, free: 156 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.668e-05/0.2085, allocations: 16.84 kB / 0.5899 GB, free: 136 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.216e-06/0.2085, allocations: 0 / 0.5899 GB, free: 136 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001593/0.2087, allocations: 67.42 kB / 0.59 GB, free: 56 kB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.2087, allocations: 4 kB / 0.59 GB, free: 52 kB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002207/0.2089, allocations: 73.67 kB / 0.5901 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.39e-05/0.209, allocations: 102.8 kB / 0.5902 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.878e-05/0.2091, allocations: 105.8 kB / 0.5903 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.2091, allocations: 25.7 kB / 0.5903 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.241e-05/0.2092, allocations: 84.14 kB / 0.5904 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.102e-05/0.2092, allocations: 11.81 kB / 0.5904 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.337e-06/0.2092, allocations: 0 / 0.5904 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.2093, allocations: 322.8 kB / 0.5907 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.99e-05/0.2094, allocations: 11.98 kB / 0.5907 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.8e-05/0.2094, allocations: 38.5 kB / 0.5907 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.724e-05/0.2095, allocations: 8 kB / 0.5907 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2095, allocations: 0 / 0.5907 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.933e-05/0.2096, allocations: 57.7 kB / 0.5908 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.2096, allocations: 7.984 kB / 0.5908 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.2096, allocations: 0 / 0.5908 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.246e-05/0.2096, allocations: 4.031 kB / 0.5908 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.708e-05/0.2097, allocations: 8 kB / 0.5908 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.2097, allocations: 0 / 0.5908 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.2098, allocations: 11.98 kB / 0.5908 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.094e-06/0.2098, allocations: 0 / 0.5908 GB, free: 15.12 MB / 0.4981 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 0.0001016/0.21, allocations: 125.7 kB / 0.591 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.447e-05/0.21, allocations: 7.906 kB / 0.591 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.005e-05/0.21, allocations: 3.5 kB / 0.591 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.21, allocations: 7.984 kB / 0.591 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.21, allocations: 0 / 0.591 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.21, allocations: 0 / 0.591 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001392/0.2102, allocations: 173.5 kB / 0.5911 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2102, allocations: 448 / 0.5911 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.159e-05/0.2102, allocations: 4 kB / 0.5911 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.2102, allocations: 0 / 0.5911 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.2102, allocations: 7.984 kB / 0.5911 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2102, allocations: 0 / 0.5911 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2102, allocations: 0 / 0.5911 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001323/0.2104, allocations: 93.08 kB / 0.5912 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.639e-05/0.2105, allocations: 89.03 kB / 0.5913 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.265e-05/0.2105, allocations: 7.938 kB / 0.5913 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.2106, allocations: 15.23 kB / 0.5913 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.095e-05/0.2106, allocations: 3.984 kB / 0.5913 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.2107, allocations: 4 kB / 0.5914 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.282e-05/0.2107, allocations: 83.28 kB / 0.5914 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2107, allocations: 4 kB / 0.5914 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001867/0.2109, allocations: 8 kB / 0.5914 GB, free: 14.4 MB / 0.4981 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.0004359/0.2114, allocations: 0.6322 MB / 0.5921 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001119/0.2115, allocations: 31.92 kB / 0.5921 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2115, allocations: 0 / 0.5921 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.183e-05/0.2116, allocations: 27.97 kB / 0.5921 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001575/0.2117, allocations: 1.969 kB / 0.5921 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006533/0.2124, allocations: 398.6 kB / 0.5925 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/0.2127, allocations: 0.6808 MB / 0.5932 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.393e-05/0.2127, allocations: 8.094 kB / 0.5932 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.242e-05/0.2128, allocations: 19.25 kB / 0.5932 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.2128, allocations: 3.938 kB / 0.5932 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01274/0.2255, allocations: 1.518 MB / 0.5947 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003141/0.2259, allocations: 228.8 kB / 0.5949 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.796/2.022, allocations: 0 / 0.5949 GB, free: 10.96 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart_fmu --startTime=4.71744e+07 --stopTime=1.26144e+08 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) Environment - environmentSimulation: