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.001529/0.001529, allocations: 101.9 kB / 19.73 MB, free: 2.105 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.001738/0.001738, allocations: 217.8 kB / 23.03 MB, free: 4.914 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.477/1.477, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.35/3.35, allocations: 0.49 GB / 0.7959 GB, free: 35.39 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.001984/0.001984, allocations: 61.53 kB / 1.155 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.352/0.354, allocations: 176.1 MB / 1.327 GB, free: 1.496 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.004147/0.3582, allocations: 2.176 MB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001674/0.3598, allocations: 0.8777 MB / 1.33 GB, free: 14.44 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001816/0.36, allocations: 4 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006588/0.3607, allocations: 174.9 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000215/0.3609, allocations: 71.44 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004886/0.3614, allocations: 115.7 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003825/0.3618, allocations: 227 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002218/0.362, allocations: 65.98 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001664/0.3622, allocations: 91.58 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001788/0.3623, allocations: 103.4 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.474e-05/0.3624, allocations: 16 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003955/0.3628, allocations: 151.8 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002337/0.363, allocations: 211.4 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002344/0.3632, allocations: 194.5 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009494/0.3642, allocations: 0.7309 MB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.3642, allocations: 4 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.064e-06/0.3642, allocations: 0 / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.856e-05/0.3642, allocations: 0 / 1.332 GB, free: 12.29 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.001591/0.3658, allocations: 0.928 MB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.3659, allocations: 12.03 kB / 1.333 GB, free: 11.31 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.461e-05/0.3659, allocations: 192 / 1.333 GB, free: 11.31 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.139e-05/0.366, allocations: 50.73 kB / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006064/0.3666, allocations: 128.3 kB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000893/0.3674, allocations: 0.5454 MB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.3675, allocations: 12.38 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.535e-05/0.3675, allocations: 8.375 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004514/0.3679, allocations: 205.9 kB / 1.334 GB, free: 10.33 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.368, allocations: 3.938 kB / 1.334 GB, free: 10.32 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.368, allocations: 4 kB / 1.334 GB, free: 10.32 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.368, allocations: 4 kB / 1.334 GB, free: 10.32 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004722/0.3685, allocations: 223.9 kB / 1.334 GB, free: 10.1 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00142/0.3699, allocations: 0.8117 MB / 1.335 GB, free: 9.242 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007154/0.3706, allocations: 318.5 kB / 1.335 GB, free: 8.922 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000219/0.3708, allocations: 104.8 kB / 1.335 GB, free: 8.816 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007151/0.3715, allocations: 155.9 kB / 1.335 GB, free: 8.664 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.168e-05/0.3716, allocations: 38.56 kB / 1.335 GB, free: 8.617 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 2.034e-06/0.3716, allocations: 0 / 1.335 GB, free: 8.617 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0009728/0.3725, allocations: 401 kB / 1.336 GB, free: 8.219 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/0.3726, allocations: 55.41 kB / 1.336 GB, free: 8.152 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001635/0.3742, allocations: 0.9974 MB / 1.337 GB, free: 7.148 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.693e-05/0.3743, allocations: 29.7 kB / 1.337 GB, free: 7.113 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003725/0.3746, allocations: 348.1 kB / 1.337 GB, free: 6.766 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.455e-05/0.3747, allocations: 31.7 kB / 1.337 GB, free: 6.734 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.424e-05/0.3748, allocations: 25.7 kB / 1.337 GB, free: 6.703 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.3749, allocations: 310 kB / 1.337 GB, free: 6.395 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002441/0.3752, allocations: 99.94 kB / 1.337 GB, free: 6.297 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002448/0.3754, allocations: 126.4 kB / 1.337 GB, free: 6.164 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004399/0.3758, allocations: 218.5 kB / 1.338 GB, free: 5.941 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.3759, allocations: 7.938 kB / 1.338 GB, free: 5.934 MB / 1.029 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007588/0.3766, allocations: 320.9 kB / 1.338 GB, free: 5.613 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.096e-05/0.3766, allocations: 8.453 kB / 1.338 GB, free: 5.605 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.3767, allocations: 4 kB / 1.338 GB, free: 5.602 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.3767, allocations: 0 / 1.338 GB, free: 5.602 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001878/0.3769, allocations: 28.05 kB / 1.338 GB, free: 5.574 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.3769, allocations: 0 / 1.338 GB, free: 5.574 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002299/0.3771, allocations: 11.92 kB / 1.338 GB, free: 5.562 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.99e-05/0.3771, allocations: 8 kB / 1.338 GB, free: 5.555 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.0003525/0.3775, allocations: 250.2 kB / 1.338 GB, free: 5.301 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001445/0.3776, allocations: 75.48 kB / 1.338 GB, free: 5.227 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007238/0.3783, allocations: 332.4 kB / 1.339 GB, free: 4.895 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.3783, allocations: 4 kB / 1.339 GB, free: 4.891 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3783, allocations: 0 / 1.339 GB, free: 4.891 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3784, allocations: 0 / 1.339 GB, free: 4.891 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006585/0.379, allocations: 468.3 kB / 1.339 GB, free: 4.391 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.379, allocations: 4 kB / 1.339 GB, free: 4.387 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001611/0.3792, allocations: 19.98 kB / 1.339 GB, free: 4.367 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.3792, allocations: 0 / 1.339 GB, free: 4.367 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.3792, allocations: 3.984 kB / 1.339 GB, free: 4.363 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.3792, allocations: 0 / 1.339 GB, free: 4.363 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.3792, allocations: 7.984 kB / 1.339 GB, free: 4.355 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006442/0.3799, allocations: 414.8 kB / 1.34 GB, free: 3.934 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002275/0.3801, allocations: 99.45 kB / 1.34 GB, free: 3.836 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.236e-05/0.3801, allocations: 4 kB / 1.34 GB, free: 3.832 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001968/0.3803, allocations: 11.98 kB / 1.34 GB, free: 3.82 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.226e-05/0.3804, allocations: 7.984 kB / 1.34 GB, free: 3.812 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.3804, allocations: 4 kB / 1.34 GB, free: 3.809 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001109/0.3815, allocations: 0.7176 MB / 1.34 GB, free: 3.094 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3815, allocations: 0 / 1.34 GB, free: 3.094 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004511/0.382, allocations: 67.94 kB / 1.34 GB, free: 3.027 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.001149/0.3831, allocations: 0.9657 MB / 1.341 GB, free: 2.031 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005211/0.3836, allocations: 211.8 kB / 1.342 GB, free: 1.824 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3836, allocations: 0 / 1.342 GB, free: 1.824 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002178/0.3839, allocations: 112 kB / 1.342 GB, free: 1.715 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005272/0.3844, allocations: 49.03 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.009817/0.3942, allocations: 6.381 MB / 1.348 GB, free: 11.19 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004466/0.3946, allocations: 346.9 kB / 1.348 GB, free: 10.83 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002664/0.3949, allocations: 81.31 kB / 1.348 GB, free: 10.75 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003517/0.3953, allocations: 215.4 kB / 1.349 GB, free: 10.54 MB / 1.045 GB Notification: Performance of SimCode: time 1.213e-06/0.3953, allocations: 0 / 1.349 GB, free: 10.54 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04529/0.4406, allocations: 12.22 MB / 1.361 GB, free: 14.58 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.88/13.32, allocations: 8.047 kB / 1.361 GB, free: 14.57 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: 20.254630338051356] Failed to read output from testmodel.py, exit status != 0: 13.48545913293492 13.501389317 13.133512464 Calling exit ...