Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009113/0.0009113, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9164/0.9164, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.816/1.816, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.85e-05/2.003e-05, allocations: 6.219 kB / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.00189/0.00191, allocations: 1.471 MB / 1.001 GB, free: 12.01 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0003195/0.00223, allocations: 184 kB / 1.001 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.389e-05/0.002274, allocations: 3.938 kB / 1.001 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.778e-05/0.002301, allocations: 0 / 1.001 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0002288/0.00253, allocations: 31.78 kB / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001818/0.002712, allocations: 55.23 kB / 1.001 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001109/0.002823, allocations: 59.84 kB / 1.001 GB, free: 11.69 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.002943, allocations: 7.984 kB / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 9.597e-05/0.003039, allocations: 35.91 kB / 1.001 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 9.212e-05/0.003132, allocations: 19.97 kB / 1.001 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.961e-05/0.003161, allocations: 8 kB / 1.002 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.281e-05/0.003174, allocations: 4 kB / 1.002 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.984e-05/0.003204, allocations: 19.91 kB / 1.002 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.299e-05/0.003247, allocations: 16 kB / 1.002 GB, free: 11.58 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001283/0.003375, allocations: 63.77 kB / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.003377, allocations: 0 / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.473e-06/0.003379, allocations: 0 / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.003384, allocations: 0 / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004674/0.003852, allocations: 276.5 kB / 1.002 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.003893, allocations: 13.28 kB / 1.002 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.363e-05/0.003926, allocations: 46.73 kB / 1.002 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.195e-05/0.003958, allocations: 4.891 kB / 1.002 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.679e-05/0.004045, allocations: 105.8 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.004059, allocations: 8.375 kB / 1.002 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/0.00407, allocations: 4.375 kB / 1.002 GB, free: 11 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.004215, allocations: 132.2 kB / 1.002 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.004222, allocations: 192 / 1.002 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.004233, allocations: 4.375 kB / 1.002 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.004239, allocations: 4.125 kB / 1.002 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.633e-05/0.004285, allocations: 23.92 kB / 1.002 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004207/0.004706, allocations: 255.9 kB / 1.002 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.004808, allocations: 42.56 kB / 1.002 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.734e-05/0.004835, allocations: 20.8 kB / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 9.167e-06/0.004845, allocations: 3.938 kB / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001239/0.004969, allocations: 63.48 kB / 1.003 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=5): time 1.193e-06/0.00497, allocations: 0 / 1.003 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of matching and sorting (n=5): time 0.0001683/0.005138, allocations: 77.67 kB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.102e-05/0.005189, allocations: 106.8 kB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.595e-05/0.005245, allocations: 105.8 kB / 1.003 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.00526, allocations: 33.7 kB / 1.003 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.444e-05/0.005305, allocations: 92.03 kB / 1.003 GB, free: 9.914 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.736e-05/0.005322, allocations: 7.953 kB / 1.003 GB, free: 9.906 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.365e-05/0.005356, allocations: 25.64 kB / 1.003 GB, free: 9.875 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.687e-05/0.005432, allocations: 322.8 kB / 1.003 GB, free: 9.551 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.515e-05/0.005458, allocations: 15.98 kB / 1.003 GB, free: 9.535 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.456e-05/0.005512, allocations: 89.97 kB / 1.003 GB, free: 9.426 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.561e-05/0.005558, allocations: 28.86 kB / 1.003 GB, free: 9.395 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.00556, allocations: 0 / 1.003 GB, free: 9.395 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.973e-05/0.00564, allocations: 77.64 kB / 1.004 GB, free: 9.312 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.005653, allocations: 4 kB / 1.004 GB, free: 9.309 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.005658, allocations: 4.031 kB / 1.004 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.00567, allocations: 3.938 kB / 1.004 GB, free: 9.301 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.522e-05/0.005725, allocations: 15.98 kB / 1.004 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.00573, allocations: 0 / 1.004 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.82e-05/0.005788, allocations: 7.938 kB / 1.004 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.005798, allocations: 7.984 kB / 1.004 GB, free: 9.27 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conTim.k,$PRE.conTim.k,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 (7): * Single equations (assignments): 7 * 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 6.631e-05/0.005864, allocations: 113.8 kB / 1.004 GB, free: 9.148 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.112e-05/0.005875, allocations: 11.89 kB / 1.004 GB, free: 9.137 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.202e-05/0.005897, allocations: 7.797 kB / 1.004 GB, free: 9.125 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.005899, allocations: 4 kB / 1.004 GB, free: 9.121 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.005903, allocations: 0 / 1.004 GB, free: 9.121 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.005906, allocations: 0 / 1.004 GB, free: 9.121 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.455e-05/0.005991, allocations: 144.7 kB / 1.004 GB, free: 8.938 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.005992, allocations: 0.5 kB / 1.004 GB, free: 8.938 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.407e-06/0.006002, allocations: 0 / 1.004 GB, free: 8.938 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.006004, allocations: 4 kB / 1.004 GB, free: 8.934 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.006011, allocations: 4 kB / 1.004 GB, free: 8.93 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.006012, allocations: 0 / 1.004 GB, free: 8.93 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.006013, allocations: 0 / 1.004 GB, free: 8.93 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.045e-05/0.006103, allocations: 101 kB / 1.004 GB, free: 8.812 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.596e-05/0.006129, allocations: 15.95 kB / 1.004 GB, free: 8.797 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.006144, allocations: 0 / 1.004 GB, free: 8.797 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.529e-05/0.006189, allocations: 7.984 kB / 1.004 GB, free: 8.789 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.636e-05/0.006265, allocations: 11.98 kB / 1.004 GB, free: 8.777 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.006269, allocations: 0 / 1.004 GB, free: 8.777 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.154e-05/0.0063, allocations: 83.27 kB / 1.004 GB, free: 8.695 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.0063, allocations: 0 / 1.004 GB, free: 8.695 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001301/0.006431, allocations: 16 kB / 1.004 GB, free: 8.68 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,conTim.tNext,conTim.k) * Number of discrete states: 2 (conTim.k,conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002584/0.006689, allocations: 0.6358 MB / 1.005 GB, free: 8.016 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001111/0.0068, allocations: 35.98 kB / 1.005 GB, free: 7.98 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.006802, allocations: 0 / 1.005 GB, free: 7.98 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.55e-05/0.006838, allocations: 23.86 kB / 1.005 GB, free: 7.957 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000132/0.00697, allocations: 5.406 kB / 1.005 GB, free: 7.953 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008627/0.007832, allocations: 1.219 MB / 1.006 GB, free: 6.648 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.256e-05/0.007875, allocations: 67.33 kB / 1.006 GB, free: 6.562 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.082e-05/0.007906, allocations: 4 kB / 1.006 GB, free: 6.559 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.217e-05/0.007948, allocations: 16.5 kB / 1.006 GB, free: 6.543 MB / 0.9636 GB Notification: Performance of SimCode: time 8.42e-07/0.007949, allocations: 4 kB / 1.006 GB, free: 6.539 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01584/0.02379, allocations: 2.562 MB / 1.009 GB, free: 4.195 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.084/7.108, allocations: 10.09 kB / 1.009 GB, free: 4.188 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.csv --start-time -3.1536e+07 --stop-time 3.1536e+07 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 25228.8 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 11.345333703793585] Failed to read output from testmodel.py, exit status != 0: 7.19069142639637 7.2042495859999995 7.198964239 Calling exit ...