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.001054/0.001054, allocations: 111.4 kB / 16.41 MB, free: 6.488 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.0009914/0.0009914, allocations: 191.2 kB / 17.34 MB, free: 5.762 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.261/1.261, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7428/0.7428, allocations: 122.9 MB / 414.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 63.84 kB / 0.568 GB, free: 29.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1272, allocations: 77.95 MB / 0.6441 GB, free: 9.527 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.0433/0.1705, allocations: 49.74 MB / 0.6926 GB, free: 7.605 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01624/0.1868, allocations: 12.69 MB / 0.705 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00213/0.1889, allocations: 75.56 kB / 0.7051 GB, free: 10.81 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001817/0.1908, allocations: 0.7838 MB / 0.7059 GB, free: 10.02 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004561/0.1954, allocations: 1.927 MB / 0.7078 GB, free: 8.09 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003136/0.1985, allocations: 1.357 MB / 0.7091 GB, free: 6.746 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003794/0.2023, allocations: 3.262 MB / 0.7123 GB, free: 3.477 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001484/0.2038, allocations: 1.258 MB / 0.7135 GB, free: 2.184 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00287/0.2067, allocations: 1.315 MB / 0.7148 GB, free: 0.875 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001089/0.2078, allocations: 0.9369 MB / 0.7157 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001453/0.208, allocations: 96 kB / 0.7158 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002021/0.21, allocations: 1.068 MB / 0.7168 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002728/0.2103, allocations: 286.8 kB / 0.7171 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000639/0.2109, allocations: 0.6684 MB / 0.7178 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00254/0.2135, allocations: 1.969 MB / 0.7197 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.2135, allocations: 0 / 0.7197 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.552e-06/0.2135, allocations: 0 / 0.7197 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.589e-05/0.2135, allocations: 0 / 0.7197 GB, free: 11.84 MB / 0.5606 GB 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.002401/0.2159, allocations: 1.754 MB / 0.7214 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.216, allocations: 12.62 kB / 0.7214 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000137/0.2161, allocations: 135.4 kB / 0.7215 GB, free: 9.879 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005846/0.2167, allocations: 215.9 kB / 0.7217 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001906/0.2186, allocations: 1.097 MB / 0.7228 GB, free: 8.516 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.452e-05/0.2187, allocations: 70.06 kB / 0.7229 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.2188, allocations: 88 kB / 0.723 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001603/0.2204, allocations: 0.9996 MB / 0.7239 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.287e-05/0.2205, allocations: 7.938 kB / 0.7239 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.195e-05/0.2205, allocations: 39.94 kB / 0.724 GB, free: 7.234 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.782e-05/0.2206, allocations: 24 kB / 0.724 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001387/0.222, allocations: 0.6477 MB / 0.7246 GB, free: 6.559 MB / 0.5606 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.004623/0.2266, allocations: 4.727 MB / 0.7293 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/0.2277, allocations: 402.5 kB / 0.7296 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004968/0.2282, allocations: 220.7 kB / 0.7298 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007703/0.229, allocations: 1.144 MB / 0.731 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.229, allocations: 42.5 kB / 0.731 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=29): time 3.357e-06/0.229, allocations: 4 kB / 0.731 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of matching and sorting (n=29): time 0.002742/0.2318, allocations: 1.069 MB / 0.7321 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.2318, allocations: 59.34 kB / 0.7321 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/0.2329, allocations: 0.9754 MB / 0.7331 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.563e-05/0.2329, allocations: 37.7 kB / 0.7331 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003826/0.2333, allocations: 0.5978 MB / 0.7337 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.383e-05/0.2334, allocations: 115 kB / 0.7338 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001512/0.2336, allocations: 110.2 kB / 0.7339 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.271e-05/0.2337, allocations: 330 kB / 0.7342 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005232/0.2342, allocations: 197 kB / 0.7344 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006417/0.2349, allocations: 406.3 kB / 0.7348 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00117/0.2361, allocations: 0.5989 MB / 0.7354 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.2361, allocations: 4 kB / 0.7354 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001575/0.2377, allocations: 0.7646 MB / 0.7361 GB, free: 9.938 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.2377, allocations: 8 kB / 0.7361 GB, free: 9.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.2377, allocations: 8 kB / 0.7361 GB, free: 9.922 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006575/0.2384, allocations: 154.9 kB / 0.7363 GB, free: 9.762 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006002/0.239, allocations: 147.8 kB / 0.7364 GB, free: 9.617 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009651/0.24, allocations: 1.723 MB / 0.7381 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006374/0.2406, allocations: 87.67 kB / 0.7382 GB, free: 7.73 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.533e-05/0.2407, allocations: 31.98 kB / 0.7382 GB, free: 7.699 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (52): * Single equations (assignments): 49 * 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.0003777/0.2411, allocations: 269.6 kB / 0.7385 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001679/0.2412, allocations: 119.2 kB / 0.7386 GB, free: 7.309 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001742/0.243, allocations: 0.7233 MB / 0.7393 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/0.243, allocations: 7.938 kB / 0.7393 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.243, allocations: 0 / 0.7393 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.243, allocations: 8 kB / 0.7393 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002657/0.2457, allocations: 1.625 MB / 0.7409 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/0.2457, allocations: 0 / 0.7409 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004797/0.2462, allocations: 91.89 kB / 0.741 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000544/0.2468, allocations: 150.5 kB / 0.7411 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.621e-05/0.2468, allocations: 11.98 kB / 0.7411 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009126/0.2477, allocations: 1.712 MB / 0.7428 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.2477, allocations: 4.031 kB / 0.7428 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001479/0.2492, allocations: 0.7965 MB / 0.7436 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000355/0.2496, allocations: 248.2 kB / 0.7438 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/0.2497, allocations: 8 kB / 0.7438 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00059/0.2503, allocations: 47.94 kB / 0.7439 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.279e-05/0.2504, allocations: 31.91 kB / 0.7439 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.102e-05/0.2504, allocations: 19.98 kB / 0.7439 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007714/0.2512, allocations: 0.6619 MB / 0.7446 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2512, allocations: 0 / 0.7446 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009733/0.2522, allocations: 382.9 kB / 0.7449 GB, free: 0.5469 MB / 0.5762 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.2552/0.5074, allocations: 1.63 MB / 0.7465 GB, free: 97.58 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00163/0.5091, allocations: 0.5435 MB / 0.7471 GB, free: 97.58 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.5091, allocations: 4.406 kB / 0.7471 GB, free: 97.58 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007903/0.5099, allocations: 289.9 kB / 0.7474 GB, free: 97.58 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002365/0.5123, allocations: 0.5197 MB / 0.7479 GB, free: 97.55 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.011/0.5233, allocations: 7.33 MB / 0.755 GB, free: 94.29 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005728/0.5239, allocations: 1.106 MB / 0.7561 GB, free: 93.57 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007549/0.5247, allocations: 184.5 kB / 0.7563 GB, free: 93.55 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004473/0.5251, allocations: 420.1 kB / 0.7567 GB, free: 93.24 MB / 0.5762 GB Notification: Performance of SimCode: time 7.92e-07/0.5252, allocations: 0 / 0.7567 GB, free: 93.24 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04847/0.5736, allocations: 29.52 MB / 0.7855 GB, free: 75.55 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.82/13.39, allocations: 6.141 kB / 0.7855 GB, free: 75.55 MB / 0.5762 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1)