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.001507/0.001507, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001756/0.001756, allocations: 215.5 kB / 22.25 MB, free: 4.852 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.353/1.353, allocations: 230.6 MB / 256 MB, free: 7.789 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.00252/0.00252, allocations: 283.8 kB / 312.7 MB, free: 2.602 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.14/1.14, allocations: 180.6 MB / 0.5369 GB, free: 14.6 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.002832/0.002832, allocations: 104.1 kB / 0.7395 GB, free: 28.01 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.1665, allocations: 95.38 MB / 0.8326 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1916/0.3581, allocations: 150.9 MB / 0.98 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.4065/0.7646, allocations: 4.013 MB / 0.9839 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009036/0.7655, allocations: 30.47 kB / 0.984 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001059/0.7666, allocations: 336.4 kB / 0.9843 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002847/0.7695, allocations: 1.28 MB / 0.9855 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00237/0.7718, allocations: 0.8117 MB / 0.9863 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002353/0.7742, allocations: 1.719 MB / 0.988 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006793/0.7749, allocations: 442 kB / 0.9884 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001142/0.776, allocations: 0.7336 MB / 0.9891 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001202/0.7772, allocations: 0.5678 MB / 0.9897 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.937e-05/0.7773, allocations: 63.94 kB / 0.9897 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001376/0.7787, allocations: 0.6707 MB / 0.9904 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002931/0.779, allocations: 284.2 kB / 0.9907 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003602/0.7793, allocations: 336.6 kB / 0.991 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001608/0.7809, allocations: 1.256 MB / 0.9922 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.7809, allocations: 0 / 0.9922 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.224e-06/0.7809, allocations: 4.062 kB / 0.9922 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.48e-05/0.781, allocations: 0 / 0.9922 GB, free: 3.512 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.001774/0.7827, allocations: 0.9773 MB / 0.9932 GB, free: 18.99 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.7828, allocations: 14.56 kB / 0.9932 GB, free: 18.99 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001098/0.7829, allocations: 96.62 kB / 0.9933 GB, free: 18.95 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009313/0.7838, allocations: 171.3 kB / 0.9934 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008867/0.7847, allocations: 492 kB / 0.9939 GB, free: 18.71 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.678e-05/0.7847, allocations: 40.88 kB / 0.994 GB, free: 18.71 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.113e-05/0.7848, allocations: 49.25 kB / 0.994 GB, free: 18.71 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001417/0.7862, allocations: 1.005 MB / 0.995 GB, free: 18.2 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.7863, allocations: 0.9688 kB / 0.995 GB, free: 18.2 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.229e-05/0.7863, allocations: 24.56 kB / 0.995 GB, free: 18.2 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.397e-05/0.7864, allocations: 22.52 kB / 0.995 GB, free: 18.2 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/0.7874, allocations: 0.5081 MB / 0.9955 GB, free: 18.2 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.003234/0.7906, allocations: 1.665 MB / 0.9972 GB, free: 17.71 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005622/0.7912, allocations: 244 kB / 0.9974 GB, free: 17.69 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002645/0.7915, allocations: 127.5 kB / 0.9975 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.375e-05/0.7915, allocations: 4.375 kB / 0.9975 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/0.7915, allocations: 48.39 kB / 0.9976 GB, free: 17.63 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=20): time 1.833e-06/0.7915, allocations: 1.375 kB / 0.9976 GB, free: 17.63 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20): time 0.001784/0.7933, allocations: 0.5189 MB / 0.9981 GB, free: 17.55 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.355e-05/0.7934, allocations: 79.95 kB / 0.9981 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008662/0.7943, allocations: 0.5632 MB / 0.9987 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.29e-05/0.7943, allocations: 31.8 kB / 0.9987 GB, free: 17.29 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002602/0.7946, allocations: 343.2 kB / 0.999 GB, free: 17.11 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.04e-05/0.7946, allocations: 75.72 kB / 0.9991 GB, free: 17.07 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001355/0.7948, allocations: 72.33 kB / 0.9992 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001839/0.795, allocations: 365 kB / 0.9995 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002775/0.7952, allocations: 125.5 kB / 0.9997 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003681/0.7956, allocations: 252.7 kB / 0.9999 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006154/0.7962, allocations: 323.8 kB / 1 GB, free: 16.53 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.7962, allocations: 3.25 kB / 1 GB, free: 16.53 MB / 0.7325 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009399/0.7972, allocations: 0.4934 MB / 1.001 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.7972, allocations: 6.547 kB / 1.001 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.7972, allocations: 3.531 kB / 1.001 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002911/0.7975, allocations: 93.2 kB / 1.001 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003131/0.7978, allocations: 73.64 kB / 1.001 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003021/0.8008, allocations: 3.127 MB / 1.004 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004713/0.8013, allocations: 53.41 kB / 1.004 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.863e-05/0.8013, allocations: 13.34 kB / 1.004 GB, free: 13.96 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.0002769/0.8016, allocations: 219.7 kB / 1.004 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.765e-05/0.8017, allocations: 61.64 kB / 1.004 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.646e-05/0.8018, allocations: 56.36 kB / 1.004 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.8018, allocations: 2.75 kB / 1.004 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.8018, allocations: 3.938 kB / 1.004 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007173/0.8025, allocations: 0.5302 MB / 1.005 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00116/0.8037, allocations: 0.8209 MB / 1.006 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.8037, allocations: 1.719 kB / 1.006 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001947/0.8039, allocations: 39.11 kB / 1.006 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001747/0.804, allocations: 64.8 kB / 1.006 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/0.804, allocations: 11.61 kB / 1.006 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001584/0.8056, allocations: 1.708 MB / 1.007 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.8056, allocations: 1.125 kB / 1.007 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006047/0.8062, allocations: 435.2 kB / 1.008 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002264/0.8065, allocations: 98.69 kB / 1.008 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.707e-05/0.8065, allocations: 10.7 kB / 1.008 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004028/0.8069, allocations: 24.8 kB / 1.008 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.754e-05/0.807, allocations: 19.88 kB / 1.008 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.822e-05/0.807, allocations: 19.73 kB / 1.008 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004225/0.8075, allocations: 399.3 kB / 1.008 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.8075, allocations: 0 / 1.008 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006544/0.8081, allocations: 203.1 kB / 1.009 GB, free: 11.59 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.001098/0.8092, allocations: 1.02 MB / 1.01 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008544/0.8101, allocations: 0.5189 MB / 1.01 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.8101, allocations: 0 / 1.01 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003265/0.8104, allocations: 254 kB / 1.01 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001509/0.8119, allocations: 364.4 kB / 1.011 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005258/0.8172, allocations: 4.478 MB / 1.015 GB, free: 8.707 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/0.8175, allocations: 313.1 kB / 1.015 GB, free: 8.613 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004129/0.8179, allocations: 109 kB / 1.015 GB, free: 8.602 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002041/0.8181, allocations: 191.9 kB / 1.016 GB, free: 8.594 MB / 0.7325 GB Notification: Performance of SimCode: time 5.31e-07/0.8181, allocations: 0.875 kB / 1.016 GB, free: 8.594 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05172/0.8698, allocations: 19.55 MB / 1.035 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/13.06, allocations: 6.281 kB / 1.035 GB, free: 5.84 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 & /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.96265540830791] Failed to read output from testmodel.py, exit status != 0: 13.18165754294023 13.193412614 12.410150279 Calling exit ...