Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.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.001345/0.001345, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.001514/0.001514, allocations: 219.6 kB / 23.04 MB, free: 5.074 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.49/1.49, allocations: 230.6 MB / 256.8 MB, free: 7.988 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 3.356/3.356, allocations: 0.49 GB / 0.7959 GB, free: 33.45 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.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift,fileNamePrefix="Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift,fileNamePrefix="Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift",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.001947/0.001947, allocations: 64.75 kB / 1.155 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.369/0.3709, allocations: 176.1 MB / 1.327 GB, free: 1.926 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.003644/0.3746, allocations: 2.108 MB / 1.329 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00368/0.3783, allocations: 2.655 MB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.983e-05/0.3784, allocations: 3.938 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001175/0.3795, allocations: 0.5095 MB / 1.332 GB, free: 12.63 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001349/0.3797, allocations: 67.59 kB / 1.332 GB, free: 12.56 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008753/0.3806, allocations: 287.2 kB / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004329/0.381, allocations: 314.2 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001481/0.3811, allocations: 57.17 kB / 1.333 GB, free: 11.91 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001405/0.3813, allocations: 107.5 kB / 1.333 GB, free: 11.81 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002246/0.3815, allocations: 147.2 kB / 1.333 GB, free: 11.66 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.781e-05/0.3815, allocations: 8 kB / 1.333 GB, free: 11.66 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005813/0.3821, allocations: 359.5 kB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001345/0.3822, allocations: 115.5 kB / 1.333 GB, free: 11.19 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002093/0.3825, allocations: 210.5 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000979/0.3834, allocations: 0.8249 MB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.3834, allocations: 0 / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3834, allocations: 0 / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.3834, allocations: 0 / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001156/0.3846, allocations: 0.8314 MB / 1.335 GB, free: 9.285 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.3846, allocations: 8.031 kB / 1.335 GB, free: 9.277 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.574e-05/0.3847, allocations: 192 / 1.335 GB, free: 9.277 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.21e-05/0.3847, allocations: 42.75 kB / 1.335 GB, free: 9.227 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.253e-05/0.3848, allocations: 68.52 kB / 1.335 GB, free: 9.16 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005453/0.3853, allocations: 327.1 kB / 1.335 GB, free: 8.812 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.3854, allocations: 8.281 kB / 1.335 GB, free: 8.805 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/0.3854, allocations: 12.38 kB / 1.335 GB, free: 8.793 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002583/0.3856, allocations: 131 kB / 1.336 GB, free: 8.66 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.595e-06/0.3856, allocations: 4 kB / 1.336 GB, free: 8.656 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/0.3857, allocations: 8 kB / 1.336 GB, free: 8.648 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.3857, allocations: 0 / 1.336 GB, free: 8.648 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000171/0.3858, allocations: 99.88 kB / 1.336 GB, free: 8.551 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008273/0.3867, allocations: 0.5189 MB / 1.336 GB, free: 7.988 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001727/0.3868, allocations: 90.72 kB / 1.336 GB, free: 7.891 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.374e-05/0.3869, allocations: 60.91 kB / 1.336 GB, free: 7.828 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.033e-05/0.387, allocations: 7.984 kB / 1.336 GB, free: 7.82 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002087/0.3872, allocations: 129.1 kB / 1.336 GB, free: 7.676 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.152e-06/0.3872, allocations: 0 / 1.336 GB, free: 7.676 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0005255/0.3877, allocations: 314.8 kB / 1.337 GB, free: 7.355 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.968e-05/0.3878, allocations: 77.11 kB / 1.337 GB, free: 7.262 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009736/0.3887, allocations: 0.7935 MB / 1.338 GB, free: 6.461 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/0.3888, allocations: 33.7 kB / 1.338 GB, free: 6.422 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003374/0.3891, allocations: 288.2 kB / 1.338 GB, free: 6.137 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.811e-05/0.3892, allocations: 31.77 kB / 1.338 GB, free: 6.105 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.601e-05/0.3892, allocations: 25.72 kB / 1.338 GB, free: 6.074 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.3893, allocations: 314 kB / 1.338 GB, free: 5.762 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.783e-05/0.3894, allocations: 43.98 kB / 1.338 GB, free: 5.719 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.088e-05/0.3895, allocations: 51.97 kB / 1.338 GB, free: 5.668 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000186/0.3897, allocations: 160.1 kB / 1.339 GB, free: 5.496 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3897, allocations: 64 / 1.339 GB, free: 5.496 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004044/0.3901, allocations: 278.8 kB / 1.339 GB, free: 5.211 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.968e-05/0.3901, allocations: 41.69 kB / 1.339 GB, free: 5.164 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.3901, allocations: 0 / 1.339 GB, free: 5.164 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.3902, allocations: 0 / 1.339 GB, free: 5.164 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.523e-05/0.3902, allocations: 8 kB / 1.339 GB, free: 5.156 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.3902, allocations: 3.984 kB / 1.339 GB, free: 5.152 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.3904, allocations: 7.938 kB / 1.339 GB, free: 5.145 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.197e-05/0.3904, allocations: 4 kB / 1.339 GB, free: 5.141 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (booleanToInteger.y,greaterThreshold.y,speRat.nextEventScaled,speRat.nextEvent,$PRE.speRat.nextEvent,speRat.last,speRat.b,speRat.a,$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): 6 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0003722/0.3908, allocations: 353.1 kB / 1.339 GB, free: 4.781 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.354e-05/0.3908, allocations: 71.53 kB / 1.339 GB, free: 4.711 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004589/0.3913, allocations: 301.3 kB / 1.34 GB, free: 4.398 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.3913, allocations: 3.984 kB / 1.34 GB, free: 4.395 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.3913, allocations: 0 / 1.34 GB, free: 4.395 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.3913, allocations: 0 / 1.34 GB, free: 4.395 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004181/0.3917, allocations: 356.5 kB / 1.34 GB, free: 4.004 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3917, allocations: 0 / 1.34 GB, free: 4.004 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.699e-05/0.3918, allocations: 4 kB / 1.34 GB, free: 4 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3918, allocations: 0 / 1.34 GB, free: 4 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.3918, allocations: 11.94 kB / 1.34 GB, free: 3.988 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/0.3918, allocations: 7.938 kB / 1.34 GB, free: 3.98 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3918, allocations: 0 / 1.34 GB, free: 3.98 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003989/0.3922, allocations: 318.2 kB / 1.34 GB, free: 3.645 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001397/0.3923, allocations: 83.44 kB / 1.34 GB, free: 3.562 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.394e-05/0.3924, allocations: 4 kB / 1.34 GB, free: 3.559 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.985e-05/0.3925, allocations: 4 kB / 1.34 GB, free: 3.555 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.15e-05/0.3925, allocations: 7.984 kB / 1.34 GB, free: 3.547 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.3925, allocations: 8 kB / 1.34 GB, free: 3.539 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0007065/0.3933, allocations: 0.5887 MB / 1.341 GB, free: 2.957 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3933, allocations: 0 / 1.341 GB, free: 2.957 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004296/0.3937, allocations: 119.9 kB / 1.341 GB, free: 2.84 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled,greaterThreshold.y,booleanToInteger.y) * Number of discrete states: 6 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.001017/0.3947, allocations: 0.9375 MB / 1.342 GB, free: 1.867 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002958/0.395, allocations: 183.4 kB / 1.342 GB, free: 1.676 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.395, allocations: 0 / 1.342 GB, free: 1.676 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001372/0.3951, allocations: 123.3 kB / 1.342 GB, free: 1.543 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005496/0.3957, allocations: 128.5 kB / 1.342 GB, free: 1.414 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005947/0.4016, allocations: 4.664 MB / 1.347 GB, free: 12.65 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006823/0.4023, allocations: 0.9782 MB / 1.348 GB, free: 11.64 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001414/0.4025, allocations: 33.88 kB / 1.348 GB, free: 11.61 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002332/0.4027, allocations: 167.4 kB / 1.348 GB, free: 11.45 MB / 1.045 GB Notification: Performance of SimCode: time 9.32e-07/0.4027, allocations: 0 / 1.348 GB, free: 11.45 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03934/0.442, allocations: 12.27 MB / 1.36 GB, free: 15.45 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.49/12.93, allocations: 11 kB / 1.36 GB, free: 15.44 MB / 1.061 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift.fmu > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.83704565797234] Failed to read output from testmodel.py, exit status != 0: 13.09599302202696 13.124675956 12.735895709 Calling exit ...