Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.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.001539/0.001539, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002081/0.002081, allocations: 212.8 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.495/1.495, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.215/3.215, 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.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",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.001949/0.001949, allocations: 66.25 kB / 1.155 GB, free: 25.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3697/0.3717, allocations: 176.1 MB / 1.327 GB, free: 1.918 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.00434/0.376, allocations: 2.3 MB / 1.329 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002248/0.3783, allocations: 0.9672 MB / 1.33 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002432/0.3785, allocations: 4 kB / 1.33 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007256/0.3792, allocations: 190.8 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002898/0.3795, allocations: 75.48 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004857/0.38, allocations: 115.7 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003906/0.3804, allocations: 219.1 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002058/0.3806, allocations: 61.98 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001936/0.3808, allocations: 95.52 kB / 1.331 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001696/0.381, allocations: 107.4 kB / 1.331 GB, free: 13.78 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.05e-05/0.381, allocations: 16 kB / 1.331 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003528/0.3814, allocations: 155.8 kB / 1.331 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002237/0.3816, allocations: 219.2 kB / 1.331 GB, free: 13.4 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002663/0.3819, allocations: 266 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009737/0.3828, allocations: 0.7309 MB / 1.332 GB, free: 12.4 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3828, allocations: 0 / 1.332 GB, free: 12.4 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3828, allocations: 0 / 1.332 GB, free: 12.4 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.508e-05/0.3829, allocations: 0 / 1.332 GB, free: 12.4 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.00166/0.3845, allocations: 0.9187 MB / 1.333 GB, free: 11.45 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.3846, allocations: 8.031 kB / 1.333 GB, free: 11.44 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.247e-05/0.3846, allocations: 12.19 kB / 1.333 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.981e-05/0.3847, allocations: 42.73 kB / 1.333 GB, free: 11.38 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005745/0.3852, allocations: 124.3 kB / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008441/0.3861, allocations: 0.5455 MB / 1.334 GB, free: 10.68 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.3861, allocations: 8.375 kB / 1.334 GB, free: 10.67 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/0.3861, allocations: 12.38 kB / 1.334 GB, free: 10.66 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004099/0.3865, allocations: 197.9 kB / 1.334 GB, free: 10.46 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.3865, allocations: 0 / 1.334 GB, free: 10.46 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.874e-05/0.3866, allocations: 4 kB / 1.334 GB, free: 10.46 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.3866, allocations: 4 kB / 1.334 GB, free: 10.45 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004983/0.3871, allocations: 231.8 kB / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001355/0.3884, allocations: 0.8935 MB / 1.335 GB, free: 9.289 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007035/0.3891, allocations: 314.5 kB / 1.335 GB, free: 8.973 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002184/0.3893, allocations: 96.86 kB / 1.335 GB, free: 8.875 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008084/0.3901, allocations: 159.9 kB / 1.335 GB, free: 8.719 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.737e-05/0.3902, allocations: 42.48 kB / 1.336 GB, free: 8.668 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.372e-06/0.3902, allocations: 0 / 1.336 GB, free: 8.668 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0008984/0.3911, allocations: 405 kB / 1.336 GB, free: 8.266 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/0.3911, allocations: 51.41 kB / 1.336 GB, free: 8.203 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001373/0.3925, allocations: 0.9935 MB / 1.337 GB, free: 7.203 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.959e-05/0.3925, allocations: 33.7 kB / 1.337 GB, free: 7.164 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004336/0.393, allocations: 344.1 kB / 1.337 GB, free: 6.82 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.882e-05/0.393, allocations: 40.06 kB / 1.337 GB, free: 6.781 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.212e-05/0.3931, allocations: 21.72 kB / 1.337 GB, free: 6.754 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001737/0.3932, allocations: 318 kB / 1.338 GB, free: 6.438 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002858/0.3935, allocations: 95.95 kB / 1.338 GB, free: 6.344 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000233/0.3938, allocations: 118.5 kB / 1.338 GB, free: 6.219 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004387/0.3942, allocations: 218.4 kB / 1.338 GB, free: 5.996 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.237e-06/0.3942, allocations: 4 kB / 1.338 GB, free: 5.992 MB / 1.029 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000644/0.3948, allocations: 325 kB / 1.338 GB, free: 5.668 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.3949, allocations: 6.031 kB / 1.338 GB, free: 5.664 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.3949, allocations: 7.938 kB / 1.338 GB, free: 5.656 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.3949, allocations: 0 / 1.338 GB, free: 5.656 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001741/0.3951, allocations: 28.05 kB / 1.338 GB, free: 5.629 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.3951, allocations: 0 / 1.338 GB, free: 5.629 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001665/0.3952, allocations: 11.92 kB / 1.338 GB, free: 5.617 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.3953, allocations: 4 kB / 1.338 GB, free: 5.613 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0002963/0.3956, allocations: 256.4 kB / 1.339 GB, free: 5.355 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.3957, allocations: 75.48 kB / 1.339 GB, free: 5.281 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007036/0.3964, allocations: 332.4 kB / 1.339 GB, free: 4.949 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.3964, allocations: 4 kB / 1.339 GB, free: 4.945 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.3964, allocations: 0 / 1.339 GB, free: 4.945 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.3964, allocations: 3.984 kB / 1.339 GB, free: 4.941 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006741/0.3971, allocations: 0.5118 MB / 1.34 GB, free: 4.387 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.3971, allocations: 0 / 1.34 GB, free: 4.387 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001566/0.3972, allocations: 23.92 kB / 1.34 GB, free: 4.363 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.3972, allocations: 192 / 1.34 GB, free: 4.363 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.3972, allocations: 0 / 1.34 GB, free: 4.363 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.3972, allocations: 11.92 kB / 1.34 GB, free: 4.352 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.3972, allocations: 0 / 1.34 GB, free: 4.352 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006275/0.3979, allocations: 406.8 kB / 1.34 GB, free: 3.938 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002526/0.3981, allocations: 115.4 kB / 1.34 GB, free: 3.824 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.433e-05/0.3982, allocations: 4 kB / 1.34 GB, free: 3.82 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001781/0.3984, allocations: 7.984 kB / 1.34 GB, free: 3.812 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.281e-05/0.3984, allocations: 7.984 kB / 1.34 GB, free: 3.805 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.3984, allocations: 0 / 1.34 GB, free: 3.805 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0009875/0.3994, allocations: 0.7176 MB / 1.341 GB, free: 3.09 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3994, allocations: 0 / 1.341 GB, free: 3.09 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004021/0.3998, allocations: 71.92 kB / 1.341 GB, free: 3.02 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.00113/0.4009, allocations: 0.95 MB / 1.342 GB, free: 2.039 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005872/0.4015, allocations: 215.8 kB / 1.342 GB, free: 1.828 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4015, allocations: 0 / 1.342 GB, free: 1.828 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002857/0.4018, allocations: 103.9 kB / 1.342 GB, free: 1.727 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004865/0.4023, allocations: 61.3 kB / 1.342 GB, free: 1.672 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01024/0.4125, allocations: 6.393 MB / 1.348 GB, free: 11.17 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007762/0.4133, allocations: 0.9479 MB / 1.349 GB, free: 10.2 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.000238/0.4136, allocations: 77.33 kB / 1.349 GB, free: 10.12 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003296/0.4139, allocations: 215.4 kB / 1.35 GB, free: 9.91 MB / 1.045 GB Notification: Performance of SimCode: time 9.62e-07/0.4139, allocations: 0 / 1.35 GB, free: 9.91 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0432/0.4571, allocations: 12 MB / 1.361 GB, free: 14.09 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.58/13.03, allocations: 15.7 kB / 1.361 GB, free: 14.08 MB / 1.061 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal_fmu --startTime=0 --stopTime=1500 --stepSize=0.6 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.fmu > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.858982539968565] Failed to read output from testmodel.py, exit status != 0: 13.206603424972855 13.235957062 12.847743357 Calling exit ...