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.001139/0.001138, allocations: 104 kB / 16.4 MB, free: 6.508 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.001219/0.001219, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.32/1.32, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6913/0.6913, allocations: 115.3 MB / 406.5 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 62.73 kB / 0.5572 GB, free: 32.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1511, allocations: 76.19 MB / 0.6316 GB, free: 4.898 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.05287/0.204, allocations: 49.76 MB / 0.6802 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01855/0.2226, allocations: 12.67 MB / 0.6926 GB, free: 6.25 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003059/0.2257, allocations: 79.56 kB / 0.6926 GB, free: 6.172 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002421/0.2282, allocations: 0.7565 MB / 0.6934 GB, free: 5.41 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00608/0.2343, allocations: 1.829 MB / 0.6952 GB, free: 3.574 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003954/0.2383, allocations: 1.358 MB / 0.6965 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.004872/0.2432, allocations: 3.26 MB / 0.6997 GB, free: 14.96 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002319/0.2455, allocations: 1.253 MB / 0.7009 GB, free: 13.68 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003412/0.249, allocations: 1.319 MB / 0.7022 GB, free: 12.36 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001805/0.2508, allocations: 0.9252 MB / 0.7031 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0004317/0.2512, allocations: 96 kB / 0.7032 GB, free: 11.34 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002941/0.2542, allocations: 1.072 MB / 0.7042 GB, free: 10.27 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004955/0.2547, allocations: 282.8 kB / 0.7045 GB, free: 9.988 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001233/0.2559, allocations: 0.6801 MB / 0.7052 GB, free: 9.305 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003918/0.2599, allocations: 1.948 MB / 0.7071 GB, free: 7.352 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.2599, allocations: 8 kB / 0.7071 GB, free: 7.344 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.532e-06/0.2599, allocations: 0 / 0.7071 GB, free: 7.344 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.606e-05/0.26, allocations: 0 / 0.7071 GB, free: 7.344 MB / 0.545 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.003559/0.2635, allocations: 1.697 MB / 0.7087 GB, free: 5.59 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.2636, allocations: 12.02 kB / 0.7087 GB, free: 5.578 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002376/0.2638, allocations: 143.4 kB / 0.7089 GB, free: 5.43 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007487/0.2646, allocations: 207.1 kB / 0.7091 GB, free: 5.227 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00266/0.2673, allocations: 1.096 MB / 0.7101 GB, free: 4.074 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.832e-05/0.2673, allocations: 66.12 kB / 0.7102 GB, free: 4.012 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001385/0.2675, allocations: 84 kB / 0.7103 GB, free: 3.93 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001884/0.2694, allocations: 1.003 MB / 0.7113 GB, free: 2.844 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.24e-05/0.2694, allocations: 0 / 0.7113 GB, free: 2.844 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.583e-05/0.2695, allocations: 36 kB / 0.7113 GB, free: 2.809 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/0.2695, allocations: 28 kB / 0.7113 GB, free: 2.781 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001492/0.271, allocations: 0.6438 MB / 0.712 GB, free: 2.141 MB / 0.545 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.005916/0.2769, allocations: 4.734 MB / 0.7166 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001134/0.2781, allocations: 394.5 kB / 0.717 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005208/0.2786, allocations: 217.2 kB / 0.7172 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009535/0.2796, allocations: 1.148 MB / 0.7183 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/0.2796, allocations: 42.56 kB / 0.7183 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=29): time 2.044e-06/0.2797, allocations: 0 / 0.7183 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29): time 0.002824/0.2825, allocations: 1.076 MB / 0.7194 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.2825, allocations: 59.34 kB / 0.7194 GB, free: 9.852 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001249/0.2838, allocations: 0.9754 MB / 0.7204 GB, free: 8.863 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.056e-05/0.2838, allocations: 37.7 kB / 0.7204 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004406/0.2843, allocations: 0.5773 MB / 0.721 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/0.2844, allocations: 114.5 kB / 0.7211 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001695/0.2846, allocations: 110.1 kB / 0.7212 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.2847, allocations: 326 kB / 0.7215 GB, free: 7.688 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005242/0.2852, allocations: 197 kB / 0.7217 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006604/0.2859, allocations: 402.3 kB / 0.7221 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001149/0.2871, allocations: 0.6028 MB / 0.7227 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.2871, allocations: 0 / 0.7227 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001702/0.2888, allocations: 0.7597 MB / 0.7234 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.2888, allocations: 8 kB / 0.7234 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.2888, allocations: 8.844 kB / 0.7234 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006676/0.2895, allocations: 154.4 kB / 0.7236 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005972/0.2901, allocations: 147.8 kB / 0.7237 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001156/0.2913, allocations: 1.723 MB / 0.7254 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006624/0.292, allocations: 83.34 kB / 0.7255 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.78e-05/0.292, allocations: 31.98 kB / 0.7255 GB, free: 3.312 MB / 0.5606 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.0003895/0.2924, allocations: 269.7 kB / 0.7258 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000218/0.2927, allocations: 118.5 kB / 0.7259 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001726/0.2944, allocations: 0.7118 MB / 0.7266 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.595e-05/0.2944, allocations: 11.92 kB / 0.7266 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.2944, allocations: 0 / 0.7266 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.2944, allocations: 0 / 0.7266 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002862/0.2973, allocations: 1.644 MB / 0.7282 GB, free: 472 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/0.2973, allocations: 0 / 0.7282 GB, free: 472 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004464/0.2978, allocations: 100 kB / 0.7283 GB, free: 372 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005322/0.2983, allocations: 142.4 kB / 0.7284 GB, free: 220 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.009e-05/0.2984, allocations: 11.98 kB / 0.7284 GB, free: 208 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001098/0.2995, allocations: 1.712 MB / 0.7301 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.2995, allocations: 192 / 0.7301 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001572/0.3011, allocations: 0.7877 MB / 0.7309 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004088/0.3015, allocations: 243.6 kB / 0.7311 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.446e-05/0.3016, allocations: 8 kB / 0.7311 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005371/0.3021, allocations: 47.94 kB / 0.7312 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.933e-05/0.3022, allocations: 32.12 kB / 0.7312 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.376e-05/0.3023, allocations: 23.98 kB / 0.7312 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007677/0.303, allocations: 0.658 MB / 0.7319 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.3031, allocations: 0 / 0.7319 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00104/0.3041, allocations: 375.1 kB / 0.7322 GB, free: 12.18 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.002683/0.3068, allocations: 1.634 MB / 0.7338 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001558/0.3084, allocations: 0.5439 MB / 0.7343 GB, free: 9.957 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/0.3084, allocations: 0 / 0.7343 GB, free: 9.957 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007762/0.3092, allocations: 297.6 kB / 0.7346 GB, free: 9.668 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002402/0.3116, allocations: 0.5265 MB / 0.7351 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01054/0.3221, allocations: 7.288 MB / 0.7423 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006579/0.3228, allocations: 1.095 MB / 0.7433 GB, free: 408 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007602/0.3236, allocations: 196.1 kB / 0.7435 GB, free: 208 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3195/0.6431, allocations: 412.9 kB / 0.7439 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of SimCode: time 1.053e-05/0.6432, allocations: 0.5 kB / 0.7439 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05648/0.6997, allocations: 30 MB / 0.7732 GB, free: 93.92 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.73/13.43, allocations: 2.406 kB / 0.7732 GB, free: 93.92 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 & /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)