Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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.00132/0.00132, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.001605/0.001605, allocations: 215.5 kB / 22.24 MB, free: 5.258 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.337/1.337, allocations: 230.6 MB / 256 MB, free: 7.777 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.002396/0.002396, allocations: 291.5 kB / 312.7 MB, free: 2.574 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.133/1.133, allocations: 180.6 MB / 0.5369 GB, free: 14.41 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.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",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.002771/0.002771, allocations: 106.2 kB / 0.7395 GB, free: 28.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1638, allocations: 95.38 MB / 0.8326 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1788/0.3426, allocations: 150.9 MB / 0.9799 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.3896/0.7321, allocations: 4.016 MB / 0.9839 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006754/0.7328, allocations: 31 kB / 0.9839 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0009098/0.7337, allocations: 326.3 kB / 0.9842 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002382/0.7361, allocations: 1.05 MB / 0.9852 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002273/0.7384, allocations: 0.8227 MB / 0.986 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001753/0.7401, allocations: 1.302 MB / 0.9873 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005943/0.7407, allocations: 373 kB / 0.9877 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001402/0.7421, allocations: 0.7173 MB / 0.9884 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001148/0.7433, allocations: 466.3 kB / 0.9888 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.585e-05/0.7434, allocations: 54.06 kB / 0.9889 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001418/0.7448, allocations: 0.753 MB / 0.9896 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002316/0.745, allocations: 218.3 kB / 0.9898 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000293/0.7453, allocations: 278 kB / 0.9901 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001433/0.7467, allocations: 1.123 MB / 0.9912 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.7468, allocations: 0 / 0.9912 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7468, allocations: 0 / 0.9912 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.606e-06/0.7468, allocations: 0.5312 kB / 0.9912 GB, free: 3.543 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001587/0.7483, allocations: 0.8945 MB / 0.992 GB, free: 19.04 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.7484, allocations: 10.81 kB / 0.992 GB, free: 19.04 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001023/0.7485, allocations: 82.75 kB / 0.9921 GB, free: 19 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001508/0.75, allocations: 268.1 kB / 0.9924 GB, free: 18.96 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008246/0.7508, allocations: 439.6 kB / 0.9928 GB, free: 18.77 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.95e-05/0.7508, allocations: 32.34 kB / 0.9928 GB, free: 18.77 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.806e-05/0.7509, allocations: 39.34 kB / 0.9929 GB, free: 18.77 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001394/0.7523, allocations: 0.894 MB / 0.9937 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.7523, allocations: 1.859 kB / 0.9937 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.467e-05/0.7524, allocations: 24.19 kB / 0.9938 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-05/0.7524, allocations: 19.34 kB / 0.9938 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001464/0.7539, allocations: 0.5413 MB / 0.9943 GB, free: 18.34 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.003939/0.7578, allocations: 1.895 MB / 0.9962 GB, free: 17.59 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009636/0.7588, allocations: 275.3 kB / 0.9964 GB, free: 17.57 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005395/0.7593, allocations: 167 kB / 0.9966 GB, free: 17.56 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.7593, allocations: 5.344 kB / 0.9966 GB, free: 17.56 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.922e-05/0.7594, allocations: 35.3 kB / 0.9966 GB, free: 17.52 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 2.384e-06/0.7594, allocations: 0.6562 kB / 0.9966 GB, free: 17.52 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.005194/0.7646, allocations: 1.02 MB / 0.9976 GB, free: 17.45 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.121e-05/0.7646, allocations: 80.86 kB / 0.9977 GB, free: 17.36 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008421/0.7655, allocations: 0.565 MB / 0.9983 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.218e-05/0.7655, allocations: 31.2 kB / 0.9983 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002033/0.7657, allocations: 305.9 kB / 0.9986 GB, free: 17.03 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.521e-05/0.7658, allocations: 39.42 kB / 0.9986 GB, free: 17 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/0.7659, allocations: 60.98 kB / 0.9987 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001733/0.7661, allocations: 358.7 kB / 0.999 GB, free: 16.67 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006318/0.7667, allocations: 190.6 kB / 0.9992 GB, free: 16.67 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006569/0.7674, allocations: 293 kB / 0.9995 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001207/0.7686, allocations: 407.5 kB / 0.9999 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/0.7686, allocations: 2.188 kB / 0.9999 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002555/0.7711, allocations: 0.7315 MB / 1.001 GB, free: 16.4 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.7712, allocations: 6.281 kB / 1.001 GB, free: 16.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.7712, allocations: 2.469 kB / 1.001 GB, free: 16.4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005946/0.7718, allocations: 188.6 kB / 1.001 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003528/0.7721, allocations: 76.09 kB / 1.001 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003682/0.7758, allocations: 2.102 MB / 1.003 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005945/0.7764, allocations: 73.22 kB / 1.003 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.753e-05/0.7764, allocations: 11.69 kB / 1.003 GB, free: 15.13 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 (26): * Single equations (assignments): 25 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002796/0.7767, allocations: 189.3 kB / 1.003 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.606e-05/0.7768, allocations: 58.02 kB / 1.003 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.093e-05/0.7769, allocations: 53.58 kB / 1.003 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.7769, allocations: 1.219 kB / 1.003 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.7769, allocations: 0 / 1.003 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.7769, allocations: 7.141 kB / 1.003 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002843/0.7797, allocations: 1.042 MB / 1.004 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.7797, allocations: 0 / 1.004 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000225/0.78, allocations: 43.23 kB / 1.004 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004931/0.7805, allocations: 183.8 kB / 1.004 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.073e-05/0.7805, allocations: 5.641 kB / 1.005 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003359/0.7838, allocations: 2.055 MB / 1.007 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.7838, allocations: 1.188 kB / 1.007 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002357/0.7862, allocations: 0.7042 MB / 1.007 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002677/0.7865, allocations: 94.72 kB / 1.007 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.807e-05/0.7865, allocations: 8.188 kB / 1.007 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005441/0.7871, allocations: 55.77 kB / 1.007 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.999e-05/0.7871, allocations: 11.8 kB / 1.007 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.215e-05/0.7872, allocations: 15.41 kB / 1.007 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004078/0.7876, allocations: 395.8 kB / 1.008 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7876, allocations: 0.9375 kB / 1.008 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005958/0.7882, allocations: 185.3 kB / 1.008 GB, free: 13.11 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 (7): * Single equations (assignments): 6 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002793/0.791, allocations: 1.301 MB / 1.009 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001444/0.7924, allocations: 0.518 MB / 1.01 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.7924, allocations: 1.094 kB / 1.01 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006419/0.7931, allocations: 292.6 kB / 1.01 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001273/0.7943, allocations: 316.3 kB / 1.01 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01033/0.8047, allocations: 5.077 MB / 1.015 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002232/0.8049, allocations: 256.1 kB / 1.015 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004338/0.8053, allocations: 108.5 kB / 1.016 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002034/0.8055, allocations: 165.1 kB / 1.016 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of SimCode: time 1.052e-06/0.8055, allocations: 0 / 1.016 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04995/0.8555, allocations: 18.31 MB / 1.034 GB, free: 6.828 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.15/13.01, allocations: 3.562 kB / 1.034 GB, free: 6.828 MB / 0.7325 GB " [Timeout remaining time 647] (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.914209789130837] Failed to read output from testmodel.py, exit status != 0: 13.130622621625662 13.150890023 12.4004717 Calling exit ...