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.001326/0.001326, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001383/0.001383, allocations: 220.6 kB / 23.03 MB, free: 4.918 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.386/1.386, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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.002421/0.002421, allocations: 275.7 kB / 313.5 MB, free: 2.613 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.157/1.157, allocations: 180.6 MB / 0.5377 GB, free: 14.46 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="cs",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.002701/0.002701, allocations: 99.98 kB / 0.7402 GB, free: 28.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1638, allocations: 95.39 MB / 0.8334 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1768/0.3406, allocations: 150.8 MB / 0.9807 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.4063/0.7469, allocations: 4.005 MB / 0.9846 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007033/0.7476, allocations: 30.28 kB / 0.9846 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0009417/0.7486, allocations: 335.8 kB / 0.9849 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00246/0.751, allocations: 1.287 MB / 0.9862 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001949/0.753, allocations: 0.8051 MB / 0.987 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002049/0.755, allocations: 1.734 MB / 0.9887 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006701/0.7557, allocations: 447.8 kB / 0.9891 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001222/0.7569, allocations: 0.7298 MB / 0.9898 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001203/0.7581, allocations: 0.5949 MB / 0.9904 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.63e-05/0.7582, allocations: 63.75 kB / 0.9904 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001243/0.7595, allocations: 0.6825 MB / 0.9911 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002776/0.7597, allocations: 279.6 kB / 0.9914 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000365/0.7601, allocations: 339.6 kB / 0.9917 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001486/0.7616, allocations: 1.254 MB / 0.9929 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.7616, allocations: 0.7812 kB / 0.9929 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7616, allocations: 0 / 0.9929 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.098e-05/0.7616, allocations: 4.578 kB / 0.9929 GB, free: 3.48 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.001759/0.7634, allocations: 0.9783 MB / 0.9939 GB, free: 18.96 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.7634, allocations: 11.91 kB / 0.9939 GB, free: 18.96 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.079e-05/0.7634, allocations: 17.97 kB / 0.9939 GB, free: 18.96 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001002/0.7635, allocations: 100.6 kB / 0.994 GB, free: 18.92 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009714/0.7645, allocations: 164.5 kB / 0.9942 GB, free: 18.88 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008063/0.7653, allocations: 492.3 kB / 0.9946 GB, free: 18.68 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.333e-05/0.7653, allocations: 38.78 kB / 0.9947 GB, free: 18.68 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.389e-05/0.7654, allocations: 49.81 kB / 0.9947 GB, free: 18.68 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001301/0.7667, allocations: 1.005 MB / 0.9957 GB, free: 18.17 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.7667, allocations: 3.156 kB / 0.9957 GB, free: 18.17 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.702e-05/0.7668, allocations: 24.84 kB / 0.9957 GB, free: 18.17 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.636e-05/0.7668, allocations: 24.2 kB / 0.9958 GB, free: 18.17 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009245/0.7678, allocations: 0.5116 MB / 0.9963 GB, free: 18.16 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.002946/0.7707, allocations: 1.665 MB / 0.9979 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005649/0.7713, allocations: 244.5 kB / 0.9981 GB, free: 17.65 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002647/0.7715, allocations: 123.5 kB / 0.9982 GB, free: 17.64 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.103e-05/0.7716, allocations: 3.531 kB / 0.9982 GB, free: 17.64 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.832e-05/0.7716, allocations: 48.03 kB / 0.9983 GB, free: 17.6 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=20): time 2.294e-06/0.7716, allocations: 0.8438 kB / 0.9983 GB, free: 17.6 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20): time 0.001785/0.7734, allocations: 0.5162 MB / 0.9988 GB, free: 17.52 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.334e-05/0.7734, allocations: 80.58 kB / 0.9989 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008199/0.7743, allocations: 0.561 MB / 0.9994 GB, free: 17.3 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.276e-05/0.7743, allocations: 32.23 kB / 0.9994 GB, free: 17.27 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002132/0.7745, allocations: 336.8 kB / 0.9998 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.454e-05/0.7746, allocations: 77.36 kB / 0.9998 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001331/0.7747, allocations: 72.38 kB / 0.9999 GB, free: 17.02 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.7749, allocations: 364.8 kB / 1 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002504/0.7751, allocations: 127.2 kB / 1 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003239/0.7755, allocations: 249.4 kB / 1.001 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000566/0.776, allocations: 326 kB / 1.001 GB, free: 16.51 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.776, allocations: 1.125 kB / 1.001 GB, free: 16.51 MB / 0.7325 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009867/0.777, allocations: 0.494 MB / 1.001 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.777, allocations: 7.234 kB / 1.001 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.777, allocations: 2.406 kB / 1.001 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000316/0.7774, allocations: 97.62 kB / 1.002 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003176/0.7777, allocations: 76.19 kB / 1.002 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002858/0.7805, allocations: 3.126 MB / 1.005 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004997/0.781, allocations: 53.81 kB / 1.005 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.671e-05/0.7811, allocations: 13.44 kB / 1.005 GB, free: 13.93 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.0002987/0.7814, allocations: 215 kB / 1.005 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.7815, allocations: 56.8 kB / 1.005 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.539e-05/0.7815, allocations: 53.8 kB / 1.005 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.329e-06/0.7815, allocations: 7.906 kB / 1.005 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.7816, allocations: 1.203 kB / 1.005 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007106/0.7823, allocations: 0.5314 MB / 1.006 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001118/0.7834, allocations: 0.8205 MB / 1.006 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.7834, allocations: 1.062 kB / 1.006 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001972/0.7836, allocations: 45.11 kB / 1.006 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001815/0.7838, allocations: 66.11 kB / 1.006 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/0.7838, allocations: 4.312 kB / 1.006 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001533/0.7853, allocations: 1.714 MB / 1.008 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.7853, allocations: 0 / 1.008 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005839/0.7859, allocations: 439.7 kB / 1.009 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001893/0.7861, allocations: 95.64 kB / 1.009 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.228e-05/0.7862, allocations: 9.953 kB / 1.009 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004063/0.7866, allocations: 16.2 kB / 1.009 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.666e-05/0.7866, allocations: 21.39 kB / 1.009 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.335e-05/0.7867, allocations: 16.75 kB / 1.009 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004246/0.7871, allocations: 399.1 kB / 1.009 GB, free: 11.58 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.7871, allocations: 2.406 kB / 1.009 GB, free: 11.58 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006384/0.7878, allocations: 201.5 kB / 1.009 GB, free: 11.56 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.001/0.7888, allocations: 1.015 MB / 1.01 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007746/0.7895, allocations: 0.5219 MB / 1.011 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.7895, allocations: 0 / 1.011 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003052/0.7898, allocations: 252 kB / 1.011 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001425/0.7913, allocations: 375.3 kB / 1.011 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005011/0.7963, allocations: 4.486 MB / 1.016 GB, free: 8.68 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002845/0.7966, allocations: 311.5 kB / 1.016 GB, free: 8.586 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004207/0.797, allocations: 113.7 kB / 1.016 GB, free: 8.57 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002073/0.7972, allocations: 193.2 kB / 1.016 GB, free: 8.562 MB / 0.7325 GB Notification: Performance of SimCode: time 6.31e-07/0.7972, allocations: 0 / 1.016 GB, free: 8.562 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04715/0.8443, allocations: 19.16 MB / 1.035 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.94/13.78, allocations: 10.12 kB / 1.035 GB, free: 6.301 MB / 0.7325 GB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.829523353022523] Failed to read output from testmodel.py, exit status != 0: 13.959303510026075 13.971597345 13.207434031 Calling exit ...