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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 103 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 225.6 MB / 247.8 MB, free: 3.711 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002364/0.002364, allocations: 282.6 kB / 303 MB, free: 3.613 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.004/1.004, allocations: 180.9 MB / 0.5262 GB, free: 2.762 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(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: Performance of FrontEnd - loaded program: time 0.002637/0.002637, allocations: 99.84 kB / 0.7248 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4947/0.4974, allocations: 94.15 MB / 0.8167 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1981/0.6955, allocations: 171.6 MB / 0.9843 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.007039/0.7025, allocations: 4.309 MB / 0.9885 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006957/0.7032, allocations: 23.88 kB / 0.9885 GB, free: 0.5977 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0009986/0.7042, allocations: 373.9 kB / 0.9889 GB, free: 236 kB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002892/0.7071, allocations: 1.26 MB / 0.9901 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001944/0.709, allocations: 0.8014 MB / 0.9909 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002088/0.7111, allocations: 1.692 MB / 0.9925 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006977/0.7118, allocations: 0.4906 MB / 0.993 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001171/0.713, allocations: 0.7122 MB / 0.9937 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001159/0.7142, allocations: 0.5872 MB / 0.9943 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.706e-05/0.7142, allocations: 64 kB / 0.9944 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001563/0.7158, allocations: 0.8496 MB / 0.9952 GB, free: 9.773 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003007/0.7161, allocations: 283.1 kB / 0.9955 GB, free: 9.496 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0004509/0.7166, allocations: 406.3 kB / 0.9958 GB, free: 9.098 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001884/0.7184, allocations: 1.265 MB / 0.9971 GB, free: 7.828 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.7185, allocations: 0 / 0.9971 GB, free: 7.828 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7185, allocations: 0 / 0.9971 GB, free: 7.828 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.597e-05/0.7185, allocations: 0 / 0.9971 GB, free: 7.828 MB / 0.7325 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.00189/0.7204, allocations: 1.059 MB / 0.9981 GB, free: 6.715 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.7204, allocations: 8.031 kB / 0.9981 GB, free: 6.707 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001151/0.7205, allocations: 98.52 kB / 0.9982 GB, free: 6.602 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009541/0.7215, allocations: 171.4 kB / 0.9984 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008907/0.7224, allocations: 0.5486 MB / 0.9989 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.658e-05/0.7224, allocations: 41.31 kB / 0.999 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.376e-05/0.7225, allocations: 48 kB / 0.999 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001091/0.7236, allocations: 0.6518 MB / 0.9996 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.7236, allocations: 4 kB / 0.9996 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.867e-05/0.7236, allocations: 28 kB / 0.9997 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.83e-05/0.7237, allocations: 21.31 kB / 0.9997 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009277/0.7246, allocations: 0.5087 MB / 1 GB, free: 4.527 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.00336/0.728, allocations: 2.306 MB / 1.002 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004945/0.7285, allocations: 242.8 kB / 1.003 GB, free: 1.812 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002337/0.7287, allocations: 124.7 kB / 1.003 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.968e-05/0.7287, allocations: 4 kB / 1.003 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.7288, allocations: 38.56 kB / 1.003 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=20): time 1.373e-06/0.7288, allocations: 0 / 1.003 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20): time 0.001605/0.7304, allocations: 0.6789 MB / 1.003 GB, free: 0.9102 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.251e-05/0.7304, allocations: 77.11 kB / 1.004 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006378/0.7311, allocations: 0.5574 MB / 1.004 GB, free: 252 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.636e-05/0.7311, allocations: 33.7 kB / 1.004 GB, free: 212 kB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002744/0.7314, allocations: 343.9 kB / 1.004 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.985e-05/0.7314, allocations: 75.38 kB / 1.005 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.7316, allocations: 69.98 kB / 1.005 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001677/0.7317, allocations: 362.7 kB / 1.005 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000257/0.732, allocations: 128.6 kB / 1.005 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003063/0.7323, allocations: 210.7 kB / 1.005 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005119/0.7328, allocations: 333.4 kB / 1.006 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.7328, allocations: 0 / 1.006 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008747/0.7337, allocations: 0.4908 MB / 1.006 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.7337, allocations: 8 kB / 1.006 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.7337, allocations: 0 / 1.006 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003041/0.734, allocations: 101.9 kB / 1.006 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003101/0.7343, allocations: 67.91 kB / 1.006 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0031/0.7374, allocations: 3.354 MB / 1.01 GB, free: 10.31 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000427/0.7379, allocations: 51.61 kB / 1.01 GB, free: 10.26 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.665e-05/0.7379, allocations: 20.06 kB / 1.01 GB, free: 10.24 MB / 0.7481 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.0002532/0.7381, allocations: 213.7 kB / 1.01 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.715e-05/0.7382, allocations: 55.67 kB / 1.01 GB, free: 9.969 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.598e-05/0.7383, allocations: 56.5 kB / 1.01 GB, free: 9.914 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.7383, allocations: 4 kB / 1.01 GB, free: 9.91 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.7383, allocations: 3.938 kB / 1.01 GB, free: 9.906 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007193/0.739, allocations: 0.5306 MB / 1.01 GB, free: 9.305 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001262/0.7403, allocations: 0.9084 MB / 1.011 GB, free: 8.336 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.7403, allocations: 3.938 kB / 1.011 GB, free: 8.332 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002057/0.7405, allocations: 55.97 kB / 1.011 GB, free: 8.277 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001892/0.7407, allocations: 60.81 kB / 1.011 GB, free: 8.215 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.7407, allocations: 4 kB / 1.011 GB, free: 8.211 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001726/0.7424, allocations: 1.829 MB / 1.013 GB, free: 6.238 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.7424, allocations: 0 / 1.013 GB, free: 6.238 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006146/0.7431, allocations: 439.5 kB / 1.014 GB, free: 5.785 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002631/0.7433, allocations: 168.7 kB / 1.014 GB, free: 5.602 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.868e-05/0.7434, allocations: 11.92 kB / 1.014 GB, free: 5.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003885/0.7438, allocations: 22.22 kB / 1.014 GB, free: 5.57 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.957e-05/0.7438, allocations: 19.98 kB / 1.014 GB, free: 5.551 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-05/0.7439, allocations: 11.98 kB / 1.014 GB, free: 5.539 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004746/0.7444, allocations: 402.8 kB / 1.014 GB, free: 5.148 MB / 0.7481 GB Notification: Performance of sort global known variables: time 9e-08/0.7444, allocations: 0 / 1.014 GB, free: 5.148 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005848/0.7449, allocations: 207.7 kB / 1.014 GB, free: 4.945 MB / 0.7481 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.001153/0.7461, allocations: 1.024 MB / 1.015 GB, free: 3.895 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0008645/0.747, allocations: 0.5243 MB / 1.016 GB, free: 3.344 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.747, allocations: 0 / 1.016 GB, free: 3.344 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003686/0.7473, allocations: 250.5 kB / 1.016 GB, free: 3.086 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001469/0.7488, allocations: 366.3 kB / 1.017 GB, free: 2.734 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005843/0.7546, allocations: 4.479 MB / 1.021 GB, free: 14.1 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005495/0.7552, allocations: 0.9095 MB / 1.022 GB, free: 13.16 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0003963/0.7556, allocations: 112.8 kB / 1.022 GB, free: 13.05 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002409/0.7558, allocations: 195.4 kB / 1.022 GB, free: 12.86 MB / 0.7637 GB Notification: Performance of SimCode: time 6.71e-07/0.7558, allocations: 0 / 1.022 GB, free: 12.86 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05182/0.8077, allocations: 17.9 MB / 1.04 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.52, allocations: 12.53 kB / 1.04 GB, free: 11.4 MB / 0.7794 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 & /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 sys.exit(0), Time elapsed: 16.19681664602831] Failed to read output from testmodel.py, exit status != 0: 12.623124301899225 12.63678936 11.915549158 Calling exit ...