Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.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.001666/0.001666, allocations: 115.7 kB / 17.17 MB, free: 5.98 MB / 14.72 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.002001/0.002001, allocations: 219 kB / 20.14 MB, free: 3.035 MB / 14.72 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 1.595/1.595, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.962/2.962, allocations: 0.49 GB / 0.7923 GB, free: 1.277 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.ConvertTimePositiveStart,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002285/0.002285, allocations: 71.91 kB / 1.15 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.086/1.089, allocations: 176.1 MB / 1.321 GB, free: 24.72 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002488/1.091, allocations: 1.485 MB / 1.323 GB, free: 23.69 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0004597/1.092, allocations: 188.1 kB / 1.323 GB, free: 23.56 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.778e-05/1.092, allocations: 0 / 1.323 GB, free: 23.56 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.67e-05/1.092, allocations: 3.938 kB / 1.323 GB, free: 23.56 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002487/1.092, allocations: 21.16 kB / 1.323 GB, free: 23.55 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001911/1.092, allocations: 52.7 kB / 1.323 GB, free: 23.52 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001125/1.092, allocations: 69.09 kB / 1.323 GB, free: 23.49 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.551e-05/1.092, allocations: 6.891 kB / 1.323 GB, free: 23.49 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.427e-05/1.092, allocations: 27.05 kB / 1.323 GB, free: 23.48 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.42e-05/1.092, allocations: 20.33 kB / 1.323 GB, free: 23.47 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.21e-05/1.092, allocations: 5.938 kB / 1.323 GB, free: 23.47 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.327e-05/1.093, allocations: 6.75 kB / 1.323 GB, free: 23.46 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.575e-05/1.093, allocations: 13.84 kB / 1.323 GB, free: 23.46 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.083e-05/1.093, allocations: 21.02 kB / 1.323 GB, free: 23.45 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001018/1.093, allocations: 44.72 kB / 1.323 GB, free: 23.43 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/1.093, allocations: 0 / 1.323 GB, free: 23.43 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.613e-06/1.093, allocations: 0 / 1.323 GB, free: 23.43 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.136e-05/1.093, allocations: 4 kB / 1.323 GB, free: 23.43 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005272/1.093, allocations: 356.2 kB / 1.324 GB, free: 23.06 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/1.093, allocations: 13.14 kB / 1.324 GB, free: 23.05 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.554e-05/1.093, allocations: 192 / 1.324 GB, free: 23.05 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.836e-05/1.093, allocations: 32.59 kB / 1.324 GB, free: 23.02 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.559e-05/1.093, allocations: 8.234 kB / 1.324 GB, free: 23.01 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/1.093, allocations: 170.5 kB / 1.324 GB, free: 22.81 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/1.093, allocations: 3.25 kB / 1.324 GB, free: 22.81 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.483e-05/1.093, allocations: 4.375 kB / 1.324 GB, free: 22.81 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/1.094, allocations: 77.09 kB / 1.324 GB, free: 22.74 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/1.094, allocations: 0 / 1.324 GB, free: 22.74 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/1.094, allocations: 10.59 kB / 1.324 GB, free: 22.73 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/1.094, allocations: 4 kB / 1.324 GB, free: 22.73 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.615e-05/1.094, allocations: 16.14 kB / 1.324 GB, free: 22.72 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003395/1.094, allocations: 274.2 kB / 1.324 GB, free: 22.44 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.345e-05/1.094, allocations: 40.91 kB / 1.324 GB, free: 22.4 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.319e-05/1.094, allocations: 21.44 kB / 1.324 GB, free: 22.39 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.223e-05/1.094, allocations: 0 / 1.324 GB, free: 22.39 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001513/1.094, allocations: 68.09 kB / 1.324 GB, free: 22.33 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.523e-06/1.094, allocations: 0 / 1.324 GB, free: 22.33 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0002191/1.095, allocations: 76.88 kB / 1.325 GB, free: 22.28 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.177e-05/1.095, allocations: 102.8 kB / 1.325 GB, free: 22.15 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.782e-05/1.095, allocations: 106.4 kB / 1.325 GB, free: 22.05 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/1.095, allocations: 25.7 kB / 1.325 GB, free: 22.02 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.44e-05/1.095, allocations: 94.88 kB / 1.325 GB, free: 21.93 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.98e-05/1.095, allocations: 11.41 kB / 1.325 GB, free: 21.92 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.811e-05/1.095, allocations: 25.44 kB / 1.325 GB, free: 21.9 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.459e-05/1.095, allocations: 314.8 kB / 1.325 GB, free: 21.58 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.78e-05/1.095, allocations: 13.91 kB / 1.325 GB, free: 21.57 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.236e-05/1.095, allocations: 34.75 kB / 1.325 GB, free: 21.54 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.656e-05/1.095, allocations: 27.58 kB / 1.325 GB, free: 21.53 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/1.095, allocations: 0 / 1.325 GB, free: 21.53 MB / 1.061 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.433e-05/1.095, allocations: 61.47 kB / 1.325 GB, free: 21.48 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/1.095, allocations: 7.719 kB / 1.325 GB, free: 21.48 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/1.095, allocations: 0 / 1.325 GB, free: 21.48 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/1.095, allocations: 0 / 1.325 GB, free: 21.48 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.752e-05/1.095, allocations: 9.906 kB / 1.325 GB, free: 21.48 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/1.095, allocations: 0 / 1.325 GB, free: 21.48 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/1.095, allocations: 13.03 kB / 1.325 GB, free: 21.48 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/1.095, allocations: 4.438 kB / 1.325 GB, free: 21.47 MB / 1.061 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 (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 6.974e-05/1.095, allocations: 120.9 kB / 1.325 GB, free: 21.36 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.358e-05/1.095, allocations: 0 / 1.325 GB, free: 21.36 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.24e-05/1.095, allocations: 10.44 kB / 1.325 GB, free: 21.34 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/1.095, allocations: 0 / 1.325 GB, free: 21.34 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/1.095, allocations: 4 kB / 1.325 GB, free: 21.34 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/1.095, allocations: 7.938 kB / 1.325 GB, free: 21.33 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000103/1.095, allocations: 172.6 kB / 1.326 GB, free: 21.13 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/1.095, allocations: 3.938 kB / 1.326 GB, free: 21.13 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.999e-05/1.096, allocations: 2.938 kB / 1.326 GB, free: 21.13 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/1.096, allocations: 3.422 kB / 1.326 GB, free: 21.13 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/1.096, allocations: 2.781 kB / 1.326 GB, free: 21.13 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/1.096, allocations: 0 / 1.326 GB, free: 21.13 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/1.096, allocations: 0 / 1.326 GB, free: 21.13 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001177/1.096, allocations: 96.41 kB / 1.326 GB, free: 21.04 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.28e-05/1.096, allocations: 83.09 kB / 1.326 GB, free: 20.95 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/1.096, allocations: 2.469 kB / 1.326 GB, free: 20.95 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/1.096, allocations: 12.02 kB / 1.326 GB, free: 20.95 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.685e-05/1.096, allocations: 5.672 kB / 1.326 GB, free: 20.95 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/1.096, allocations: 2.5 kB / 1.326 GB, free: 20.95 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.254e-05/1.096, allocations: 88.5 kB / 1.326 GB, free: 20.86 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.096, allocations: 0 / 1.326 GB, free: 20.86 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001897/1.096, allocations: 8.312 kB / 1.326 GB, free: 20.86 MB / 1.061 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 (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.0003136/1.096, allocations: 0.6377 MB / 1.327 GB, free: 20.25 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001254/1.097, allocations: 31.56 kB / 1.327 GB, free: 20.23 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/1.097, allocations: 0 / 1.327 GB, free: 20.23 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.83e-05/1.097, allocations: 18.5 kB / 1.327 GB, free: 20.23 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000166/1.097, allocations: 10.03 kB / 1.327 GB, free: 20.22 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008625/1.098, allocations: 1.17 MB / 1.328 GB, free: 19.09 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000122/1.098, allocations: 0.6846 MB / 1.328 GB, free: 18.39 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.534e-05/1.098, allocations: 6.047 kB / 1.328 GB, free: 18.39 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.855e-05/1.098, allocations: 14.19 kB / 1.328 GB, free: 18.38 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/1.098, allocations: 0 / 1.328 GB, free: 18.38 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01889/1.117, allocations: 1.837 MB / 1.33 GB, free: 18.01 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.011/9.128, allocations: 10.97 kB / 1.33 GB, free: 18.01 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart_fmu --startTime=4.71744e+07 --stopTime=1.26144e+08 --stepSize=31587.8 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.fmu > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.768679336004425] Failed to read output from testmodel.py, exit status != 0: 9.254748645995278 9.27630654 8.17992844 Calling exit ...