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.0007664/0.0007666, allocations: 92.86 kB / 15.7 MB, free: 472 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.0007919/0.000792, allocations: 175.7 kB / 16.58 MB, free: 6.844 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.167/1.167, allocations: 223.3 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6032/0.6032, allocations: 113.7 MB / 405.4 MB, free: 4.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002705/0.0002705, allocations: 8.75 kB / 493.1 MB, free: 8.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.127, allocations: 77.12 MB / 0.5569 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.3669/0.4939, allocations: 155.4 MB / 0.7086 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005418/0.4994, allocations: 4.035 MB / 0.7126 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005835/0.5, allocations: 15.88 kB / 0.7126 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0006712/0.5006, allocations: 238.5 kB / 0.7128 GB, free: 11.21 MB / 0.5294 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.002122/0.5028, allocations: 0.9097 MB / 0.7137 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001415/0.5042, allocations: 0.5641 MB / 0.7143 GB, free: 9.738 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001975/0.5062, allocations: 1.991 MB / 0.7162 GB, free: 7.742 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005315/0.5067, allocations: 422.8 kB / 0.7166 GB, free: 7.332 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008497/0.5076, allocations: 0.5874 MB / 0.7172 GB, free: 6.742 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006441/0.5082, allocations: 0.5254 MB / 0.7177 GB, free: 6.215 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.875e-05/0.5083, allocations: 24 kB / 0.7177 GB, free: 6.191 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008805/0.5092, allocations: 407 kB / 0.7181 GB, free: 5.793 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002093/0.5094, allocations: 227.4 kB / 0.7183 GB, free: 5.57 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001335/0.5096, allocations: 177.3 kB / 0.7185 GB, free: 5.391 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0007661/0.5103, allocations: 0.8845 MB / 0.7194 GB, free: 4.504 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.5103, allocations: 0 / 0.7194 GB, free: 4.504 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.432e-06/0.5104, allocations: 0 / 0.7194 GB, free: 4.504 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.5104, allocations: 0 / 0.7194 GB, free: 4.504 MB / 0.5294 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.001386/0.5118, allocations: 0.9126 MB / 0.7203 GB, free: 3.539 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.5118, allocations: 8.031 kB / 0.7203 GB, free: 3.531 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001052/0.5119, allocations: 98.52 kB / 0.7204 GB, free: 3.426 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008622/0.5128, allocations: 167 kB / 0.7205 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006348/0.5134, allocations: 0.5096 MB / 0.721 GB, free: 2.715 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.86e-05/0.5135, allocations: 37.31 kB / 0.721 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.23e-05/0.5135, allocations: 59.92 kB / 0.7211 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009848/0.5145, allocations: 0.6557 MB / 0.7217 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.5145, allocations: 0 / 0.7217 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.905e-05/0.5146, allocations: 24 kB / 0.7218 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.042e-05/0.5146, allocations: 21.31 kB / 0.7218 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008267/0.5155, allocations: 0.5165 MB / 0.7223 GB, free: 1.387 MB / 0.5294 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.002797/0.5183, allocations: 2.305 MB / 0.7245 GB, free: 14.91 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004514/0.5187, allocations: 266.7 kB / 0.7248 GB, free: 14.64 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000219/0.519, allocations: 135.9 kB / 0.7249 GB, free: 14.51 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.83e-05/0.519, allocations: 11.98 kB / 0.7249 GB, free: 14.5 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.5191, allocations: 42.56 kB / 0.725 GB, free: 14.45 MB / 0.545 GB Notification: Performance of pre-optimization done (n=20): time 1.343e-06/0.5191, allocations: 0 / 0.725 GB, free: 14.45 MB / 0.545 GB Notification: Performance of matching and sorting (n=20): time 0.001388/0.5205, allocations: 0.6863 MB / 0.7256 GB, free: 13.71 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.5205, allocations: 81.09 kB / 0.7257 GB, free: 13.61 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005671/0.5211, allocations: 0.5535 MB / 0.7263 GB, free: 13.05 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/0.5211, allocations: 29.7 kB / 0.7263 GB, free: 13.01 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002042/0.5213, allocations: 335.1 kB / 0.7266 GB, free: 12.68 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.417e-05/0.5214, allocations: 74.98 kB / 0.7267 GB, free: 12.61 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.708e-05/0.5214, allocations: 11.94 kB / 0.7267 GB, free: 12.59 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.5215, allocations: 354.8 kB / 0.727 GB, free: 12.24 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002384/0.5218, allocations: 136.6 kB / 0.7272 GB, free: 12.11 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002758/0.5221, allocations: 219.3 kB / 0.7274 GB, free: 11.86 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002672/0.5223, allocations: 163.9 kB / 0.7275 GB, free: 11.7 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.5224, allocations: 0 / 0.7275 GB, free: 11.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000798/0.5232, allocations: 0.4984 MB / 0.728 GB, free: 11.19 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.5232, allocations: 8.266 kB / 0.728 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.5232, allocations: 11.94 kB / 0.728 GB, free: 11.17 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002612/0.5235, allocations: 89.66 kB / 0.7281 GB, free: 11.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002892/0.5238, allocations: 72.78 kB / 0.7282 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002588/0.5264, allocations: 3.096 MB / 0.7312 GB, free: 7.645 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004239/0.5268, allocations: 79.42 kB / 0.7313 GB, free: 7.566 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.21e-05/0.5268, allocations: 8 kB / 0.7313 GB, free: 7.559 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002388/0.5271, allocations: 224.9 kB / 0.7315 GB, free: 7.332 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.993e-05/0.5272, allocations: 59.34 kB / 0.7316 GB, free: 7.273 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.55e-05/0.5273, allocations: 56.5 kB / 0.7316 GB, free: 7.219 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.5273, allocations: 0 / 0.7316 GB, free: 7.219 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.5273, allocations: 4 kB / 0.7316 GB, free: 7.215 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006387/0.5279, allocations: 0.5402 MB / 0.7322 GB, free: 6.605 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001121/0.5291, allocations: 0.926 MB / 0.7331 GB, free: 5.613 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.5291, allocations: 0 / 0.7331 GB, free: 5.613 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000188/0.5293, allocations: 51.91 kB / 0.7331 GB, free: 5.562 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001688/0.5294, allocations: 68.95 kB / 0.7332 GB, free: 5.492 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.5295, allocations: 8 kB / 0.7332 GB, free: 5.484 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001415/0.5309, allocations: 1.679 MB / 0.7348 GB, free: 3.672 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.5309, allocations: 4.031 kB / 0.7348 GB, free: 3.668 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005686/0.5315, allocations: 445.6 kB / 0.7352 GB, free: 3.211 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001863/0.5317, allocations: 168.4 kB / 0.7354 GB, free: 3.027 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.167e-05/0.5317, allocations: 4 kB / 0.7354 GB, free: 3.023 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003925/0.5321, allocations: 44.53 kB / 0.7355 GB, free: 2.98 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.007e-05/0.5322, allocations: 23.91 kB / 0.7355 GB, free: 2.957 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.518e-05/0.5322, allocations: 12 kB / 0.7355 GB, free: 2.945 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003984/0.5326, allocations: 398.8 kB / 0.7359 GB, free: 2.559 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5327, allocations: 0 / 0.7359 GB, free: 2.559 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005738/0.5332, allocations: 203.7 kB / 0.7361 GB, free: 2.359 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009921/0.5342, allocations: 1.03 MB / 0.7371 GB, free: 1.301 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007663/0.535, allocations: 0.5483 MB / 0.7376 GB, free: 0.7266 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.535, allocations: 0 / 0.7376 GB, free: 0.7266 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003303/0.5354, allocations: 255.2 kB / 0.7378 GB, free: 476 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00139/0.5368, allocations: 371.1 kB / 0.7382 GB, free: 120 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004175/0.5409, allocations: 3.141 MB / 0.7413 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004599/0.5414, allocations: 0.913 MB / 0.7422 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004288/0.5419, allocations: 116.8 kB / 0.7423 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002275/0.5421, allocations: 187.4 kB / 0.7425 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of SimCode: time 3.41e-07/0.5421, allocations: 0 / 0.7425 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02818/0.5703, allocations: 17.07 MB / 0.7591 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002371/0.5705, allocations: 280.5 kB / 0.7594 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.769/2.339, allocations: 0 / 0.7594 GB, free: 10.58 MB / 0.5762 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) Environment - environmentSimulation: