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.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.001193/0.001193, allocations: 105.8 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.001206/0.001206, allocations: 187.7 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.339/1.339, allocations: 225.6 MB / 247.8 MB, free: 3.719 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.002314/0.002314, allocations: 278.5 kB / 303 MB, free: 3.609 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 0.9968/0.9968, allocations: 180.9 MB / 0.5261 GB, free: 2.742 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.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: Performance of FrontEnd - loaded program: time 0.002625/0.002625, allocations: 99.84 kB / 0.7247 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4756/0.4783, allocations: 94.16 MB / 0.8167 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1896/0.6678, allocations: 171.5 MB / 0.9842 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00648/0.6743, allocations: 4.301 MB / 0.9884 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006719/0.675, allocations: 19.88 kB / 0.9884 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001067/0.6761, allocations: 373.9 kB / 0.9888 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002514/0.6786, allocations: 1.031 MB / 0.9898 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00205/0.6806, allocations: 0.8284 MB / 0.9906 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001691/0.6823, allocations: 1.294 MB / 0.9919 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005984/0.6829, allocations: 415.1 kB / 0.9923 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001148/0.6841, allocations: 0.6927 MB / 0.993 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001015/0.6851, allocations: 484.8 kB / 0.9934 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.034e-05/0.6852, allocations: 52 kB / 0.9935 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001479/0.6866, allocations: 0.9432 MB / 0.9944 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002331/0.6869, allocations: 223.3 kB / 0.9946 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003287/0.6872, allocations: 334.5 kB / 0.9949 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001437/0.6886, allocations: 1.137 MB / 0.996 GB, free: 9.078 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.6886, allocations: 0 / 0.996 GB, free: 9.078 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6886, allocations: 0 / 0.996 GB, free: 9.078 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.246e-06/0.6886, allocations: 0 / 0.996 GB, free: 9.078 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001598/0.6902, allocations: 0.9711 MB / 0.997 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.6903, allocations: 8.031 kB / 0.997 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001082/0.6904, allocations: 82.52 kB / 0.9971 GB, free: 7.961 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001571/0.692, allocations: 267.3 kB / 0.9973 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008994/0.6929, allocations: 0.5055 MB / 0.9978 GB, free: 7.152 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.258e-05/0.6929, allocations: 37 kB / 0.9978 GB, free: 7.113 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.302e-05/0.693, allocations: 40 kB / 0.9979 GB, free: 7.074 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001212/0.6942, allocations: 0.6107 MB / 0.9985 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.6942, allocations: 0 / 0.9985 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.533e-05/0.6942, allocations: 20 kB / 0.9985 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.217e-05/0.6943, allocations: 24.98 kB / 0.9985 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001351/0.6956, allocations: 0.5425 MB / 0.9991 GB, free: 5.852 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.003946/0.6996, allocations: 2.261 MB / 1.001 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008764/0.7004, allocations: 278.3 kB / 1.002 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005032/0.701, allocations: 172.6 kB / 1.002 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/0.701, allocations: 7.969 kB / 1.002 GB, free: 3 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.701, allocations: 38.56 kB / 1.002 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 1.203e-06/0.701, allocations: 0 / 1.002 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.004983/0.706, allocations: 1.088 MB / 1.003 GB, free: 1.836 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.281e-05/0.7061, allocations: 85.11 kB / 1.003 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00063/0.7067, allocations: 0.5495 MB / 1.003 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.073e-05/0.7067, allocations: 33.7 kB / 1.003 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002247/0.7069, allocations: 300.1 kB / 1.004 GB, free: 0.8359 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.538e-05/0.707, allocations: 43.64 kB / 1.004 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/0.7071, allocations: 57.66 kB / 1.004 GB, free: 0.7305 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.7073, allocations: 366.7 kB / 1.004 GB, free: 372 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005611/0.7078, allocations: 187.8 kB / 1.004 GB, free: 184 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006299/0.7085, allocations: 269.8 kB / 1.005 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/0.7095, allocations: 404.2 kB / 1.005 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.7095, allocations: 0 / 1.005 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002577/0.7121, allocations: 0.7258 MB / 1.006 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.7121, allocations: 12.09 kB / 1.006 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.7121, allocations: 0 / 1.006 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006006/0.7127, allocations: 180.7 kB / 1.006 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003572/0.7131, allocations: 71.88 kB / 1.006 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003973/0.7171, allocations: 2.24 MB / 1.008 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005931/0.7177, allocations: 79.52 kB / 1.008 GB, free: 12.01 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.858e-05/0.7177, allocations: 11.98 kB / 1.008 GB, free: 12 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 (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.0002657/0.718, allocations: 193.8 kB / 1.008 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.718e-05/0.7181, allocations: 47.72 kB / 1.008 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.973e-05/0.7182, allocations: 55.97 kB / 1.009 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.7182, allocations: 0 / 1.009 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-06/0.7182, allocations: 0 / 1.009 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.7182, allocations: 0 / 1.009 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002974/0.7211, allocations: 1.133 MB / 1.01 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.7211, allocations: 0 / 1.01 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002367/0.7214, allocations: 35.95 kB / 1.01 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005166/0.7219, allocations: 188.7 kB / 1.01 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.89e-05/0.7219, allocations: 4 kB / 1.01 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003529/0.7254, allocations: 2.183 MB / 1.012 GB, free: 7.941 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.7254, allocations: 4.031 kB / 1.012 GB, free: 7.938 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002356/0.7278, allocations: 0.7003 MB / 1.013 GB, free: 7.211 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002707/0.7281, allocations: 176.7 kB / 1.013 GB, free: 7.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.248e-05/0.7281, allocations: 96 / 1.013 GB, free: 7.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005396/0.7287, allocations: 55.81 kB / 1.013 GB, free: 6.965 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.513e-05/0.7287, allocations: 11.98 kB / 1.013 GB, free: 6.953 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-05/0.7288, allocations: 15.98 kB / 1.013 GB, free: 6.938 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000436/0.7292, allocations: 394.8 kB / 1.013 GB, free: 6.555 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1e-07/0.7292, allocations: 0 / 1.013 GB, free: 6.555 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005701/0.7298, allocations: 183.8 kB / 1.013 GB, free: 6.375 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 (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.002918/0.7327, allocations: 1.321 MB / 1.015 GB, free: 5.027 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001451/0.7341, allocations: 0.5101 MB / 1.015 GB, free: 4.504 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.7341, allocations: 0 / 1.015 GB, free: 4.504 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006704/0.7348, allocations: 298.9 kB / 1.016 GB, free: 4.199 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001287/0.7361, allocations: 322.8 kB / 1.016 GB, free: 3.895 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01082/0.7469, allocations: 5.078 MB / 1.021 GB, free: 14.66 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004793/0.7474, allocations: 0.8621 MB / 1.022 GB, free: 13.77 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0004058/0.7478, allocations: 104.5 kB / 1.022 GB, free: 13.67 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000232/0.748, allocations: 159.4 kB / 1.022 GB, free: 13.51 MB / 0.7637 GB Notification: Performance of SimCode: time 1.022e-06/0.748, allocations: 0 / 1.022 GB, free: 13.51 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0485/0.7965, allocations: 17 MB / 1.038 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.46, allocations: 14.61 kB / 1.039 GB, free: 12.91 MB / 0.7794 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.10737640503794] Failed to read output from testmodel.py, exit status != 0: 12.551890380680561 12.565271642 11.873963704 Calling exit ...