Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 208.4 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.283/1.283, allocations: 222.9 MB / 240.5 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6518/0.6518, allocations: 115.3 MB / 405.9 MB, free: 2.773 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 64.38 kB / 493 MB, free: 6.727 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1319, allocations: 76.18 MB / 0.5558 GB, free: 10.74 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.2906/0.4225, allocations: 49.42 MB / 0.6041 GB, free: 6.844 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0164/0.4389, allocations: 12.71 MB / 0.6165 GB, free: 13.99 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003197/0.4422, allocations: 78.81 kB / 0.6166 GB, free: 13.95 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002185/0.4444, allocations: 0.6199 MB / 0.6172 GB, free: 13.58 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005169/0.4496, allocations: 1.697 MB / 0.6189 GB, free: 12.61 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003595/0.4532, allocations: 1.211 MB / 0.62 GB, free: 11.93 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.006404/0.4596, allocations: 4.373 MB / 0.6243 GB, free: 10.29 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002217/0.4619, allocations: 1.071 MB / 0.6254 GB, free: 9.602 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00283/0.4647, allocations: 1.121 MB / 0.6265 GB, free: 8.98 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001937/0.4666, allocations: 0.9516 MB / 0.6274 GB, free: 8.406 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003038/0.467, allocations: 63.12 kB / 0.6274 GB, free: 8.402 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00249/0.4695, allocations: 1.046 MB / 0.6285 GB, free: 7.828 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000444/0.4699, allocations: 263.3 kB / 0.6287 GB, free: 7.629 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00118/0.4711, allocations: 0.6392 MB / 0.6293 GB, free: 7.219 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002917/0.474, allocations: 1.908 MB / 0.6312 GB, free: 5.988 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.4741, allocations: 0 / 0.6312 GB, free: 5.988 MB / 462.1 MB Notification: Performance of FrontEnd: time 7.72e-07/0.4741, allocations: 0 / 0.6312 GB, free: 5.988 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.594e-05/0.4741, allocations: 1.094 kB / 0.6312 GB, free: 5.988 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.00309/0.4772, allocations: 1.705 MB / 0.6329 GB, free: 4.684 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.369e-05/0.4773, allocations: 8.406 kB / 0.6329 GB, free: 4.684 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001468/0.4774, allocations: 134.2 kB / 0.633 GB, free: 4.574 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005643/0.478, allocations: 208.7 kB / 0.6332 GB, free: 4.473 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001595/0.4796, allocations: 1.088 MB / 0.6343 GB, free: 3.617 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003158/0.4799, allocations: 124.3 kB / 0.6344 GB, free: 3.562 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.154e-05/0.48, allocations: 83.59 kB / 0.6345 GB, free: 3.535 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001541/0.4816, allocations: 0.9924 MB / 0.6354 GB, free: 2.867 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.4816, allocations: 6.5 kB / 0.6354 GB, free: 2.863 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.969e-05/0.4817, allocations: 41.62 kB / 0.6355 GB, free: 2.832 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.711e-05/0.4817, allocations: 22.41 kB / 0.6355 GB, free: 2.832 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00139/0.4831, allocations: 0.6534 MB / 0.6361 GB, free: 2.52 MB / 462.1 MB 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.004372/0.4875, allocations: 4.419 MB / 0.6405 GB, free: 14.6 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001104/0.4886, allocations: 409.1 kB / 0.6408 GB, free: 14.39 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004821/0.4891, allocations: 224 kB / 0.6411 GB, free: 14.28 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008661/0.49, allocations: 1.154 MB / 0.6422 GB, free: 12.93 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.49, allocations: 41.34 kB / 0.6422 GB, free: 12.88 MB / 478.1 MB Notification: Performance of pre-optimization done (n=29): time 2.124e-06/0.49, allocations: 0 / 0.6422 GB, free: 12.88 MB / 478.1 MB Notification: Performance of matching and sorting (n=29): time 0.002611/0.4926, allocations: 1.077 MB / 0.6433 GB, free: 12.17 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.4927, allocations: 60.69 kB / 0.6433 GB, free: 12.1 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009935/0.4937, allocations: 0.9377 MB / 0.6442 GB, free: 11.57 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.751e-05/0.4937, allocations: 34.39 kB / 0.6443 GB, free: 11.54 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003721/0.4941, allocations: 0.5763 MB / 0.6448 GB, free: 11.03 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.044e-05/0.4942, allocations: 102.6 kB / 0.6449 GB, free: 10.94 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000154/0.4944, allocations: 110.6 kB / 0.645 GB, free: 10.87 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.4945, allocations: 320.4 kB / 0.6454 GB, free: 10.55 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004986/0.495, allocations: 195.6 kB / 0.6455 GB, free: 10.46 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006315/0.4956, allocations: 384.6 kB / 0.6459 GB, free: 10.07 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001086/0.4967, allocations: 0.5695 MB / 0.6465 GB, free: 9.43 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.4967, allocations: 3.938 kB / 0.6465 GB, free: 9.426 MB / 478.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001485/0.4982, allocations: 0.7372 MB / 0.6472 GB, free: 8.672 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.4982, allocations: 8 kB / 0.6472 GB, free: 8.664 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.4983, allocations: 4 kB / 0.6472 GB, free: 8.66 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006383/0.4989, allocations: 166.4 kB / 0.6474 GB, free: 8.488 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000546/0.4995, allocations: 131.8 kB / 0.6475 GB, free: 8.359 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001003/0.5005, allocations: 1.723 MB / 0.6492 GB, free: 6.559 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007477/0.5012, allocations: 107.5 kB / 0.6493 GB, free: 6.453 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.256e-05/0.5013, allocations: 27.98 kB / 0.6493 GB, free: 6.426 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,2), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003921/0.5017, allocations: 271.1 kB / 0.6496 GB, free: 6.152 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001454/0.5018, allocations: 110.6 kB / 0.6497 GB, free: 6.043 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001697/0.5035, allocations: 0.7288 MB / 0.6504 GB, free: 5.301 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.337e-05/0.5036, allocations: 11.88 kB / 0.6504 GB, free: 5.289 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.5036, allocations: 4.062 kB / 0.6504 GB, free: 5.285 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.5036, allocations: 3.984 kB / 0.6504 GB, free: 5.281 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002714/0.5063, allocations: 1.632 MB / 0.652 GB, free: 3.57 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.5063, allocations: 8.031 kB / 0.652 GB, free: 3.562 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004437/0.5068, allocations: 91.83 kB / 0.6521 GB, free: 3.473 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005257/0.5073, allocations: 150.4 kB / 0.6522 GB, free: 3.316 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.74e-05/0.5074, allocations: 11.98 kB / 0.6522 GB, free: 3.305 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009607/0.5083, allocations: 1.708 MB / 0.6539 GB, free: 1.52 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.5083, allocations: 4.031 kB / 0.6539 GB, free: 1.516 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001455/0.5098, allocations: 0.7888 MB / 0.6547 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003396/0.5102, allocations: 251.5 kB / 0.6549 GB, free: 428 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/0.5103, allocations: 8 kB / 0.6549 GB, free: 420 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006046/0.5109, allocations: 67.92 kB / 0.655 GB, free: 352 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.32e-05/0.511, allocations: 39.83 kB / 0.655 GB, free: 312 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.36e-05/0.511, allocations: 19.98 kB / 0.655 GB, free: 292 kB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007429/0.5118, allocations: 0.6304 MB / 0.6557 GB, free: 15.64 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5118, allocations: 0 / 0.6557 GB, free: 15.64 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009899/0.5128, allocations: 359.1 kB / 0.656 GB, free: 15.29 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,2), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002377/0.5152, allocations: 1.629 MB / 0.6576 GB, free: 13.62 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001397/0.5166, allocations: 0.5337 MB / 0.6581 GB, free: 13.09 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.5166, allocations: 0 / 0.6581 GB, free: 13.09 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007496/0.5173, allocations: 292 kB / 0.6584 GB, free: 12.8 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00207/0.5194, allocations: 0.4973 MB / 0.6589 GB, free: 12.31 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01062/0.53, allocations: 7.93 MB / 0.6666 GB, free: 3.926 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005923/0.5307, allocations: 1.103 MB / 0.6677 GB, free: 2.793 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006428/0.5313, allocations: 183.9 kB / 0.6679 GB, free: 2.609 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004214/0.5317, allocations: 419.3 kB / 0.6683 GB, free: 2.199 MB / 494.1 MB Notification: Performance of SimCode: time 3.91e-07/0.5317, allocations: 0 / 0.6683 GB, free: 2.199 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04692/0.5787, allocations: 27.48 MB / 0.6951 GB, free: 7.145 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00026/0.579, allocations: 278.4 kB / 0.6954 GB, free: 6.77 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.271/2.85, allocations: 0 / 0.6954 GB, free: 6.77 MB / 0.5137 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1)