Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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.001718/0.001718, allocations: 116.8 kB / 17.17 MB, free: 6 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.002065/0.002065, allocations: 214.3 kB / 20.13 MB, free: 3.055 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.351/1.351, allocations: 230.6 MB / 253.5 MB, free: 15.07 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.74/2.74, allocations: 0.5003 GB / 0.8026 GB, free: 6.75 MB / 0.6387 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.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",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: 71.89 kB / 1.165 GB, free: 0.5273 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7494/0.7513, allocations: 178.9 MB / 1.34 GB, free: 16.31 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1895/0.9408, allocations: 174.6 MB / 1.511 GB, free: 9.613 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.006514/0.9473, allocations: 4.316 MB / 1.515 GB, free: 5.289 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007347/0.9481, allocations: 31.75 kB / 1.515 GB, free: 5.258 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001111/0.9492, allocations: 369.9 kB / 1.515 GB, free: 4.895 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003015/0.9522, allocations: 1.258 MB / 1.516 GB, free: 3.633 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002/0.9542, allocations: 0.8052 MB / 1.517 GB, free: 2.832 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002254/0.9564, allocations: 1.699 MB / 1.519 GB, free: 1.129 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007921/0.9572, allocations: 499.6 kB / 1.519 GB, free: 0.6445 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001456/0.9587, allocations: 0.7824 MB / 1.52 GB, free: 15.86 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001301/0.96, allocations: 0.579 MB / 1.521 GB, free: 15.28 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001539/0.9601, allocations: 64 kB / 1.521 GB, free: 15.22 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001612/0.9617, allocations: 0.8418 MB / 1.522 GB, free: 14.38 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003712/0.9621, allocations: 279.2 kB / 1.522 GB, free: 14.1 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0006043/0.9627, allocations: 406.3 kB / 1.522 GB, free: 13.7 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002233/0.965, allocations: 1.277 MB / 1.523 GB, free: 12.42 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.965, allocations: 0 / 1.523 GB, free: 12.42 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.292e-06/0.965, allocations: 4 kB / 1.523 GB, free: 12.42 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.566e-05/0.965, allocations: 0 / 1.523 GB, free: 12.42 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.002179/0.9672, allocations: 1.055 MB / 1.524 GB, free: 11.31 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.9672, allocations: 12.03 kB / 1.525 GB, free: 11.3 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.923e-05/0.9672, allocations: 13.31 kB / 1.525 GB, free: 11.29 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001382/0.9674, allocations: 94.52 kB / 1.525 GB, free: 11.18 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001097/0.9685, allocations: 171.4 kB / 1.525 GB, free: 11.02 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009168/0.9694, allocations: 0.5409 MB / 1.525 GB, free: 10.44 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.994e-05/0.9694, allocations: 45.31 kB / 1.525 GB, free: 10.39 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.673e-05/0.9695, allocations: 51.94 kB / 1.525 GB, free: 10.34 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001123/0.9706, allocations: 0.6479 MB / 1.526 GB, free: 9.676 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.9706, allocations: 4 kB / 1.526 GB, free: 9.672 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.319e-05/0.9707, allocations: 24 kB / 1.526 GB, free: 9.648 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-05/0.9707, allocations: 29.3 kB / 1.526 GB, free: 9.621 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009429/0.9717, allocations: 0.5087 MB / 1.527 GB, free: 9.113 MB / 1.201 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003468/0.9752, allocations: 2.298 MB / 1.529 GB, free: 6.648 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005253/0.9757, allocations: 250.8 kB / 1.529 GB, free: 6.395 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000247/0.9759, allocations: 128.7 kB / 1.529 GB, free: 6.266 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 2.798e-05/0.976, allocations: 4 kB / 1.529 GB, free: 6.262 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.976, allocations: 38.56 kB / 1.529 GB, free: 6.215 MB / 1.201 GB Notification: Performance of pre-optimization done (n=20): time 1.724e-06/0.976, allocations: 0 / 1.529 GB, free: 6.215 MB / 1.201 GB Notification: Performance of matching and sorting (n=20): time 0.001743/0.9777, allocations: 0.6627 MB / 1.53 GB, free: 5.504 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.507e-05/0.9778, allocations: 85.11 kB / 1.53 GB, free: 5.402 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006965/0.9785, allocations: 0.5574 MB / 1.53 GB, free: 4.836 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 4.594e-05/0.9785, allocations: 37.69 kB / 1.531 GB, free: 4.793 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.000261/0.9788, allocations: 339.8 kB / 1.531 GB, free: 4.453 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 7.757e-05/0.9789, allocations: 71.39 kB / 1.531 GB, free: 4.383 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/0.979, allocations: 73.97 kB / 1.531 GB, free: 4.305 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.9792, allocations: 358.7 kB / 1.531 GB, free: 3.945 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002663/0.9794, allocations: 128.6 kB / 1.531 GB, free: 3.82 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003299/0.9798, allocations: 218.6 kB / 1.532 GB, free: 3.574 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005539/0.9803, allocations: 344.8 kB / 1.532 GB, free: 3.207 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.9803, allocations: 4 kB / 1.532 GB, free: 3.203 MB / 1.201 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009462/0.9813, allocations: 494.7 kB / 1.532 GB, free: 2.707 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.9813, allocations: 8.281 kB / 1.532 GB, free: 2.699 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.9813, allocations: 4 kB / 1.532 GB, free: 2.695 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003107/0.9816, allocations: 93.59 kB / 1.533 GB, free: 2.598 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000335/0.9819, allocations: 75.89 kB / 1.533 GB, free: 2.523 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003189/0.9851, allocations: 3.333 MB / 1.536 GB, free: 14.91 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005122/0.9856, allocations: 55.67 kB / 1.536 GB, free: 14.86 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.478e-05/0.9857, allocations: 15.94 kB / 1.536 GB, free: 14.84 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002905/0.986, allocations: 219.4 kB / 1.536 GB, free: 14.62 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.9861, allocations: 55.67 kB / 1.536 GB, free: 14.56 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.908e-05/0.9862, allocations: 56.5 kB / 1.536 GB, free: 14.51 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.9862, allocations: 7.938 kB / 1.536 GB, free: 14.5 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.9862, allocations: 0 / 1.536 GB, free: 14.5 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007499/0.9869, allocations: 0.5323 MB / 1.537 GB, free: 13.9 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001297/0.9882, allocations: 0.908 MB / 1.538 GB, free: 12.93 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.9882, allocations: 8 kB / 1.538 GB, free: 12.92 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002169/0.9884, allocations: 39.97 kB / 1.538 GB, free: 12.88 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002074/0.9886, allocations: 68.8 kB / 1.538 GB, free: 12.81 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.9887, allocations: 4 kB / 1.538 GB, free: 12.8 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001763/0.9904, allocations: 1.836 MB / 1.54 GB, free: 10.82 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.9904, allocations: 0 / 1.54 GB, free: 10.82 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006653/0.9911, allocations: 440.2 kB / 1.54 GB, free: 10.37 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002356/0.9913, allocations: 176.6 kB / 1.54 GB, free: 10.18 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.119e-05/0.9914, allocations: 4 kB / 1.54 GB, free: 10.18 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004294/0.9918, allocations: 23.98 kB / 1.54 GB, free: 10.15 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.769e-05/0.9919, allocations: 15.97 kB / 1.54 GB, free: 10.14 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.099e-05/0.9919, allocations: 15.98 kB / 1.54 GB, free: 10.12 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0004648/0.9924, allocations: 398.8 kB / 1.541 GB, free: 9.734 MB / 1.217 GB Notification: Performance of sort global known variables: time 1e-07/0.9924, allocations: 0 / 1.541 GB, free: 9.734 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0006191/0.993, allocations: 203.7 kB / 1.541 GB, free: 9.535 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001099/0.9941, allocations: 1.029 MB / 1.542 GB, free: 8.473 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0009026/0.995, allocations: 0.5166 MB / 1.542 GB, free: 7.93 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.995, allocations: 4 kB / 1.542 GB, free: 7.926 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0003634/0.9954, allocations: 236.4 kB / 1.543 GB, free: 7.684 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001655/0.997, allocations: 381.6 kB / 1.543 GB, free: 7.312 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006335/1.003, allocations: 4.47 MB / 1.547 GB, free: 2.691 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005568/1.004, allocations: 0.9054 MB / 1.548 GB, free: 1.758 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.000422/1.004, allocations: 116.8 kB / 1.548 GB, free: 1.645 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002612/1.005, allocations: 195.4 kB / 1.548 GB, free: 1.453 MB / 1.217 GB Notification: Performance of SimCode: time 6.21e-07/1.005, allocations: 0 / 1.548 GB, free: 1.453 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04629/1.051, allocations: 17.93 MB / 1.566 GB, free: 15.9 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.08/13.14, allocations: 20.23 kB / 1.566 GB, free: 15.89 MB / 1.248 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.954964586999267] Failed to read output from testmodel.py, exit status != 0: 13.286490734026302 13.300088691 12.332207648 Calling exit ...