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.001766/0.001766, allocations: 109 kB / 20.48 MB, free: 1.473 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.002363/0.002363, allocations: 210.7 kB / 23.79 MB, free: 4.684 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 / 257.6 MB, free: 7.992 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.9016/0.9016, allocations: 150 MB / 464 MB, free: 10.48 MB / 366.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.001889/0.001889, allocations: 66.25 kB / 0.642 GB, free: 10.36 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1648, allocations: 89.18 MB / 0.7291 GB, free: 1.25 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.526/0.6908, allocations: 174.7 MB / 0.8997 GB, free: 8.648 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.007052/0.6978, allocations: 4.329 MB / 0.9039 GB, free: 4.309 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008141/0.6987, allocations: 27.81 kB / 0.9039 GB, free: 4.281 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001124/0.6998, allocations: 366 kB / 0.9043 GB, free: 3.922 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002633/0.7024, allocations: 1.054 MB / 0.9053 GB, free: 2.863 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002067/0.7045, allocations: 0.8334 MB / 0.9061 GB, free: 2.039 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001731/0.7062, allocations: 1.31 MB / 0.9074 GB, free: 0.7266 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005444/0.7068, allocations: 376 kB / 0.9078 GB, free: 360 kB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001274/0.708, allocations: 0.7395 MB / 0.9085 GB, free: 15.61 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001149/0.7092, allocations: 485.5 kB / 0.909 GB, free: 15.14 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 8.636e-05/0.7093, allocations: 52 kB / 0.909 GB, free: 15.09 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00177/0.711, allocations: 0.9549 MB / 0.9099 GB, free: 14.13 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.000271/0.7113, allocations: 219.3 kB / 0.9101 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0003929/0.7117, allocations: 330.5 kB / 0.9105 GB, free: 13.59 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001747/0.7134, allocations: 1.137 MB / 0.9116 GB, free: 12.45 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.7135, allocations: 0 / 0.9116 GB, free: 12.45 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.283e-06/0.7135, allocations: 0 / 0.9116 GB, free: 12.45 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 9.528e-06/0.7135, allocations: 0 / 0.9116 GB, free: 12.45 MB / 0.6856 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.001623/0.7151, allocations: 0.8996 MB / 0.9124 GB, free: 11.52 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.7151, allocations: 12.03 kB / 0.9125 GB, free: 11.51 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.544e-05/0.7152, allocations: 9 kB / 0.9125 GB, free: 11.5 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001002/0.7153, allocations: 86.52 kB / 0.9126 GB, free: 11.41 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001583/0.7168, allocations: 267.3 kB / 0.9128 GB, free: 11.14 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008473/0.7177, allocations: 434.6 kB / 0.9132 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.693e-05/0.7177, allocations: 40.94 kB / 0.9133 GB, free: 10.65 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.312e-05/0.7178, allocations: 36 kB / 0.9133 GB, free: 10.62 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001228/0.719, allocations: 0.6146 MB / 0.9139 GB, free: 9.977 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.719, allocations: 0 / 0.9139 GB, free: 9.977 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.523e-05/0.7191, allocations: 24 kB / 0.9139 GB, free: 9.953 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.12e-05/0.7191, allocations: 20.98 kB / 0.9139 GB, free: 9.934 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001397/0.7205, allocations: 0.5432 MB / 0.9145 GB, free: 9.391 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.003933/0.7244, allocations: 2.229 MB / 0.9166 GB, free: 7.039 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009156/0.7254, allocations: 282.3 kB / 0.9169 GB, free: 6.754 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005309/0.7259, allocations: 160.7 kB / 0.9171 GB, free: 6.594 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.7259, allocations: 4 kB / 0.9171 GB, free: 6.59 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/0.7259, allocations: 34.56 kB / 0.9171 GB, free: 6.547 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=11): time 1.092e-06/0.7259, allocations: 224 / 0.9171 GB, free: 6.547 MB / 0.6856 GB Notification: Performance of matching and sorting (n=11): time 0.004905/0.7309, allocations: 1.017 MB / 0.9181 GB, free: 5.52 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.612e-05/0.7309, allocations: 81.11 kB / 0.9182 GB, free: 5.422 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006447/0.7316, allocations: 0.5496 MB / 0.9187 GB, free: 4.859 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 4.31e-05/0.7316, allocations: 33.7 kB / 0.9187 GB, free: 4.82 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002282/0.7318, allocations: 304.1 kB / 0.919 GB, free: 4.52 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 4.925e-05/0.7319, allocations: 43.62 kB / 0.9191 GB, free: 4.477 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001262/0.732, allocations: 62.14 kB / 0.9191 GB, free: 4.41 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.7322, allocations: 358.8 kB / 0.9195 GB, free: 4.051 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006081/0.7328, allocations: 196.3 kB / 0.9197 GB, free: 3.859 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006389/0.7334, allocations: 265.2 kB / 0.9199 GB, free: 3.566 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00115/0.7346, allocations: 413.5 kB / 0.9203 GB, free: 3.133 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.7346, allocations: 0 / 0.9203 GB, free: 3.133 MB / 0.6856 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002627/0.7372, allocations: 0.7346 MB / 0.921 GB, free: 2.391 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.7372, allocations: 12.09 kB / 0.921 GB, free: 2.379 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.7372, allocations: 4 kB / 0.921 GB, free: 2.375 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006412/0.7379, allocations: 184.7 kB / 0.9212 GB, free: 2.191 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003634/0.7382, allocations: 68.89 kB / 0.9213 GB, free: 2.125 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003912/0.7421, allocations: 2.126 MB / 0.9234 GB, free: 15.89 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005722/0.7427, allocations: 72.12 kB / 0.9234 GB, free: 15.82 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.294e-05/0.7427, allocations: 11.98 kB / 0.9234 GB, free: 15.81 MB / 0.7012 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.0002702/0.743, allocations: 201.7 kB / 0.9236 GB, free: 15.6 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.7431, allocations: 59.61 kB / 0.9237 GB, free: 15.54 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.061e-05/0.7432, allocations: 48.03 kB / 0.9237 GB, free: 15.5 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.7432, allocations: 0 / 0.9237 GB, free: 15.5 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.7432, allocations: 3.875 kB / 0.9237 GB, free: 15.5 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.7432, allocations: 4 kB / 0.9237 GB, free: 15.49 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002997/0.7462, allocations: 1.101 MB / 0.9248 GB, free: 14.34 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.7462, allocations: 4 kB / 0.9248 GB, free: 14.33 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002239/0.7464, allocations: 35.95 kB / 0.9249 GB, free: 14.3 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005297/0.747, allocations: 184.8 kB / 0.925 GB, free: 14.11 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.267e-05/0.747, allocations: 3.938 kB / 0.925 GB, free: 14.11 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003651/0.7507, allocations: 2.083 MB / 0.9271 GB, free: 11.91 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.7507, allocations: 7.969 kB / 0.9271 GB, free: 11.9 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002524/0.7532, allocations: 0.6978 MB / 0.9278 GB, free: 11.18 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002537/0.7534, allocations: 99.61 kB / 0.9279 GB, free: 11.08 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.279e-05/0.7535, allocations: 3.938 kB / 0.9279 GB, free: 11.08 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005476/0.7541, allocations: 47.94 kB / 0.9279 GB, free: 11.03 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.264e-05/0.7541, allocations: 11.98 kB / 0.9279 GB, free: 11.02 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.274e-05/0.7542, allocations: 15.98 kB / 0.9279 GB, free: 11 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0004929/0.7546, allocations: 398.8 kB / 0.9283 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of sort global known variables: time 7e-08/0.7546, allocations: 96 / 0.9283 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0006302/0.7553, allocations: 187.7 kB / 0.9285 GB, free: 10.43 MB / 0.7012 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.002952/0.7582, allocations: 1.3 MB / 0.9298 GB, free: 9.094 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.00156/0.7598, allocations: 0.5152 MB / 0.9303 GB, free: 8.566 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.7598, allocations: 4 kB / 0.9303 GB, free: 8.562 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0007229/0.7605, allocations: 294.7 kB / 0.9305 GB, free: 8.262 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001391/0.7619, allocations: 305.6 kB / 0.9308 GB, free: 7.98 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01154/0.7734, allocations: 5.074 MB / 0.9358 GB, free: 2.754 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005066/0.774, allocations: 0.866 MB / 0.9366 GB, free: 1.859 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0004053/0.7744, allocations: 100.5 kB / 0.9367 GB, free: 1.762 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002397/0.7746, allocations: 159.4 kB / 0.9369 GB, free: 1.605 MB / 0.7012 GB Notification: Performance of SimCode: time 8.71e-07/0.7746, allocations: 4 kB / 0.9369 GB, free: 1.602 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04683/0.8214, allocations: 17.21 MB / 0.9537 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.01/13.83, allocations: 8.781 kB / 0.9537 GB, free: 0.7031 MB / 0.7169 GB " [Timeout remaining time 646] (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.593921362014953] Failed to read output from testmodel.py, exit status != 0: 14.013287685986143 14.033339354 13.315417003 Calling exit ...