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.001298/0.001298, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001395/0.001395, allocations: 217.2 kB / 22.26 MB, free: 5.125 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.344/1.344, allocations: 230.6 MB / 256 MB, free: 7.969 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.002382/0.002382, allocations: 290 kB / 312.7 MB, free: 2.789 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.127/1.127, allocations: 180.6 MB / 0.5369 GB, free: 13.21 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.002689/0.002689, allocations: 101.7 kB / 0.7396 GB, free: 27.88 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1586, allocations: 95.38 MB / 0.8327 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.5828/0.7414, allocations: 174.7 MB / 1.003 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006353/0.7478, allocations: 4.326 MB / 1.007 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008001/0.7486, allocations: 30.41 kB / 1.008 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001153/0.7498, allocations: 368.8 kB / 1.008 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002702/0.7525, allocations: 1.048 MB / 1.009 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00218/0.7546, allocations: 0.8413 MB / 1.01 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00208/0.7567, allocations: 1.313 MB / 1.011 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005875/0.7573, allocations: 375.1 kB / 1.011 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001246/0.7585, allocations: 0.7143 MB / 1.012 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001094/0.7596, allocations: 493.8 kB / 1.013 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.57e-05/0.7597, allocations: 51.59 kB / 1.013 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001564/0.7613, allocations: 0.9554 MB / 1.014 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001923/0.7615, allocations: 221.1 kB / 1.014 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.00048/0.762, allocations: 329.7 kB / 1.014 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001767/0.7637, allocations: 1.135 MB / 1.015 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.7637, allocations: 4.047 kB / 1.015 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.392e-06/0.7637, allocations: 0.7812 kB / 1.015 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.969e-05/0.7638, allocations: 0 / 1.015 GB, free: 3.172 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.001873/0.7656, allocations: 0.8939 MB / 1.016 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.7657, allocations: 12.56 kB / 1.016 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.399e-05/0.7658, allocations: 85.45 kB / 1.016 GB, free: 18.62 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00152/0.7673, allocations: 263.2 kB / 1.016 GB, free: 18.59 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007947/0.7681, allocations: 440 kB / 1.017 GB, free: 18.39 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.383e-05/0.7681, allocations: 37.56 kB / 1.017 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.652e-05/0.7682, allocations: 38.48 kB / 1.017 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/0.7692, allocations: 0.6116 MB / 1.017 GB, free: 18.29 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.7692, allocations: 2.188 kB / 1.017 GB, free: 18.29 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.981e-05/0.7693, allocations: 19.77 kB / 1.017 GB, free: 18.29 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.041e-05/0.7693, allocations: 24.36 kB / 1.018 GB, free: 18.29 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001147/0.7704, allocations: 0.5511 MB / 1.018 GB, free: 18.29 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.003298/0.7737, allocations: 2.219 MB / 1.02 GB, free: 17.29 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007599/0.7745, allocations: 275.7 kB / 1.02 GB, free: 17.26 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004395/0.7749, allocations: 167.3 kB / 1.021 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.775, allocations: 1.812 kB / 1.021 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.775, allocations: 44.53 kB / 1.021 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 1.192e-06/0.775, allocations: 0 / 1.021 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.004559/0.7796, allocations: 1.013 MB / 1.022 GB, free: 17.14 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.859e-05/0.7796, allocations: 78.48 kB / 1.022 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005235/0.7801, allocations: 0.5465 MB / 1.022 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.974e-05/0.7802, allocations: 30.83 kB / 1.022 GB, free: 16.89 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001697/0.7803, allocations: 310.5 kB / 1.023 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.338e-05/0.7804, allocations: 44.06 kB / 1.023 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.743e-05/0.7805, allocations: 63.75 kB / 1.023 GB, free: 16.69 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.7806, allocations: 358.7 kB / 1.023 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004963/0.7811, allocations: 191.5 kB / 1.023 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000511/0.7816, allocations: 270.6 kB / 1.023 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009182/0.7826, allocations: 407.7 kB / 1.024 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.7826, allocations: 0 / 1.024 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00223/0.7848, allocations: 0.7237 MB / 1.025 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.7848, allocations: 11.55 kB / 1.025 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.7848, allocations: 3.312 kB / 1.025 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005249/0.7853, allocations: 182.6 kB / 1.025 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003266/0.7857, allocations: 67.52 kB / 1.025 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003543/0.7892, allocations: 2.136 MB / 1.027 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005554/0.7898, allocations: 81.3 kB / 1.027 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.693e-05/0.7898, allocations: 11.62 kB / 1.027 GB, free: 14.86 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.0002189/0.79, allocations: 194.7 kB / 1.027 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.288e-05/0.7901, allocations: 51.39 kB / 1.027 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.226e-05/0.7902, allocations: 57.17 kB / 1.027 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.7902, allocations: 7.125 kB / 1.027 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.7902, allocations: 0.75 kB / 1.027 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.7902, allocations: 0 / 1.027 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002615/0.7928, allocations: 1.098 MB / 1.028 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.7928, allocations: 3.219 kB / 1.028 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000207/0.793, allocations: 36.2 kB / 1.028 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004325/0.7934, allocations: 191.1 kB / 1.029 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.7935, allocations: 0 / 1.029 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003117/0.7966, allocations: 2.099 MB / 1.031 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.7966, allocations: 0 / 1.031 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002106/0.7987, allocations: 0.7027 MB / 1.031 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002375/0.7989, allocations: 92.22 kB / 1.031 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.18e-05/0.799, allocations: 2.469 kB / 1.031 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005362/0.7995, allocations: 52.62 kB / 1.031 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.725e-05/0.7996, allocations: 22.34 kB / 1.031 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.963e-05/0.7996, allocations: 9.516 kB / 1.032 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003633/0.8, allocations: 393.8 kB / 1.032 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.8, allocations: 0 / 1.032 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006061/0.8006, allocations: 184.5 kB / 1.032 GB, free: 12.79 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.002677/0.8033, allocations: 1.304 MB / 1.033 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001316/0.8046, allocations: 0.518 MB / 1.034 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.8046, allocations: 0 / 1.034 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006066/0.8052, allocations: 296.8 kB / 1.034 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001253/0.8064, allocations: 308.7 kB / 1.034 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01079/0.8172, allocations: 5.082 MB / 1.039 GB, free: 9.965 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005162/0.8178, allocations: 0.8581 MB / 1.04 GB, free: 9.258 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003784/0.8181, allocations: 103.1 kB / 1.04 GB, free: 9.234 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001961/0.8183, allocations: 166.5 kB / 1.04 GB, free: 9.227 MB / 0.7325 GB Notification: Performance of SimCode: time 4.71e-07/0.8183, allocations: 0 / 1.04 GB, free: 9.227 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05323/0.8716, allocations: 17.2 MB / 1.057 GB, free: 3.09 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.44/13.31, allocations: 3.938 kB / 1.057 GB, free: 3.086 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: 17.21527281589806] Failed to read output from testmodel.py, exit status != 0: 13.43147649988532 13.451563610000001 12.683717454 Calling exit ...