Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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.Examples.MixingVolumeHeatConduction,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",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.001267/0.001267, allocations: 110.7 kB / 16.41 MB, free: 6.496 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.00133/0.00133, allocations: 189.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.291/1.291, 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.7618/0.7618, allocations: 122.9 MB / 414.1 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 69.81 kB / 0.5679 GB, free: 28.94 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.1826, allocations: 77.93 MB / 0.644 GB, free: 9.605 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.5284/0.7111, allocations: 171 MB / 0.8111 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005738/0.7169, allocations: 4.299 MB / 0.8153 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008924/0.7178, allocations: 23.16 kB / 0.8153 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009906/0.7188, allocations: 376.5 kB / 0.8156 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002856/0.7217, allocations: 1.262 MB / 0.8169 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001847/0.7236, allocations: 0.8003 MB / 0.8177 GB, free: 9.699 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001868/0.7255, allocations: 1.696 MB / 0.8193 GB, free: 8.793 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007239/0.7262, allocations: 0.5672 MB / 0.8199 GB, free: 8.457 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001351/0.7276, allocations: 0.7121 MB / 0.8206 GB, free: 8.082 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001199/0.7288, allocations: 0.5511 MB / 0.8211 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.942e-05/0.7289, allocations: 65.28 kB / 0.8212 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001635/0.7305, allocations: 0.803 MB / 0.822 GB, free: 7.488 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002594/0.7308, allocations: 274.3 kB / 0.8222 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000424/0.7312, allocations: 401.9 kB / 0.8226 GB, free: 7.07 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001744/0.733, allocations: 1.273 MB / 0.8238 GB, free: 6.297 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.733, allocations: 0 / 0.8238 GB, free: 6.297 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.603e-06/0.733, allocations: 2.938 kB / 0.8238 GB, free: 6.297 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.696e-05/0.733, allocations: 0 / 0.8238 GB, free: 6.297 MB / 0.5919 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.001795/0.7348, allocations: 1.05 MB / 0.8249 GB, free: 5.465 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.7349, allocations: 10.78 kB / 0.8249 GB, free: 5.465 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001213/0.735, allocations: 102.9 kB / 0.825 GB, free: 5.375 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009776/0.736, allocations: 165.8 kB / 0.8251 GB, free: 5.301 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008581/0.7369, allocations: 0.5495 MB / 0.8257 GB, free: 4.848 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.366e-05/0.7369, allocations: 37.44 kB / 0.8257 GB, free: 4.832 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.676e-05/0.737, allocations: 51.28 kB / 0.8258 GB, free: 4.816 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/0.7381, allocations: 0.6521 MB / 0.8264 GB, free: 4.426 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/0.7381, allocations: 3.938 kB / 0.8264 GB, free: 4.422 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.037e-05/0.7382, allocations: 27.25 kB / 0.8264 GB, free: 4.402 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.845e-05/0.7382, allocations: 29.11 kB / 0.8265 GB, free: 4.391 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008444/0.7391, allocations: 0.5105 MB / 0.8269 GB, free: 4.141 MB / 0.5919 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.003275/0.7424, allocations: 2.293 MB / 0.8292 GB, free: 2.27 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005341/0.7429, allocations: 260.8 kB / 0.8294 GB, free: 2.133 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002508/0.7432, allocations: 134.3 kB / 0.8296 GB, free: 2.062 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.431e-05/0.7432, allocations: 9 kB / 0.8296 GB, free: 2.059 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.869e-05/0.7433, allocations: 32.38 kB / 0.8296 GB, free: 2.02 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=20): time 1.814e-06/0.7433, allocations: 0 / 0.8296 GB, free: 2.02 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20): time 0.001819/0.7451, allocations: 0.6704 MB / 0.8303 GB, free: 1.551 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.184e-05/0.7452, allocations: 79.89 kB / 0.8303 GB, free: 1.457 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000629/0.7458, allocations: 0.5591 MB / 0.8309 GB, free: 1.121 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.703e-05/0.7458, allocations: 36.58 kB / 0.8309 GB, free: 1.082 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002277/0.7461, allocations: 343 kB / 0.8312 GB, free: 0.7812 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.545e-05/0.7462, allocations: 72.81 kB / 0.8313 GB, free: 0.7227 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.7463, allocations: 69.55 kB / 0.8314 GB, free: 0.6758 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.7464, allocations: 363.6 kB / 0.8317 GB, free: 332 kB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002378/0.7466, allocations: 129.5 kB / 0.8318 GB, free: 268 kB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002841/0.7469, allocations: 227.4 kB / 0.8321 GB, free: 88 kB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004952/0.7474, allocations: 332.3 kB / 0.8324 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.7475, allocations: 6.406 kB / 0.8324 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008654/0.7483, allocations: 0.4896 MB / 0.8329 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.7484, allocations: 10.77 kB / 0.8329 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.7484, allocations: 6.5 kB / 0.8329 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003243/0.7487, allocations: 90.34 kB / 0.833 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003186/0.749, allocations: 72.83 kB / 0.833 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002897/0.7519, allocations: 3.347 MB / 0.8363 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000529/0.7525, allocations: 57.52 kB / 0.8364 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.364e-05/0.7525, allocations: 11.95 kB / 0.8364 GB, free: 12.25 MB / 0.6075 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.0003298/0.7529, allocations: 217.1 kB / 0.8366 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.753, allocations: 55.42 kB / 0.8366 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.551e-05/0.7531, allocations: 58.41 kB / 0.8367 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.7531, allocations: 1.812 kB / 0.8367 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.7531, allocations: 3.938 kB / 0.8367 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006904/0.7538, allocations: 0.537 MB / 0.8372 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001199/0.755, allocations: 0.9074 MB / 0.8381 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.755, allocations: 4.062 kB / 0.8381 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002066/0.7552, allocations: 48.41 kB / 0.8382 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001913/0.7554, allocations: 64.7 kB / 0.8382 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.813e-05/0.7554, allocations: 7.188 kB / 0.8382 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001515/0.757, allocations: 1.819 MB / 0.84 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.757, allocations: 1.562 kB / 0.84 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006285/0.7576, allocations: 435.9 kB / 0.8404 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002476/0.7579, allocations: 174.9 kB / 0.8406 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.28e-05/0.7579, allocations: 10.09 kB / 0.8406 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000423/0.7584, allocations: 23.73 kB / 0.8406 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.893e-05/0.7584, allocations: 22.84 kB / 0.8406 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.282e-05/0.7585, allocations: 17.98 kB / 0.8407 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004335/0.7589, allocations: 393.9 kB / 0.841 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7589, allocations: 0 / 0.841 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006568/0.7596, allocations: 213.1 kB / 0.8412 GB, free: 8.316 MB / 0.6075 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.001123/0.7607, allocations: 1.03 MB / 0.8422 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0009781/0.7617, allocations: 0.5455 MB / 0.8428 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.7617, allocations: 0 / 0.8428 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000339/0.7621, allocations: 249.8 kB / 0.843 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001543/0.7636, allocations: 374.9 kB / 0.8434 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005465/0.7691, allocations: 4.468 MB / 0.8477 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004724/0.7696, allocations: 0.9123 MB / 0.8486 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004537/0.7701, allocations: 108.8 kB / 0.8487 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002449/0.7703, allocations: 191.4 kB / 0.8489 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of SimCode: time 8.61e-07/0.7703, allocations: 0 / 0.8489 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04072/0.8111, allocations: 17.79 MB / 0.8663 GB, free: 1.129 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.45, allocations: 7.656 kB / 0.8663 GB, free: 1.125 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1)