Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.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.001446/0.001446, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001605/0.001605, allocations: 219.7 kB / 23.03 MB, free: 4.945 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.354/1.354, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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 2.92/2.92, allocations: 0.5003 GB / 0.8062 GB, free: 28.34 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/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.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",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.001833/0.001833, allocations: 70 kB / 1.17 GB, free: 19.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2933/0.2951, allocations: 179 MB / 1.345 GB, free: 8 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003667/0.2988, allocations: 2.291 MB / 1.348 GB, free: 13.7 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002145/0.3009, allocations: 1.339 MB / 1.349 GB, free: 12.35 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001482/0.3011, allocations: 7.938 kB / 1.349 GB, free: 12.34 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0005588/0.3016, allocations: 186.9 kB / 1.349 GB, free: 12.16 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001554/0.3018, allocations: 71.34 kB / 1.349 GB, free: 12.09 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003614/0.3021, allocations: 135.7 kB / 1.349 GB, free: 11.96 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004017/0.3025, allocations: 334.7 kB / 1.35 GB, free: 11.63 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.3027, allocations: 33.14 kB / 1.35 GB, free: 11.59 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002626/0.3029, allocations: 147.5 kB / 1.35 GB, free: 11.45 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002871/0.3032, allocations: 191.3 kB / 1.35 GB, free: 11.26 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 6.155e-05/0.3033, allocations: 32 kB / 1.35 GB, free: 11.23 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001521/0.3034, allocations: 79.95 kB / 1.35 GB, free: 11.15 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001317/0.3036, allocations: 115.7 kB / 1.35 GB, free: 11.04 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001523/0.3037, allocations: 139.2 kB / 1.35 GB, free: 10.9 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005433/0.3042, allocations: 0.502 MB / 1.351 GB, free: 10.4 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.3043, allocations: 0 / 1.351 GB, free: 10.4 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.253e-06/0.3043, allocations: 0 / 1.351 GB, free: 10.4 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.197e-06/0.3043, allocations: 0 / 1.351 GB, free: 10.4 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001249/0.3055, allocations: 0.6522 MB / 1.351 GB, free: 9.715 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.3055, allocations: 8.031 kB / 1.351 GB, free: 9.707 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.395e-05/0.3056, allocations: 4.188 kB / 1.351 GB, free: 9.703 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.32e-05/0.3056, allocations: 46.75 kB / 1.351 GB, free: 9.648 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001089/0.3067, allocations: 176.5 kB / 1.352 GB, free: 9.477 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004544/0.3072, allocations: 308.6 kB / 1.352 GB, free: 9.152 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001706/0.3073, allocations: 199 kB / 1.352 GB, free: 8.922 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.921e-05/0.3074, allocations: 20.12 kB / 1.352 GB, free: 8.902 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007174/0.3081, allocations: 291.3 kB / 1.352 GB, free: 8.613 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.3081, allocations: 3.984 kB / 1.352 GB, free: 8.609 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.936e-05/0.3081, allocations: 4 kB / 1.352 GB, free: 8.605 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.3081, allocations: 4 kB / 1.352 GB, free: 8.602 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001084/0.3092, allocations: 424.2 kB / 1.353 GB, free: 8.188 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00154/0.3108, allocations: 0.7601 MB / 1.354 GB, free: 7.379 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006358/0.3114, allocations: 258.4 kB / 1.354 GB, free: 7.117 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005124/0.3119, allocations: 204.7 kB / 1.354 GB, free: 6.914 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.226e-05/0.312, allocations: 4 kB / 1.354 GB, free: 6.91 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.312, allocations: 30.56 kB / 1.354 GB, free: 6.871 MB / 1.045 GB Notification: Performance of pre-optimization done (n=18): time 1.402e-06/0.312, allocations: 0 / 1.354 GB, free: 6.871 MB / 1.045 GB Notification: Performance of matching and sorting (n=18): time 0.001737/0.3137, allocations: 0.6595 MB / 1.355 GB, free: 6.207 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.3138, allocations: 59.41 kB / 1.355 GB, free: 6.137 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000463/0.3142, allocations: 425.6 kB / 1.355 GB, free: 5.715 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.061e-05/0.3143, allocations: 33.7 kB / 1.355 GB, free: 5.676 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.3144, allocations: 180 kB / 1.355 GB, free: 5.496 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 7.187e-05/0.3145, allocations: 67.42 kB / 1.355 GB, free: 5.43 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/0.3146, allocations: 37.69 kB / 1.355 GB, free: 5.387 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.3147, allocations: 354.7 kB / 1.356 GB, free: 5.031 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005133/0.3153, allocations: 195.9 kB / 1.356 GB, free: 4.84 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005772/0.3158, allocations: 312.3 kB / 1.356 GB, free: 4.504 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009655/0.3168, allocations: 370 kB / 1.357 GB, free: 4.141 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3168, allocations: 0 / 1.357 GB, free: 4.141 MB / 1.045 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001121/0.3179, allocations: 470.3 kB / 1.357 GB, free: 3.676 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.3179, allocations: 4 kB / 1.357 GB, free: 3.672 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.3179, allocations: 0 / 1.357 GB, free: 3.672 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.318, allocations: 3.938 kB / 1.357 GB, free: 3.668 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00045/0.3184, allocations: 63.92 kB / 1.357 GB, free: 3.605 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.3184, allocations: 0 / 1.357 GB, free: 3.605 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003154/0.3187, allocations: 39.84 kB / 1.357 GB, free: 3.566 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.958e-05/0.3188, allocations: 11.98 kB / 1.357 GB, free: 3.555 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 0.0001923/0.319, allocations: 169.8 kB / 1.357 GB, free: 3.379 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.633e-05/0.319, allocations: 35.77 kB / 1.357 GB, free: 3.344 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.155e-05/0.3191, allocations: 39.53 kB / 1.357 GB, free: 3.305 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.3191, allocations: 7.938 kB / 1.357 GB, free: 3.297 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3191, allocations: 0 / 1.357 GB, free: 3.297 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3191, allocations: 0 / 1.357 GB, free: 3.297 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005042/0.3196, allocations: 374.2 kB / 1.358 GB, free: 2.891 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.3196, allocations: 4 kB / 1.358 GB, free: 2.887 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004058/0.32, allocations: 63.92 kB / 1.358 GB, free: 2.824 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/0.32, allocations: 4 kB / 1.358 GB, free: 2.82 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.986e-05/0.3201, allocations: 7.922 kB / 1.358 GB, free: 2.812 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.3201, allocations: 3.938 kB / 1.358 GB, free: 2.809 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3201, allocations: 0 / 1.358 GB, free: 2.809 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001195/0.3213, allocations: 0.559 MB / 1.358 GB, free: 2.234 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.698e-05/0.3213, allocations: 39.75 kB / 1.358 GB, free: 2.195 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.222e-05/0.3214, allocations: 4 kB / 1.358 GB, free: 2.191 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003241/0.3217, allocations: 35.89 kB / 1.358 GB, free: 2.156 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.98e-05/0.3218, allocations: 27.95 kB / 1.358 GB, free: 2.129 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.567e-05/0.3219, allocations: 4 kB / 1.358 GB, free: 2.125 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0003328/0.3222, allocations: 311.1 kB / 1.359 GB, free: 1.824 MB / 1.045 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3222, allocations: 0 / 1.359 GB, free: 1.824 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003235/0.3225, allocations: 71.95 kB / 1.359 GB, free: 1.754 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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 Backend phase and start with SimCode phase: time 0.001471/0.324, allocations: 1.092 MB / 1.36 GB, free: 0.6328 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001099/0.3251, allocations: 423.6 kB / 1.36 GB, free: 224 kB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3251, allocations: 0 / 1.36 GB, free: 224 kB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0005364/0.3256, allocations: 222 kB / 1.361 GB, free: 4 kB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004176/0.326, allocations: 61.45 kB / 1.361 GB, free: 15.94 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006613/0.3327, allocations: 4.148 MB / 1.365 GB, free: 11.71 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001897/0.3328, allocations: 191.4 kB / 1.365 GB, free: 11.5 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002605/0.3331, allocations: 58.27 kB / 1.365 GB, free: 11.45 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002418/0.3333, allocations: 107.4 kB / 1.365 GB, free: 11.35 MB / 1.061 GB Notification: Performance of SimCode: time 3.9e-07/0.3333, allocations: 0 / 1.365 GB, free: 11.35 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03018/0.3635, allocations: 8.586 MB / 1.373 GB, free: 2.988 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11.08, allocations: 8 kB / 1.373 GB, free: 2.98 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible_fmu --startTime=0 --stopTime=2600 --stepSize=1.04 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 17.14565796800889] Failed to read output from testmodel.py, exit status != 0: 11.247214058996178 11.26172275 10.954702545 Calling exit ...