Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001874/0.001874, allocations: 117 kB / 17.13 MB, free: 5.941 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.002074/0.002074, allocations: 196.7 kB / 20.08 MB, free: 3.008 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.393/1.393, allocations: 225.6 MB / 248.5 MB, free: 3.629 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8248/0.8248, allocations: 129.2 MB / 432.5 MB, free: 13.02 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001809/0.001809, allocations: 64.09 kB / 0.5987 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3636/0.3654, allocations: 83.43 MB / 0.6802 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.2016/0.5669, allocations: 171.6 MB / 0.8477 GB, free: 1.805 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.007875/0.5748, allocations: 4.312 MB / 0.8519 GB, free: 13.48 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008386/0.5756, allocations: 19.88 kB / 0.8519 GB, free: 13.46 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001203/0.5768, allocations: 361.9 kB / 0.8523 GB, free: 13.11 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002816/0.5797, allocations: 1.034 MB / 0.8533 GB, free: 12.07 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002286/0.5819, allocations: 0.8214 MB / 0.8541 GB, free: 11.25 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001933/0.5839, allocations: 1.298 MB / 0.8554 GB, free: 9.941 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007293/0.5846, allocations: 406.1 kB / 0.8558 GB, free: 9.547 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001556/0.5862, allocations: 0.7279 MB / 0.8565 GB, free: 8.816 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001077/0.5872, allocations: 468.7 kB / 0.8569 GB, free: 8.359 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 8.414e-05/0.5873, allocations: 52 kB / 0.857 GB, free: 8.309 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001571/0.5889, allocations: 0.9393 MB / 0.8579 GB, free: 7.367 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.000238/0.5891, allocations: 223.3 kB / 0.8581 GB, free: 7.148 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0003693/0.5895, allocations: 334.5 kB / 0.8584 GB, free: 6.82 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001597/0.5911, allocations: 1.141 MB / 0.8595 GB, free: 5.676 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.5911, allocations: 3.938 kB / 0.8595 GB, free: 5.672 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.203e-06/0.5911, allocations: 0 / 0.8595 GB, free: 5.672 MB / 0.67 GB Notification: Performance of Transformations before backend: time 8.175e-06/0.5911, allocations: 0 / 0.8595 GB, free: 5.672 MB / 0.67 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.001674/0.5928, allocations: 0.9611 MB / 0.8605 GB, free: 4.656 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.5928, allocations: 8.031 kB / 0.8605 GB, free: 4.648 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001026/0.5929, allocations: 86.52 kB / 0.8606 GB, free: 4.555 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001582/0.5945, allocations: 271.2 kB / 0.8608 GB, free: 4.289 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009365/0.5954, allocations: 0.4978 MB / 0.8613 GB, free: 3.75 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.908e-05/0.5955, allocations: 32.98 kB / 0.8613 GB, free: 3.719 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.7e-05/0.5956, allocations: 40 kB / 0.8614 GB, free: 3.68 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001231/0.5968, allocations: 0.6185 MB / 0.862 GB, free: 3.039 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.5968, allocations: 0 / 0.862 GB, free: 3.039 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.467e-05/0.5969, allocations: 19.98 kB / 0.862 GB, free: 3.02 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.035e-05/0.5969, allocations: 17 kB / 0.862 GB, free: 3.004 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001385/0.5983, allocations: 0.5581 MB / 0.8626 GB, free: 2.445 MB / 0.67 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.004022/0.6023, allocations: 2.257 MB / 0.8648 GB, free: 64 kB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2906/0.8929, allocations: 271.7 kB / 0.865 GB, free: 178.3 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005133/0.8934, allocations: 164.8 kB / 0.8652 GB, free: 178.3 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/0.8935, allocations: 1.969 kB / 0.8652 GB, free: 178.3 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.8935, allocations: 33.48 kB / 0.8652 GB, free: 178.3 MB / 0.67 GB Notification: Performance of pre-optimization done (n=11): time 2.444e-06/0.8935, allocations: 1.75 kB / 0.8652 GB, free: 178.3 MB / 0.67 GB Notification: Performance of matching and sorting (n=11): time 0.004965/0.8984, allocations: 1.097 MB / 0.8663 GB, free: 178.1 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.8985, allocations: 85.89 kB / 0.8664 GB, free: 178 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006424/0.8991, allocations: 0.5448 MB / 0.8669 GB, free: 177.8 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.172e-05/0.8992, allocations: 31.64 kB / 0.8669 GB, free: 177.7 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001664/0.8993, allocations: 311 kB / 0.8672 GB, free: 177.6 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 3.53e-05/0.8994, allocations: 43.33 kB / 0.8673 GB, free: 177.5 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.8995, allocations: 58.8 kB / 0.8673 GB, free: 177.5 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 8.306e-05/0.8996, allocations: 356.7 kB / 0.8677 GB, free: 177.2 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005615/0.9001, allocations: 188.3 kB / 0.8678 GB, free: 177.1 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006096/0.9007, allocations: 265.6 kB / 0.8681 GB, free: 177 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/0.9018, allocations: 412.2 kB / 0.8685 GB, free: 176.8 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.9018, allocations: 4.781 kB / 0.8685 GB, free: 176.8 MB / 0.67 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002548/0.9044, allocations: 0.7243 MB / 0.8692 GB, free: 176.6 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.9044, allocations: 7.625 kB / 0.8692 GB, free: 176.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.9044, allocations: 2.562 kB / 0.8692 GB, free: 176.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006409/0.905, allocations: 189.6 kB / 0.8694 GB, free: 176.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003623/0.9054, allocations: 68.3 kB / 0.8695 GB, free: 176.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003431/0.9088, allocations: 2.234 MB / 0.8716 GB, free: 174.9 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005294/0.9094, allocations: 77.52 kB / 0.8717 GB, free: 174.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.889e-05/0.9094, allocations: 8.188 kB / 0.8717 GB, free: 174.9 MB / 0.67 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.0002092/0.9096, allocations: 198.4 kB / 0.8719 GB, free: 174.7 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.089e-05/0.9097, allocations: 60.33 kB / 0.872 GB, free: 174.7 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.452e-05/0.9098, allocations: 48.56 kB / 0.872 GB, free: 174.7 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.9098, allocations: 4.688 kB / 0.872 GB, free: 174.7 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.9098, allocations: 1.156 kB / 0.872 GB, free: 174.7 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.9098, allocations: 0 / 0.872 GB, free: 174.7 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002695/0.9125, allocations: 1.132 MB / 0.8731 GB, free: 174.1 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.9125, allocations: 0.6875 kB / 0.8731 GB, free: 174.1 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002219/0.9127, allocations: 44.48 kB / 0.8732 GB, free: 174.1 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004853/0.9132, allocations: 186 kB / 0.8733 GB, free: 174.1 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.092e-05/0.9132, allocations: 9.844 kB / 0.8733 GB, free: 174.1 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003025/0.9162, allocations: 2.183 MB / 0.8755 GB, free: 172.3 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.9162, allocations: 0.8438 kB / 0.8755 GB, free: 172.3 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002321/0.9185, allocations: 0.6991 MB / 0.8762 GB, free: 171.8 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002564/0.9188, allocations: 174 kB / 0.8763 GB, free: 171.7 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.861e-05/0.9189, allocations: 1.594 kB / 0.8763 GB, free: 171.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005438/0.9194, allocations: 53.56 kB / 0.8764 GB, free: 171.6 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.233e-05/0.9195, allocations: 13.02 kB / 0.8764 GB, free: 171.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-05/0.9195, allocations: 15.98 kB / 0.8764 GB, free: 171.6 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005363/0.9201, allocations: 400.4 kB / 0.8768 GB, free: 171.4 MB / 0.67 GB Notification: Performance of sort global known variables: time 7.1e-08/0.9201, allocations: 0 / 0.8768 GB, free: 171.4 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007423/0.9208, allocations: 183.6 kB / 0.877 GB, free: 171.4 MB / 0.67 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.002826/0.9236, allocations: 1.305 MB / 0.8782 GB, free: 170.4 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001348/0.925, allocations: 0.5254 MB / 0.8788 GB, free: 170.1 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.925, allocations: 4.625 kB / 0.8788 GB, free: 170.1 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.000592/0.9256, allocations: 294.6 kB / 0.879 GB, free: 169.9 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001199/0.9268, allocations: 304.4 kB / 0.8793 GB, free: 169.7 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009744/0.9365, allocations: 5.076 MB / 0.8843 GB, free: 166.5 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002775/0.9368, allocations: 0.8627 MB / 0.8851 GB, free: 165.7 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0004195/0.9372, allocations: 102.9 kB / 0.8852 GB, free: 165.7 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001766/0.9374, allocations: 163.4 kB / 0.8854 GB, free: 165.6 MB / 0.67 GB Notification: Performance of SimCode: time 7.71e-07/0.9374, allocations: 0 / 0.8854 GB, free: 165.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04195/0.9793, allocations: 16.98 MB / 0.902 GB, free: 155.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.03/13.01, allocations: 11.98 kB / 0.902 GB, free: 155.7 MB / 0.67 GB " [Timeout remaining time 647] (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.385588614735752] Failed to read output from testmodel.py, exit status != 0: 13.110262958332896 13.126111458 12.531747904 Calling exit ...