Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 109.2 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 219 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.32/1.32, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002351/0.002351, allocations: 297.9 kB / 312.7 MB, free: 2.801 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.132/1.132, allocations: 180.6 MB / 0.5369 GB, free: 12.98 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002668/0.002668, allocations: 101.8 kB / 0.7396 GB, free: 28.45 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1601, allocations: 95.38 MB / 0.8327 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.5738/0.7339, allocations: 174.7 MB / 1.003 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005961/0.7398, allocations: 4.342 MB / 1.008 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006619/0.7405, allocations: 30.5 kB / 1.008 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0009649/0.7415, allocations: 366.8 kB / 1.008 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002786/0.7442, allocations: 1.29 MB / 1.009 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001892/0.7461, allocations: 0.821 MB / 1.01 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002131/0.7483, allocations: 1.734 MB / 1.012 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005477/0.7488, allocations: 452.7 kB / 1.012 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001096/0.7499, allocations: 0.7238 MB / 1.013 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001216/0.7511, allocations: 0.5925 MB / 1.013 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.998e-05/0.7512, allocations: 64.62 kB / 1.013 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00156/0.7528, allocations: 0.8676 MB / 1.014 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002588/0.753, allocations: 279.9 kB / 1.015 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004257/0.7535, allocations: 409.3 kB / 1.015 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001528/0.755, allocations: 1.268 MB / 1.016 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.755, allocations: 0.8125 kB / 1.016 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.132e-06/0.755, allocations: 0 / 1.016 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.462e-05/0.755, allocations: 0.7812 kB / 1.016 GB, free: 3.168 MB / 0.7169 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.001752/0.7568, allocations: 0.9823 MB / 1.017 GB, free: 18.64 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.7568, allocations: 10.91 kB / 1.017 GB, free: 18.64 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001063/0.7569, allocations: 101.5 kB / 1.017 GB, free: 18.6 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009041/0.7578, allocations: 167.3 kB / 1.017 GB, free: 18.56 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007726/0.7586, allocations: 485.8 kB / 1.018 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.413e-05/0.7586, allocations: 45.06 kB / 1.018 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.248e-05/0.7587, allocations: 53.72 kB / 1.018 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008646/0.7595, allocations: 0.6437 MB / 1.019 GB, free: 18.28 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.7596, allocations: 2.594 kB / 1.019 GB, free: 18.28 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.27e-05/0.7596, allocations: 25.5 kB / 1.019 GB, free: 18.28 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.95e-05/0.7596, allocations: 28.28 kB / 1.019 GB, free: 18.28 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007387/0.7604, allocations: 0.5103 MB / 1.019 GB, free: 18.27 MB / 0.7325 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.002845/0.7632, allocations: 2.251 MB / 1.021 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004246/0.7637, allocations: 248.6 kB / 1.022 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001962/0.7638, allocations: 127.4 kB / 1.022 GB, free: 17.22 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.126e-05/0.7639, allocations: 9.844 kB / 1.022 GB, free: 17.22 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.7639, allocations: 42 kB / 1.022 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=20): time 1.212e-06/0.7639, allocations: 1.375 kB / 1.022 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20): time 0.001458/0.7654, allocations: 0.5142 MB / 1.022 GB, free: 17.1 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.092e-05/0.7654, allocations: 79.39 kB / 1.022 GB, free: 17 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005525/0.766, allocations: 0.5609 MB / 1.023 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.532e-05/0.766, allocations: 32.58 kB / 1.023 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001871/0.7662, allocations: 342 kB / 1.023 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.908e-05/0.7662, allocations: 70.45 kB / 1.023 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.311e-05/0.7663, allocations: 67.97 kB / 1.023 GB, free: 16.6 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.7665, allocations: 365.6 kB / 1.024 GB, free: 16.28 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002204/0.7667, allocations: 134 kB / 1.024 GB, free: 16.28 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002496/0.767, allocations: 219.6 kB / 1.024 GB, free: 16.19 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004394/0.7674, allocations: 334.5 kB / 1.024 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.7674, allocations: 2.172 kB / 1.024 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007451/0.7682, allocations: 0.4917 MB / 1.025 GB, free: 16.03 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.7682, allocations: 5.75 kB / 1.025 GB, free: 16.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/0.7682, allocations: 3.625 kB / 1.025 GB, free: 16.03 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000294/0.7685, allocations: 91.66 kB / 1.025 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002912/0.7688, allocations: 81.64 kB / 1.025 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002622/0.7714, allocations: 3.129 MB / 1.028 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004566/0.7718, allocations: 59.97 kB / 1.028 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.118e-05/0.7719, allocations: 10.28 kB / 1.028 GB, free: 13.53 MB / 0.7325 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.0002432/0.7721, allocations: 216.9 kB / 1.028 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.338e-05/0.7722, allocations: 56.8 kB / 1.028 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.891e-05/0.7723, allocations: 56.5 kB / 1.029 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.7723, allocations: 0 / 1.029 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.7723, allocations: 3.719 kB / 1.029 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006561/0.7729, allocations: 0.5374 MB / 1.029 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/0.774, allocations: 0.8947 MB / 1.03 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.774, allocations: 0 / 1.03 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001869/0.7742, allocations: 43.03 kB / 1.03 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001619/0.7743, allocations: 70.19 kB / 1.03 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.7743, allocations: 3.984 kB / 1.03 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001425/0.7758, allocations: 1.726 MB / 1.032 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.7758, allocations: 0 / 1.032 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005263/0.7763, allocations: 437.5 kB / 1.032 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002015/0.7765, allocations: 92.05 kB / 1.032 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.615e-05/0.7766, allocations: 4.469 kB / 1.032 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003948/0.777, allocations: 26.39 kB / 1.032 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.873e-05/0.777, allocations: 21.53 kB / 1.032 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.68e-05/0.7771, allocations: 13.3 kB / 1.032 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003654/0.7774, allocations: 399.5 kB / 1.033 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.7774, allocations: 0 / 1.033 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005879/0.778, allocations: 209.6 kB / 1.033 GB, free: 11.15 MB / 0.7325 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.0009822/0.779, allocations: 1.02 MB / 1.034 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007741/0.7798, allocations: 0.5179 MB / 1.034 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.7798, allocations: 3.656 kB / 1.034 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003221/0.7801, allocations: 247.4 kB / 1.035 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001449/0.7815, allocations: 373.2 kB / 1.035 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005044/0.7866, allocations: 4.48 MB / 1.039 GB, free: 8.254 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004991/0.7871, allocations: 0.9067 MB / 1.04 GB, free: 7.555 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003938/0.7875, allocations: 114.1 kB / 1.04 GB, free: 7.539 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002064/0.7877, allocations: 191.6 kB / 1.041 GB, free: 7.531 MB / 0.7325 GB Notification: Performance of SimCode: time 5.21e-07/0.7877, allocations: 0 / 1.041 GB, free: 7.531 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04799/0.8357, allocations: 18.17 MB / 1.058 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12/12.84, allocations: 3.375 kB / 1.058 GB, free: 2.105 MB / 0.7325 GB " [Timeout remaining time 647] (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.72172518699881] Failed to read output from testmodel.py, exit status != 0: 12.953327162002097 12.967189832 12.20931183 Calling exit ...