Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001738/0.001738, 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.002201/0.002201, allocations: 219.8 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.39/1.39, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.94/2.94, allocations: 0.49 GB / 0.7959 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 177] 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.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_12_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.001903/0.001903, allocations: 70.67 kB / 1.155 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3073, allocations: 176.1 MB / 1.327 GB, free: 1.562 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003894/0.3112, allocations: 2.289 MB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002231/0.3134, allocations: 1.351 MB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001797/0.3136, allocations: 0 / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006392/0.3142, allocations: 183 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001951/0.3144, allocations: 83.28 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003852/0.3148, allocations: 131.7 kB / 1.331 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004411/0.3152, allocations: 338.7 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001978/0.3154, allocations: 33.14 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002898/0.3157, allocations: 139.5 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003094/0.316, allocations: 195.3 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.529e-05/0.3161, allocations: 32 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001634/0.3163, allocations: 75.95 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000138/0.3164, allocations: 119.6 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001655/0.3166, allocations: 139.3 kB / 1.332 GB, free: 12.46 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005835/0.3172, allocations: 0.4981 MB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3172, allocations: 0 / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.253e-06/0.3172, allocations: 0 / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.005e-05/0.3172, allocations: 3.938 kB / 1.332 GB, free: 11.95 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001375/0.3185, allocations: 0.6483 MB / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.3186, allocations: 16.03 kB / 1.333 GB, free: 11.26 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.564e-05/0.3186, allocations: 192 / 1.333 GB, free: 11.26 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.731e-05/0.3187, allocations: 50.73 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001123/0.3198, allocations: 184.4 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005119/0.3203, allocations: 304.7 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002034/0.3205, allocations: 194.9 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.254e-05/0.3205, allocations: 20.12 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007743/0.3213, allocations: 296 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.3213, allocations: 0 / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.156e-05/0.3214, allocations: 8 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.3214, allocations: 7.984 kB / 1.334 GB, free: 10.15 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/0.3225, allocations: 412.4 kB / 1.334 GB, free: 9.746 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001735/0.3242, allocations: 0.7527 MB / 1.335 GB, free: 8.945 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006705/0.3249, allocations: 254.4 kB / 1.335 GB, free: 8.688 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005269/0.3254, allocations: 212.7 kB / 1.335 GB, free: 8.477 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.04e-05/0.3254, allocations: 4 kB / 1.335 GB, free: 8.473 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/0.3255, allocations: 38.5 kB / 1.335 GB, free: 8.426 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.373e-06/0.3255, allocations: 0 / 1.335 GB, free: 8.426 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.001777/0.3273, allocations: 0.6514 MB / 1.336 GB, free: 7.77 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/0.3273, allocations: 51.41 kB / 1.336 GB, free: 7.707 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005814/0.3279, allocations: 429.6 kB / 1.336 GB, free: 7.277 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.064e-05/0.3279, allocations: 25.7 kB / 1.336 GB, free: 7.246 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001697/0.3281, allocations: 184 kB / 1.337 GB, free: 7.062 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.117e-05/0.3282, allocations: 63.47 kB / 1.337 GB, free: 7 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001328/0.3283, allocations: 41.69 kB / 1.337 GB, free: 6.953 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001957/0.3285, allocations: 354.8 kB / 1.337 GB, free: 6.598 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005266/0.329, allocations: 187.9 kB / 1.337 GB, free: 6.414 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006588/0.3297, allocations: 318.4 kB / 1.338 GB, free: 6.074 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009911/0.3307, allocations: 364.6 kB / 1.338 GB, free: 5.715 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3307, allocations: 4 kB / 1.338 GB, free: 5.711 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001162/0.3319, allocations: 466.6 kB / 1.338 GB, free: 5.25 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.3319, allocations: 8 kB / 1.338 GB, free: 5.242 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.3319, allocations: 0 / 1.338 GB, free: 5.242 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.3319, allocations: 3.938 kB / 1.338 GB, free: 5.238 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004401/0.3323, allocations: 63.86 kB / 1.338 GB, free: 5.176 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.3323, allocations: 4 kB / 1.338 GB, free: 5.172 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003255/0.3327, allocations: 47.83 kB / 1.338 GB, free: 5.125 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.931e-05/0.3327, allocations: 4 kB / 1.338 GB, free: 5.121 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: 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.000193/0.3329, allocations: 165.8 kB / 1.339 GB, free: 4.949 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.991e-05/0.333, allocations: 35.77 kB / 1.339 GB, free: 4.914 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.221e-05/0.333, allocations: 39.53 kB / 1.339 GB, free: 4.879 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.333, allocations: 7.938 kB / 1.339 GB, free: 4.871 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.333, allocations: 0 / 1.339 GB, free: 4.871 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.3331, allocations: 3.984 kB / 1.339 GB, free: 4.867 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005328/0.3336, allocations: 374.2 kB / 1.339 GB, free: 4.461 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.3336, allocations: 0 / 1.339 GB, free: 4.461 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004162/0.334, allocations: 67.8 kB / 1.339 GB, free: 4.395 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.334, allocations: 0 / 1.339 GB, free: 4.395 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.535e-05/0.334, allocations: 11.98 kB / 1.339 GB, free: 4.383 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.334, allocations: 3.938 kB / 1.339 GB, free: 4.379 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.334, allocations: 0 / 1.339 GB, free: 4.379 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001197/0.3352, allocations: 0.5508 MB / 1.34 GB, free: 3.812 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.988e-05/0.3353, allocations: 51.69 kB / 1.34 GB, free: 3.762 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.927e-05/0.3354, allocations: 4 kB / 1.34 GB, free: 3.758 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003309/0.3357, allocations: 35.89 kB / 1.34 GB, free: 3.723 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.3358, allocations: 27.95 kB / 1.34 GB, free: 3.695 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.808e-05/0.3358, allocations: 8 kB / 1.34 GB, free: 3.688 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003437/0.3362, allocations: 311.1 kB / 1.34 GB, free: 3.383 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3362, allocations: 0 / 1.34 GB, free: 3.383 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003258/0.3365, allocations: 60 kB / 1.34 GB, free: 3.324 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: 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.001541/0.338, allocations: 1.112 MB / 1.341 GB, free: 2.184 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001104/0.3392, allocations: 421.7 kB / 1.342 GB, free: 1.773 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3392, allocations: 0 / 1.342 GB, free: 1.773 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005539/0.3397, allocations: 215.8 kB / 1.342 GB, free: 1.562 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004134/0.3401, allocations: 61.33 kB / 1.342 GB, free: 1.504 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006796/0.3469, allocations: 4.153 MB / 1.346 GB, free: 13.27 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001937/0.3471, allocations: 187.4 kB / 1.346 GB, free: 13.06 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002776/0.3474, allocations: 58.27 kB / 1.346 GB, free: 13.01 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002543/0.3476, allocations: 111.4 kB / 1.346 GB, free: 12.9 MB / 1.045 GB Notification: Performance of SimCode: time 7.11e-07/0.3476, allocations: 0 / 1.346 GB, free: 12.9 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03067/0.3783, allocations: 8.572 MB / 1.355 GB, free: 4.582 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.62, allocations: 5.891 kB / 1.355 GB, free: 4.578 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible_fmu --startTime=0 --stopTime=2600 --stepSize=1.04 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.fmu > Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 17.78114238800481] Failed to read output from testmodel.py, exit status != 0: 11.781254126923159 11.79706158 11.476834321 Calling exit ...