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.001726/0.001726, allocations: 101.9 kB / 15.98 MB, free: 6.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001862/0.001862, allocations: 197.8 kB / 16.91 MB, free: 6.188 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.467/1.467, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8162/0.8162, allocations: 125.4 MB / 416.1 MB, free: 13.79 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 67.89 kB / 0.4937 GB, free: 4.699 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3343, allocations: 78.55 MB / 0.5705 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.0423/0.3766, allocations: 49.46 MB / 0.6188 GB, free: 6.188 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01981/0.3965, allocations: 12.58 MB / 0.631 GB, free: 9.574 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002564/0.3991, allocations: 79.5 kB / 0.6311 GB, free: 9.496 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002234/0.4013, allocations: 0.6526 MB / 0.6318 GB, free: 8.84 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004939/0.4063, allocations: 1.699 MB / 0.6334 GB, free: 7.133 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003519/0.4098, allocations: 1.218 MB / 0.6346 GB, free: 5.938 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004565/0.4144, allocations: 3.28 MB / 0.6378 GB, free: 2.648 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001938/0.4164, allocations: 1.225 MB / 0.639 GB, free: 1.387 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004182/0.4206, allocations: 1.483 MB / 0.6405 GB, free: 15.91 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001552/0.4221, allocations: 0.9563 MB / 0.6414 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002464/0.4224, allocations: 100 kB / 0.6415 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002221/0.4246, allocations: 1.064 MB / 0.6425 GB, free: 13.79 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000375/0.425, allocations: 290.8 kB / 0.6428 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009435/0.426, allocations: 0.6761 MB / 0.6435 GB, free: 12.82 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002882/0.4288, allocations: 1.955 MB / 0.6454 GB, free: 10.86 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.4289, allocations: 0 / 0.6454 GB, free: 10.86 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.4289, allocations: 0 / 0.6454 GB, free: 10.86 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.078e-05/0.4289, allocations: 0 / 0.6454 GB, free: 10.86 MB / 494.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.003032/0.4319, allocations: 1.697 MB / 0.647 GB, free: 9.113 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.432, allocations: 8.031 kB / 0.647 GB, free: 9.105 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000191/0.4322, allocations: 139.4 kB / 0.6472 GB, free: 8.961 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006705/0.4329, allocations: 211.1 kB / 0.6474 GB, free: 8.754 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002173/0.4351, allocations: 1.092 MB / 0.6484 GB, free: 7.605 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003849/0.4355, allocations: 129.8 kB / 0.6486 GB, free: 7.477 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/0.4356, allocations: 84 kB / 0.6486 GB, free: 7.395 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002014/0.4376, allocations: 0.9884 MB / 0.6496 GB, free: 6.34 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/0.4377, allocations: 4 kB / 0.6496 GB, free: 6.336 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.525e-05/0.4377, allocations: 32 kB / 0.6496 GB, free: 6.305 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.577e-05/0.4378, allocations: 24 kB / 0.6497 GB, free: 6.281 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001659/0.4394, allocations: 0.6517 MB / 0.6503 GB, free: 5.625 MB / 494.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.005641/0.4451, allocations: 4.425 MB / 0.6546 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001292/0.4464, allocations: 406.6 kB / 0.655 GB, free: 0.543 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005886/0.447, allocations: 220.7 kB / 0.6552 GB, free: 332 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001153/0.4482, allocations: 1.148 MB / 0.6563 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.682e-05/0.4482, allocations: 42.56 kB / 0.6564 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=29): time 2.314e-06/0.4482, allocations: 0 / 0.6564 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29): time 0.003075/0.4513, allocations: 1.088 MB / 0.6574 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.4514, allocations: 55.41 kB / 0.6575 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001228/0.4526, allocations: 0.9356 MB / 0.6584 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.527e-05/0.4527, allocations: 33.7 kB / 0.6584 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004949/0.4532, allocations: 0.5773 MB / 0.659 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.4533, allocations: 106.5 kB / 0.6591 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000172/0.4535, allocations: 106 kB / 0.6592 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.4536, allocations: 326 kB / 0.6595 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005955/0.4542, allocations: 200.9 kB / 0.6597 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007761/0.455, allocations: 378.9 kB / 0.6601 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001324/0.4563, allocations: 0.576 MB / 0.6606 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.4564, allocations: 0 / 0.6606 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001771/0.4581, allocations: 0.7331 MB / 0.6613 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.4582, allocations: 7.938 kB / 0.6614 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.805e-05/0.4582, allocations: 8 kB / 0.6614 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007283/0.4589, allocations: 158.6 kB / 0.6615 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000627/0.4596, allocations: 139.8 kB / 0.6616 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001364/0.4609, allocations: 1.727 MB / 0.6633 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007147/0.4617, allocations: 107.4 kB / 0.6634 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.676e-05/0.4617, allocations: 31.98 kB / 0.6635 GB, free: 7.227 MB / 0.4981 GB 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.0003979/0.4621, allocations: 266.5 kB / 0.6637 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001855/0.4623, allocations: 110.6 kB / 0.6638 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002009/0.4644, allocations: 0.7349 MB / 0.6645 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.424e-05/0.4644, allocations: 7.984 kB / 0.6646 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.4644, allocations: 0 / 0.6646 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.176e-06/0.4644, allocations: 0 / 0.6646 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003089/0.4675, allocations: 1.64 MB / 0.6662 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.4675, allocations: 3.938 kB / 0.6662 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004882/0.468, allocations: 92.03 kB / 0.6662 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005967/0.4686, allocations: 150.5 kB / 0.6664 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.427e-05/0.4687, allocations: 12 kB / 0.6664 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001248/0.4699, allocations: 1.708 MB / 0.6681 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.4699, allocations: 0 / 0.6681 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001717/0.4717, allocations: 0.784 MB / 0.6688 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003596/0.472, allocations: 251.6 kB / 0.6691 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001123/0.4721, allocations: 4 kB / 0.6691 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006859/0.4728, allocations: 83.75 kB / 0.6692 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.149e-05/0.4729, allocations: 27.91 kB / 0.6692 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.051e-05/0.473, allocations: 19.98 kB / 0.6692 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008275/0.4738, allocations: 0.6303 MB / 0.6698 GB, free: 480 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4738, allocations: 4 kB / 0.6698 GB, free: 476 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009794/0.4748, allocations: 367.1 kB / 0.6702 GB, free: 108 kB / 0.4981 GB 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.00272/0.4775, allocations: 1.618 MB / 0.6718 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00169/0.4792, allocations: 0.5593 MB / 0.6723 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4793, allocations: 3.938 kB / 0.6723 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008798/0.4801, allocations: 300 kB / 0.6726 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002304/0.4825, allocations: 0.5242 MB / 0.6731 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0128/0.4953, allocations: 7.935 MB / 0.6809 GB, free: 4.703 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007701/0.4961, allocations: 1.103 MB / 0.6819 GB, free: 3.574 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007065/0.4968, allocations: 182.4 kB / 0.6821 GB, free: 3.398 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005371/0.4973, allocations: 420 kB / 0.6825 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of SimCode: time 4.5e-07/0.4973, allocations: 0 / 0.6825 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05629/0.5536, allocations: 28.24 MB / 0.7101 GB, free: 7.211 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002915/0.5539, allocations: 282.8 kB / 0.7104 GB, free: 6.832 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.748/3.302, allocations: 7.938 kB / 0.7104 GB, free: 6.824 MB / 0.545 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)