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.0008441/0.0008441, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.000786/0.000786, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8819/0.8819, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 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.00156/0.00156, allocations: 237.6 kB / 259.4 MB, free: 13 MB / 250.7 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 0.6831/0.6831, allocations: 138.4 MB / 454.3 MB, free: 30.05 MB / 410.7 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: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 0.6463 GB, free: 1.895 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.26e-05/2.447e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.887 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.3705/0.3705, allocations: 150.8 MB / 0.7936 GB, free: 4.211 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005403/0.3759, allocations: 4.03 MB / 0.7975 GB, free: 172 kB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006423/0.3765, allocations: 31.75 kB / 0.7975 GB, free: 140 kB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0008468/0.3774, allocations: 337.8 kB / 0.7979 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002298/0.3797, allocations: 1.314 MB / 0.7992 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001503/0.3812, allocations: 0.8451 MB / 0.8 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001636/0.3828, allocations: 1.754 MB / 0.8017 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005499/0.3834, allocations: 441.7 kB / 0.8021 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001094/0.3845, allocations: 0.9231 MB / 0.803 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001016/0.3855, allocations: 0.5232 MB / 0.8035 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 8.413e-05/0.3856, allocations: 64 kB / 0.8036 GB, free: 9.945 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001093/0.3866, allocations: 0.6776 MB / 0.8042 GB, free: 9.266 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002249/0.3869, allocations: 295.2 kB / 0.8045 GB, free: 8.977 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002551/0.3871, allocations: 291.4 kB / 0.8048 GB, free: 8.691 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001442/0.3886, allocations: 1.305 MB / 0.8061 GB, free: 7.383 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3886, allocations: 0 / 0.8061 GB, free: 7.383 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3886, allocations: 0 / 0.8061 GB, free: 7.383 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.171e-05/0.3886, allocations: 0 / 0.8061 GB, free: 7.383 MB / 0.6355 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.001299/0.3899, allocations: 0.9768 MB / 0.807 GB, free: 6.375 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.3899, allocations: 9.938 kB / 0.807 GB, free: 6.367 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.781e-05/0.39, allocations: 98.5 kB / 0.8071 GB, free: 6.262 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005558/0.3906, allocations: 167.4 kB / 0.8073 GB, free: 6.098 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005986/0.3912, allocations: 490.8 kB / 0.8078 GB, free: 5.59 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.67e-05/0.3912, allocations: 37.31 kB / 0.8078 GB, free: 5.551 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.949e-05/0.3912, allocations: 59.94 kB / 0.8079 GB, free: 5.492 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008279/0.3921, allocations: 1.004 MB / 0.8088 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.3921, allocations: 0 / 0.8088 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.063e-05/0.3921, allocations: 24 kB / 0.8089 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.674e-05/0.3922, allocations: 25.31 kB / 0.8089 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005839/0.3927, allocations: 0.5087 MB / 0.8094 GB, free: 3.832 MB / 0.6355 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.002099/0.3948, allocations: 1.663 MB / 0.811 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003426/0.3952, allocations: 243.7 kB / 0.8112 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000148/0.3953, allocations: 124.6 kB / 0.8114 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.796e-05/0.3954, allocations: 4 kB / 0.8114 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.3954, allocations: 42.5 kB / 0.8114 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=20): time 2.415e-06/0.3954, allocations: 0 / 0.8114 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of matching and sorting (n=20): time 0.000995/0.3964, allocations: 0.5236 MB / 0.8119 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.3964, allocations: 77.11 kB / 0.812 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004681/0.3969, allocations: 0.569 MB / 0.8125 GB, free: 500 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.3969, allocations: 29.7 kB / 0.8126 GB, free: 464 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001861/0.3971, allocations: 343.7 kB / 0.8129 GB, free: 116 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.722e-05/0.3972, allocations: 67.44 kB / 0.813 GB, free: 48 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.902e-05/0.3973, allocations: 73.91 kB / 0.813 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.3974, allocations: 366.7 kB / 0.8134 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.3975, allocations: 132.6 kB / 0.8135 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002079/0.3977, allocations: 241 kB / 0.8137 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003433/0.3981, allocations: 333.1 kB / 0.8141 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.3981, allocations: 5.375 kB / 0.8141 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000563/0.3986, allocations: 0.4911 MB / 0.8145 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.3987, allocations: 8 kB / 0.8145 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.3987, allocations: 0 / 0.8145 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002025/0.3989, allocations: 93.66 kB / 0.8146 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001662/0.399, allocations: 71.89 kB / 0.8147 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002041/0.4011, allocations: 3.123 MB / 0.8178 GB, free: 10.81 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002714/0.4014, allocations: 51.61 kB / 0.8178 GB, free: 10.76 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.841e-05/0.4014, allocations: 16.09 kB / 0.8178 GB, free: 10.75 MB / 0.6511 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.0002092/0.4016, allocations: 221.7 kB / 0.818 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.005e-05/0.4016, allocations: 55.67 kB / 0.8181 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.441e-05/0.4017, allocations: 56.44 kB / 0.8181 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.4017, allocations: 4.75 kB / 0.8181 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.4017, allocations: 0 / 0.8181 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004197/0.4021, allocations: 0.5371 MB / 0.8187 GB, free: 9.801 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007792/0.4029, allocations: 0.8067 MB / 0.8195 GB, free: 8.938 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.4029, allocations: 4 kB / 0.8195 GB, free: 8.934 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.403, allocations: 47.03 kB / 0.8195 GB, free: 8.891 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001191/0.4031, allocations: 68.73 kB / 0.8196 GB, free: 8.82 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.4031, allocations: 8.062 kB / 0.8196 GB, free: 8.812 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009996/0.4041, allocations: 1.706 MB / 0.8212 GB, free: 6.996 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.4041, allocations: 3.938 kB / 0.8212 GB, free: 6.992 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003701/0.4045, allocations: 434.9 kB / 0.8217 GB, free: 6.543 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001404/0.4047, allocations: 99.62 kB / 0.8218 GB, free: 6.445 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.206e-05/0.4047, allocations: 0 / 0.8218 GB, free: 6.445 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002047/0.4049, allocations: 25.25 kB / 0.8218 GB, free: 6.426 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.379e-05/0.405, allocations: 27.88 kB / 0.8218 GB, free: 6.398 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.044e-05/0.405, allocations: 16 kB / 0.8218 GB, free: 6.383 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002946/0.4053, allocations: 398.8 kB / 0.8222 GB, free: 5.996 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5e-08/0.4053, allocations: 0 / 0.8222 GB, free: 5.996 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004639/0.4057, allocations: 203.7 kB / 0.8224 GB, free: 5.797 MB / 0.6511 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.0007254/0.4065, allocations: 1.021 MB / 0.8234 GB, free: 4.742 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006046/0.4071, allocations: 0.5204 MB / 0.8239 GB, free: 4.195 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4071, allocations: 0 / 0.8239 GB, free: 4.195 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001989/0.4073, allocations: 257.5 kB / 0.8241 GB, free: 3.934 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000946/0.4082, allocations: 370.5 kB / 0.8245 GB, free: 3.609 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00437/0.4126, allocations: 4.464 MB / 0.8289 GB, free: 14.97 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002191/0.4128, allocations: 302.7 kB / 0.8292 GB, free: 14.65 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.000318/0.4131, allocations: 123.5 kB / 0.8293 GB, free: 14.53 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001773/0.4133, allocations: 196.4 kB / 0.8295 GB, free: 14.34 MB / 0.6667 GB Notification: Performance of SimCode: time 1.293e-06/0.4133, allocations: 0 / 0.8295 GB, free: 14.34 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03562/0.4489, allocations: 19.58 MB / 0.8486 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.971/8.42, allocations: 2.75 kB / 0.8486 GB, free: 11.32 MB / 0.6823 GB " [Timeout remaining time 651] (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: 11.009302677586675] Failed to read output from testmodel.py, exit status != 0: 8.520010677166283 8.532487245 8.141725684 Calling exit ...