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.001463/0.001463, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001596/0.001596, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.38/1.38, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.002301/0.002301, allocations: 293 kB / 309.8 MB, free: 3.465 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.008/1.008, allocations: 180.6 MB / 0.5338 GB, free: 12.41 MB / 398.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="cs",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.002799/0.002799, allocations: 103.9 kB / 0.7347 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5361/0.5389, allocations: 95.33 MB / 0.8278 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.2/0.7388, allocations: 174.5 MB / 0.9981 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.007003/0.7458, allocations: 4.307 MB / 1.002 GB, free: 6.773 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008037/0.7467, allocations: 27.75 kB / 1.002 GB, free: 6.746 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001153/0.7478, allocations: 369.9 kB / 1.003 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002742/0.7505, allocations: 1.029 MB / 1.004 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002238/0.7528, allocations: 0.8193 MB / 1.005 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001928/0.7547, allocations: 1.294 MB / 1.006 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007387/0.7554, allocations: 406.1 kB / 1.006 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001511/0.757, allocations: 0.7123 MB / 1.007 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001243/0.7582, allocations: 477.2 kB / 1.007 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001329/0.7583, allocations: 52 kB / 1.007 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001763/0.7601, allocations: 0.951 MB / 1.008 GB, free: 0.6602 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002956/0.7604, allocations: 219.3 kB / 1.009 GB, free: 456 kB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0004843/0.7609, allocations: 334.5 kB / 1.009 GB, free: 120 kB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001809/0.7627, allocations: 1.137 MB / 1.01 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.7627, allocations: 4 kB / 1.01 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.433e-06/0.7627, allocations: 0 / 1.01 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.326e-05/0.7627, allocations: 0 / 1.01 GB, free: 14.97 MB / 0.7481 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.002016/0.7647, allocations: 0.9689 MB / 1.011 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.7648, allocations: 8.031 kB / 1.011 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.262e-05/0.7648, allocations: 13 kB / 1.011 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001189/0.7649, allocations: 86.52 kB / 1.011 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001674/0.7666, allocations: 263.3 kB / 1.011 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009471/0.7675, allocations: 0.5055 MB / 1.012 GB, free: 13.03 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.074e-05/0.7676, allocations: 33 kB / 1.012 GB, free: 13 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.414e-05/0.7677, allocations: 36 kB / 1.012 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001365/0.769, allocations: 0.6107 MB / 1.012 GB, free: 12.33 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.769, allocations: 0 / 1.012 GB, free: 12.33 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.36e-05/0.7691, allocations: 24 kB / 1.012 GB, free: 12.31 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.448e-05/0.7691, allocations: 20.98 kB / 1.012 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00154/0.7707, allocations: 0.5464 MB / 1.013 GB, free: 11.74 MB / 0.7481 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.004222/0.7749, allocations: 2.265 MB / 1.015 GB, free: 9.344 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009889/0.7759, allocations: 282.2 kB / 1.015 GB, free: 9.059 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005683/0.7764, allocations: 160.7 kB / 1.016 GB, free: 8.898 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.9e-05/0.7765, allocations: 7.984 kB / 1.016 GB, free: 8.891 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.7765, allocations: 38.78 kB / 1.016 GB, free: 8.844 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=11): time 1.934e-06/0.7765, allocations: 3.938 kB / 1.016 GB, free: 8.84 MB / 0.7481 GB Notification: Performance of matching and sorting (n=11): time 0.005259/0.7818, allocations: 1.088 MB / 1.017 GB, free: 7.723 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.012e-05/0.7818, allocations: 81.05 kB / 1.017 GB, free: 7.625 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007174/0.7825, allocations: 0.5535 MB / 1.017 GB, free: 7.059 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.14e-05/0.7826, allocations: 25.7 kB / 1.017 GB, free: 7.027 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002403/0.7828, allocations: 308 kB / 1.018 GB, free: 6.723 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.442e-05/0.7829, allocations: 39.69 kB / 1.018 GB, free: 6.684 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/0.783, allocations: 61.66 kB / 1.018 GB, free: 6.617 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001777/0.7832, allocations: 358.8 kB / 1.018 GB, free: 6.258 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006271/0.7838, allocations: 183.8 kB / 1.018 GB, free: 6.078 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006886/0.7845, allocations: 278.9 kB / 1.019 GB, free: 5.773 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001212/0.7857, allocations: 405.4 kB / 1.019 GB, free: 5.348 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.7857, allocations: 0 / 1.019 GB, free: 5.348 MB / 0.7481 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002809/0.7885, allocations: 0.7337 MB / 1.02 GB, free: 4.605 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/0.7886, allocations: 5.875 kB / 1.02 GB, free: 4.602 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.7886, allocations: 4 kB / 1.02 GB, free: 4.598 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006567/0.7892, allocations: 184.8 kB / 1.02 GB, free: 4.414 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003857/0.7896, allocations: 71.88 kB / 1.02 GB, free: 4.344 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004376/0.794, allocations: 2.232 MB / 1.022 GB, free: 1.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006434/0.7946, allocations: 75.64 kB / 1.022 GB, free: 1.906 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.692e-05/0.7947, allocations: 19.98 kB / 1.022 GB, free: 1.887 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.000306/0.795, allocations: 185.7 kB / 1.022 GB, free: 1.695 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001446/0.7951, allocations: 63.61 kB / 1.022 GB, free: 1.633 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001306/0.7952, allocations: 52.03 kB / 1.022 GB, free: 1.582 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.7953, allocations: 4 kB / 1.022 GB, free: 1.578 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.7953, allocations: 0 / 1.022 GB, free: 1.578 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.7953, allocations: 3.984 kB / 1.022 GB, free: 1.574 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003322/0.7986, allocations: 1.121 MB / 1.024 GB, free: 396 kB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.7986, allocations: 4 kB / 1.024 GB, free: 392 kB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002422/0.7988, allocations: 40.02 kB / 1.024 GB, free: 352 kB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005765/0.7994, allocations: 184.6 kB / 1.024 GB, free: 164 kB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.953e-05/0.7994, allocations: 4 kB / 1.024 GB, free: 160 kB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003907/0.8033, allocations: 2.191 MB / 1.026 GB, free: 13.82 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.8033, allocations: 0 / 1.026 GB, free: 13.82 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002628/0.806, allocations: 0.7003 MB / 1.027 GB, free: 13.09 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003101/0.8063, allocations: 172.7 kB / 1.027 GB, free: 12.91 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.255e-05/0.8064, allocations: 11.94 kB / 1.027 GB, free: 12.89 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006182/0.807, allocations: 47.94 kB / 1.027 GB, free: 12.85 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.895e-05/0.807, allocations: 11.98 kB / 1.027 GB, free: 12.84 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.935e-05/0.8071, allocations: 11.98 kB / 1.027 GB, free: 12.82 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0005234/0.8076, allocations: 398.8 kB / 1.027 GB, free: 12.44 MB / 0.7637 GB Notification: Performance of sort global known variables: time 8e-08/0.8076, allocations: 0 / 1.027 GB, free: 12.44 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0006822/0.8083, allocations: 175.8 kB / 1.027 GB, free: 12.27 MB / 0.7637 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.003124/0.8114, allocations: 1.304 MB / 1.029 GB, free: 10.93 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001713/0.8131, allocations: 0.5207 MB / 1.029 GB, free: 10.39 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.8131, allocations: 0 / 1.029 GB, free: 10.39 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0007528/0.8139, allocations: 298.9 kB / 1.029 GB, free: 10.09 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001504/0.8154, allocations: 311.6 kB / 1.03 GB, free: 9.789 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01184/0.8272, allocations: 5.082 MB / 1.035 GB, free: 4.551 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000546/0.8278, allocations: 0.8582 MB / 1.036 GB, free: 3.664 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.000425/0.8282, allocations: 108.5 kB / 1.036 GB, free: 3.559 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002594/0.8285, allocations: 163.4 kB / 1.036 GB, free: 3.398 MB / 0.7637 GB Notification: Performance of SimCode: time 8.11e-07/0.8285, allocations: 0 / 1.036 GB, free: 3.398 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0453/0.8738, allocations: 17.05 MB / 1.052 GB, free: 2.77 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.77, allocations: 5.5 kB / 1.052 GB, free: 2.766 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.59895715903258] Failed to read output from testmodel.py, exit status != 0: 12.918371976003982 12.932556555 12.166967647 Calling exit ...