Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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.00151/0.00151, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001644/0.001644, allocations: 211.8 kB / 23.03 MB, free: 4.922 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.42/1.42, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.002501/0.002501, allocations: 299.2 kB / 313.5 MB, free: 2.602 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.236/1.236, allocations: 180.6 MB / 0.5377 GB, free: 14.45 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.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",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.002795/0.002795, allocations: 102.8 kB / 0.7403 GB, free: 28.42 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2109/0.2137, allocations: 95.38 MB / 0.8334 GB, free: 8.293 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.05033/0.264, allocations: 38.35 MB / 0.8709 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01582/0.2798, allocations: 9.636 MB / 0.8803 GB, free: 8.141 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002115/0.2819, allocations: 83.25 kB / 0.8803 GB, free: 8.059 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002186/0.2841, allocations: 0.6366 MB / 0.881 GB, free: 7.418 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005814/0.2899, allocations: 2.02 MB / 0.8829 GB, free: 5.391 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003736/0.2937, allocations: 1.227 MB / 0.8841 GB, free: 4.176 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.006073/0.2997, allocations: 3.474 MB / 0.8875 GB, free: 0.6875 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002117/0.3019, allocations: 0.8301 MB / 0.8883 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003528/0.3054, allocations: 1.296 MB / 0.8896 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001865/0.3073, allocations: 0.9373 MB / 0.8905 GB, free: 13.6 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003349/0.3076, allocations: 100 kB / 0.8906 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002305/0.3099, allocations: 0.7212 MB / 0.8913 GB, free: 12.78 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005351/0.3104, allocations: 290.8 kB / 0.8916 GB, free: 12.49 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001241/0.3117, allocations: 0.5055 MB / 0.8921 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003672/0.3153, allocations: 1.958 MB / 0.894 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3154, allocations: 0 / 0.894 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3154, allocations: 0 / 0.894 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.888e-05/0.3154, allocations: 0 / 0.894 GB, free: 10.02 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.003517/0.3189, allocations: 1.481 MB / 0.8955 GB, free: 8.504 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.319, allocations: 9.344 kB / 0.8955 GB, free: 8.496 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.276e-05/0.319, allocations: 22.19 kB / 0.8955 GB, free: 8.473 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001955/0.3192, allocations: 114.7 kB / 0.8956 GB, free: 8.352 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004533/0.3197, allocations: 136.1 kB / 0.8957 GB, free: 8.219 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002129/0.3218, allocations: 1.051 MB / 0.8967 GB, free: 7.133 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.115e-05/0.3218, allocations: 54 kB / 0.8968 GB, free: 7.078 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001186/0.322, allocations: 68 kB / 0.8969 GB, free: 7.012 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001556/0.3235, allocations: 0.9411 MB / 0.8978 GB, free: 6 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.053e-05/0.3235, allocations: 11.89 kB / 0.8978 GB, free: 5.988 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.107e-05/0.3236, allocations: 32 kB / 0.8978 GB, free: 5.957 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.371e-05/0.3237, allocations: 19.98 kB / 0.8978 GB, free: 5.938 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001216/0.3249, allocations: 0.5711 MB / 0.8984 GB, free: 5.367 MB / 0.6387 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.004107/0.329, allocations: 2.732 MB / 0.9011 GB, free: 2.543 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005818/0.3296, allocations: 249.3 kB / 0.9013 GB, free: 2.293 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003379/0.3299, allocations: 161.3 kB / 0.9015 GB, free: 2.133 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002486/0.3301, allocations: 67.95 kB / 0.9015 GB, free: 2.066 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.097e-05/0.3302, allocations: 50.48 kB / 0.9016 GB, free: 2.008 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=31): time 1.974e-06/0.3302, allocations: 3.938 kB / 0.9016 GB, free: 2.004 MB / 0.6387 GB Notification: Performance of matching and sorting (n=31): time 0.001226/0.3314, allocations: 0.5143 MB / 0.9021 GB, free: 1.484 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.3315, allocations: 59.41 kB / 0.9021 GB, free: 1.414 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001275/0.3327, allocations: 0.9495 MB / 0.9031 GB, free: 456 kB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.603e-05/0.3328, allocations: 37.7 kB / 0.9031 GB, free: 412 kB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004472/0.3332, allocations: 0.5004 MB / 0.9036 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001182/0.3333, allocations: 115 kB / 0.9037 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001767/0.3335, allocations: 114.2 kB / 0.9038 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.3337, allocations: 329.9 kB / 0.9041 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003709/0.334, allocations: 169.2 kB / 0.9043 GB, free: 15.17 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005947/0.3346, allocations: 0.4903 MB / 0.9048 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008482/0.3355, allocations: 0.5187 MB / 0.9053 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.3355, allocations: 0 / 0.9053 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001189/0.3367, allocations: 0.6255 MB / 0.9059 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.3367, allocations: 8 kB / 0.9059 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.908e-06/0.3367, allocations: 4 kB / 0.9059 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.448e-05/0.3367, allocations: 8 kB / 0.9059 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000437/0.3372, allocations: 128.2 kB / 0.906 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.919e-05/0.3372, allocations: 15.94 kB / 0.906 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005945/0.3378, allocations: 83.42 kB / 0.9061 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-05/0.3378, allocations: 24 kB / 0.9061 GB, free: 13.07 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (65): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003615/0.3382, allocations: 274.3 kB / 0.9064 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001859/0.3384, allocations: 103.3 kB / 0.9065 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001001/0.3394, allocations: 499.8 kB / 0.907 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/0.3394, allocations: 4 kB / 0.907 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3394, allocations: 0 / 0.907 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007462/0.3401, allocations: 465.7 kB / 0.9074 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002107/0.3422, allocations: 1.233 MB / 0.9086 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.3423, allocations: 3.938 kB / 0.9086 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000343/0.3426, allocations: 79.88 kB / 0.9087 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.927e-06/0.3426, allocations: 4 kB / 0.9087 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.749e-05/0.3426, allocations: 11.94 kB / 0.9087 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.154e-06/0.3426, allocations: 12.09 kB / 0.9087 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.3426, allocations: 0 / 0.9087 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001338/0.344, allocations: 0.7718 MB / 0.9095 GB, free: 9.512 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003458/0.3443, allocations: 159.1 kB / 0.9096 GB, free: 9.355 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001373/0.3445, allocations: 8 kB / 0.9096 GB, free: 9.348 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005183/0.345, allocations: 32.03 kB / 0.9097 GB, free: 9.316 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.816e-05/0.3451, allocations: 31.83 kB / 0.9097 GB, free: 9.285 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.397e-05/0.3451, allocations: 23.98 kB / 0.9097 GB, free: 9.262 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0009391/0.346, allocations: 0.6666 MB / 0.9104 GB, free: 8.586 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.346, allocations: 0 / 0.9104 GB, free: 8.586 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001038/0.3471, allocations: 339.3 kB / 0.9107 GB, free: 8.254 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.dynBal.U) * 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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002285/0.3494, allocations: 1.586 MB / 0.9123 GB, free: 6.629 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0009113/0.3503, allocations: 402.2 kB / 0.9126 GB, free: 6.238 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.3503, allocations: 0 / 0.9126 GB, free: 6.238 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000375/0.3507, allocations: 187.7 kB / 0.9128 GB, free: 6.055 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002576/0.3532, allocations: 0.6174 MB / 0.9134 GB, free: 5.453 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01056/0.3638, allocations: 6.841 MB / 0.9201 GB, free: 14.31 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005149/0.3643, allocations: 453.2 kB / 0.9205 GB, free: 13.84 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0007675/0.3651, allocations: 200.2 kB / 0.9207 GB, free: 13.64 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005282/0.3656, allocations: 371.3 kB / 0.9211 GB, free: 13.28 MB / 0.67 GB Notification: Performance of SimCode: time 1.022e-06/0.3656, allocations: 4 kB / 0.9211 GB, free: 13.27 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09445/0.4601, allocations: 32.27 MB / 0.9526 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.05/13.51, allocations: 10.89 kB / 0.9526 GB, free: 13.7 MB / 0.7012 GB " [Timeout remaining time 646] (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_FourPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.fmu > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.815322776092216] Failed to read output from testmodel.py, exit status != 0: 13.684108240064234 13.699778986 13.381300326 Calling exit ...