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.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.001454/0.001454, allocations: 122 kB / 17.84 MB, free: 5.254 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.001559/0.001559, allocations: 199.9 kB / 20.79 MB, free: 2.316 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.441/1.441, allocations: 230.6 MB / 254.2 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9414/0.9414, allocations: 150 MB / 460.2 MB, free: 5.281 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002124/0.002124, allocations: 65.62 kB / 0.6368 GB, free: 30.4 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.173, allocations: 89.13 MB / 0.7238 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.6175/0.7905, allocations: 174.5 MB / 0.8942 GB, free: 2.84 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.006296/0.7968, allocations: 4.313 MB / 0.8984 GB, free: 2.738 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007892/0.7976, allocations: 29.75 kB / 0.8984 GB, free: 2.738 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0009579/0.7985, allocations: 373.9 kB / 0.8988 GB, free: 2.723 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002262/0.8008, allocations: 1.031 MB / 0.8998 GB, free: 2.676 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00186/0.8026, allocations: 0.8233 MB / 0.9006 GB, free: 2.641 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001358/0.804, allocations: 1.285 MB / 0.9019 GB, free: 2.641 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004616/0.8045, allocations: 413.4 kB / 0.9023 GB, free: 2.613 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001056/0.8055, allocations: 0.7294 MB / 0.903 GB, free: 2.609 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009375/0.8064, allocations: 486.5 kB / 0.9034 GB, free: 2.602 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 8.898e-05/0.8065, allocations: 52.86 kB / 0.9035 GB, free: 2.602 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001379/0.8079, allocations: 0.9409 MB / 0.9044 GB, free: 2.59 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001891/0.8081, allocations: 220.5 kB / 0.9046 GB, free: 2.59 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0003102/0.8084, allocations: 329.1 kB / 0.9049 GB, free: 2.59 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001376/0.8098, allocations: 1.143 MB / 0.906 GB, free: 2.52 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.8098, allocations: 0 / 0.906 GB, free: 2.52 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.063e-06/0.8098, allocations: 0 / 0.906 GB, free: 2.52 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.488e-05/0.8098, allocations: 0 / 0.906 GB, free: 2.52 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.001616/0.8114, allocations: 0.9709 MB / 0.907 GB, free: 17.91 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.8115, allocations: 8.656 kB / 0.907 GB, free: 17.91 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.882e-05/0.8115, allocations: 15.06 kB / 0.907 GB, free: 17.9 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.554e-05/0.8116, allocations: 87.75 kB / 0.9071 GB, free: 17.86 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001522/0.8131, allocations: 259.1 kB / 0.9073 GB, free: 17.82 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007758/0.8139, allocations: 0.5029 MB / 0.9078 GB, free: 17.55 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.896e-05/0.8139, allocations: 30.88 kB / 0.9079 GB, free: 17.55 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.775e-05/0.814, allocations: 40.28 kB / 0.9079 GB, free: 17.55 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001081/0.815, allocations: 0.6135 MB / 0.9085 GB, free: 17.45 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.8151, allocations: 2.688 kB / 0.9085 GB, free: 17.45 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.364e-05/0.8151, allocations: 22.11 kB / 0.9085 GB, free: 17.45 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.333e-05/0.8151, allocations: 17 kB / 0.9085 GB, free: 17.45 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001261/0.8164, allocations: 0.5475 MB / 0.9091 GB, free: 17.44 MB / 0.6856 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.003515/0.8199, allocations: 2.271 MB / 0.9113 GB, free: 16.38 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008555/0.8208, allocations: 275 kB / 0.9116 GB, free: 16.35 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004974/0.8213, allocations: 160.3 kB / 0.9117 GB, free: 16.34 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 2.503e-05/0.8213, allocations: 3.125 kB / 0.9117 GB, free: 16.34 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.8213, allocations: 34.11 kB / 0.9117 GB, free: 16.3 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=11): time 1.864e-06/0.8213, allocations: 0 / 0.9117 GB, free: 16.3 MB / 0.6856 GB Notification: Performance of matching and sorting (n=11): time 0.004855/0.8262, allocations: 1.101 MB / 0.9128 GB, free: 16.09 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.686e-05/0.8262, allocations: 77.11 kB / 0.9129 GB, free: 15.99 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005103/0.8267, allocations: 0.5525 MB / 0.9134 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 4.279e-05/0.8268, allocations: 29.14 kB / 0.9135 GB, free: 15.83 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001802/0.827, allocations: 303.9 kB / 0.9138 GB, free: 15.68 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.654e-05/0.827, allocations: 47.83 kB / 0.9138 GB, free: 15.65 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.8271, allocations: 65.5 kB / 0.9139 GB, free: 15.62 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.8273, allocations: 356 kB / 0.9142 GB, free: 15.31 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005482/0.8278, allocations: 194.5 kB / 0.9144 GB, free: 15.3 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005613/0.8284, allocations: 271 kB / 0.9146 GB, free: 15.21 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/0.8294, allocations: 406.2 kB / 0.915 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.8294, allocations: 0 / 0.915 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002455/0.8319, allocations: 0.7303 MB / 0.9157 GB, free: 15.02 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.8319, allocations: 7.281 kB / 0.9158 GB, free: 15.02 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.8319, allocations: 3.375 kB / 0.9158 GB, free: 15.02 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005926/0.8325, allocations: 183.7 kB / 0.9159 GB, free: 15 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003368/0.8328, allocations: 69.44 kB / 0.916 GB, free: 15 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003692/0.8365, allocations: 2.242 MB / 0.9182 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000577/0.8371, allocations: 77.09 kB / 0.9183 GB, free: 13.58 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.578e-05/0.8371, allocations: 12.8 kB / 0.9183 GB, free: 13.58 MB / 0.6856 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.0002393/0.8374, allocations: 187.8 kB / 0.9185 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.409e-05/0.8375, allocations: 54.56 kB / 0.9185 GB, free: 13.44 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.477e-05/0.8376, allocations: 52.16 kB / 0.9186 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.8376, allocations: 0 / 0.9186 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.594e-06/0.8376, allocations: 4 kB / 0.9186 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.8376, allocations: 6.656 kB / 0.9186 GB, free: 13.42 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002819/0.8404, allocations: 1.134 MB / 0.9197 GB, free: 13.07 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.8404, allocations: 0 / 0.9197 GB, free: 13.07 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002202/0.8406, allocations: 36.3 kB / 0.9197 GB, free: 13.07 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004783/0.8411, allocations: 184.1 kB / 0.9199 GB, free: 13.05 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.227e-05/0.8411, allocations: 10.19 kB / 0.9199 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003396/0.8445, allocations: 2.187 MB / 0.922 GB, free: 11.65 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.8445, allocations: 4 kB / 0.922 GB, free: 11.65 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002287/0.8468, allocations: 0.7034 MB / 0.9227 GB, free: 11.44 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002086/0.847, allocations: 172.8 kB / 0.9229 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.28e-05/0.8471, allocations: 6.031 kB / 0.9229 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005521/0.8476, allocations: 52.12 kB / 0.9229 GB, free: 11.31 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.021e-05/0.8477, allocations: 12.77 kB / 0.9229 GB, free: 11.31 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.152e-05/0.8477, allocations: 13.19 kB / 0.923 GB, free: 11.31 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0003798/0.8481, allocations: 394.9 kB / 0.9233 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9e-08/0.8481, allocations: 0 / 0.9233 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0006038/0.8487, allocations: 185 kB / 0.9235 GB, free: 11.21 MB / 0.6856 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.002819/0.8515, allocations: 1.303 MB / 0.9248 GB, free: 10.46 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001444/0.853, allocations: 0.5152 MB / 0.9253 GB, free: 10.34 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.853, allocations: 1.203 kB / 0.9253 GB, free: 10.34 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0006655/0.8536, allocations: 299.7 kB / 0.9256 GB, free: 10.23 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001322/0.855, allocations: 305.2 kB / 0.9259 GB, free: 10.17 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01046/0.8654, allocations: 5.074 MB / 0.9308 GB, free: 8.395 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004622/0.8659, allocations: 0.8661 MB / 0.9317 GB, free: 7.688 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0004029/0.8663, allocations: 104.8 kB / 0.9318 GB, free: 7.66 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000204/0.8665, allocations: 160.6 kB / 0.9319 GB, free: 7.652 MB / 0.6856 GB Notification: Performance of SimCode: time 5.81e-07/0.8665, allocations: 0 / 0.9319 GB, free: 7.652 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04428/0.9108, allocations: 17.02 MB / 0.9485 GB, free: 248 kB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.39/13.3, allocations: 9.078 kB / 0.9485 GB, free: 244 kB / 0.6856 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: 17.218860179011244] Failed to read output from testmodel.py, exit status != 0: 13.46058743703179 13.485883093 12.671215471 Calling exit ...