Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.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.ConvertTimeNegativeStart,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart",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.0009035/0.0009037, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001064/0.001064, allocations: 168.7 kB / 15.95 MB, free: 204 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.407/1.407, allocations: 223.3 MB / 240 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9857/0.9857, allocations: 135.3 MB / 426.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005194/0.0005195, allocations: 8 kB / 0.5071 GB, free: 5.066 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2154/0.216, allocations: 82.32 MB / 0.5875 GB, free: 2.914 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.001615/0.2176, allocations: 1.149 MB / 0.5886 GB, free: 1.754 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004118/0.2181, allocations: 159.6 kB / 0.5888 GB, free: 1.598 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.88e-05/0.2181, allocations: 0 / 0.5888 GB, free: 1.598 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.452e-05/0.2181, allocations: 0 / 0.5888 GB, free: 1.598 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002403/0.2184, allocations: 15.92 kB / 0.5888 GB, free: 1.582 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000193/0.2186, allocations: 55.67 kB / 0.5888 GB, free: 1.531 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.618e-05/0.2187, allocations: 39.84 kB / 0.5889 GB, free: 1.492 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.587e-05/0.2188, allocations: 19.97 kB / 0.5889 GB, free: 1.473 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.943e-05/0.2189, allocations: 15.92 kB / 0.5889 GB, free: 1.457 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.732e-05/0.2189, allocations: 15.98 kB / 0.5889 GB, free: 1.441 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.822e-05/0.219, allocations: 0 / 0.5889 GB, free: 1.441 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.5e-05/0.219, allocations: 4 kB / 0.5889 GB, free: 1.438 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.429e-05/0.219, allocations: 11.92 kB / 0.5889 GB, free: 1.426 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.658e-05/0.2191, allocations: 29.7 kB / 0.589 GB, free: 1.391 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.521e-05/0.2192, allocations: 32.16 kB / 0.589 GB, free: 1.359 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2192, allocations: 0 / 0.589 GB, free: 1.359 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2192, allocations: 0 / 0.589 GB, free: 1.359 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.2192, allocations: 4 kB / 0.589 GB, free: 1.355 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.0005151/0.2197, allocations: 339.3 kB / 0.5893 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.2198, allocations: 11.97 kB / 0.5893 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.412e-05/0.2198, allocations: 30.56 kB / 0.5894 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.966e-05/0.2198, allocations: 4 kB / 0.5894 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.22, allocations: 178.9 kB / 0.5895 GB, free: 0.707 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.22, allocations: 0 / 0.5895 GB, free: 0.707 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.013e-05/0.22, allocations: 0 / 0.5895 GB, free: 0.707 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.2202, allocations: 72.2 kB / 0.5896 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.2202, allocations: 0 / 0.5896 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.2202, allocations: 3.984 kB / 0.5896 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.2202, allocations: 0 / 0.5896 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.002e-05/0.2203, allocations: 15.94 kB / 0.5896 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004103/0.2207, allocations: 268.9 kB / 0.5899 GB, free: 296 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.056e-05/0.2208, allocations: 46.5 kB / 0.5899 GB, free: 240 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.438e-05/0.2208, allocations: 16.94 kB / 0.5899 GB, free: 220 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.618e-06/0.2209, allocations: 0 / 0.5899 GB, free: 220 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000164/0.221, allocations: 63.39 kB / 0.59 GB, free: 144 kB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.221, allocations: 0 / 0.59 GB, free: 144 kB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002028/0.2212, allocations: 73.62 kB / 0.5901 GB, free: 64 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.56e-05/0.2213, allocations: 110.8 kB / 0.5902 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.751e-05/0.2214, allocations: 105.8 kB / 0.5903 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.2215, allocations: 25.7 kB / 0.5903 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.629e-05/0.2215, allocations: 84.14 kB / 0.5904 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.191e-05/0.2215, allocations: 15.8 kB / 0.5904 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-06/0.2216, allocations: 0 / 0.5904 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.2217, allocations: 314.8 kB / 0.5907 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.589e-05/0.2217, allocations: 12 kB / 0.5907 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.305e-05/0.2218, allocations: 38.81 kB / 0.5907 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.207e-05/0.2218, allocations: 8 kB / 0.5908 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.2218, allocations: 0 / 0.5908 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000102/0.2219, allocations: 65.62 kB / 0.5908 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.2219, allocations: 4 kB / 0.5908 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.222, allocations: 0 / 0.5908 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.222, allocations: 0 / 0.5908 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.21e-05/0.222, allocations: 16.02 kB / 0.5908 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.2221, allocations: 0 / 0.5908 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.2222, allocations: 15.89 kB / 0.5908 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.2222, allocations: 3.984 kB / 0.5909 GB, free: 15.19 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.0001031/0.2223, allocations: 113.8 kB / 0.591 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.513e-05/0.2223, allocations: 7.906 kB / 0.591 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.181e-05/0.2223, allocations: 3.5 kB / 0.591 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.2224, allocations: 192 / 0.591 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.2224, allocations: 4 kB / 0.591 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.2224, allocations: 3.984 kB / 0.591 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001387/0.2225, allocations: 177.6 kB / 0.5911 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2225, allocations: 0 / 0.5911 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.293e-05/0.2226, allocations: 7.938 kB / 0.5912 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.2226, allocations: 0 / 0.5912 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.2226, allocations: 0 / 0.5912 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2226, allocations: 0 / 0.5912 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.2226, allocations: 0 / 0.5912 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001374/0.2227, allocations: 97.06 kB / 0.5913 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.632e-05/0.2228, allocations: 85.03 kB / 0.5913 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.137e-05/0.2228, allocations: 11.94 kB / 0.5913 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.538e-05/0.2229, allocations: 15.23 kB / 0.5914 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.082e-05/0.223, allocations: 0 / 0.5914 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.223, allocations: 4.188 kB / 0.5914 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.759e-05/0.223, allocations: 91.27 kB / 0.5914 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.223, allocations: 0 / 0.5914 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001866/0.2232, allocations: 12 kB / 0.5915 GB, free: 14.47 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.0003869/0.2236, allocations: 0.6318 MB / 0.5921 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001126/0.2238, allocations: 27.98 kB / 0.5921 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2238, allocations: 0 / 0.5921 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.086e-05/0.2238, allocations: 15.94 kB / 0.5921 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001583/0.224, allocations: 12 kB / 0.5921 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006519/0.2246, allocations: 398.2 kB / 0.5925 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002212/0.2249, allocations: 0.6848 MB / 0.5932 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.122e-05/0.2249, allocations: 11.98 kB / 0.5932 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.778e-05/0.225, allocations: 15.44 kB / 0.5932 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.225, allocations: 0 / 0.5932 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01237/0.2373, allocations: 1.515 MB / 0.5947 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001935/0.2376, allocations: 224 kB / 0.5949 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.829/2.067, allocations: 0 / 0.5949 GB, free: 11.04 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart_fmu --startTime=-3.1536e+07 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1) Environment - environmentSimulation: