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.001459/0.001459, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001669/0.001669, allocations: 215.3 kB / 23.04 MB, free: 5.074 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.394/1.394, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.002424/0.002424, allocations: 279.5 kB / 313.5 MB, free: 2.801 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.179/1.179, allocations: 180.6 MB / 0.5377 GB, free: 12.89 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.002755/0.002755, allocations: 95.17 kB / 0.7404 GB, free: 28.57 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1867/0.1895, allocations: 95.38 MB / 0.8335 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04961/0.2391, allocations: 42.46 MB / 0.875 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01766/0.2567, allocations: 10.46 MB / 0.8852 GB, free: 3.504 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002076/0.2588, allocations: 79.31 kB / 0.8853 GB, free: 3.426 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001937/0.2607, allocations: 0.6677 MB / 0.8859 GB, free: 2.754 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005552/0.2663, allocations: 2.02 MB / 0.8879 GB, free: 0.7266 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003371/0.2697, allocations: 1.239 MB / 0.8891 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005503/0.2752, allocations: 3.487 MB / 0.8925 GB, free: 12 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001772/0.2769, allocations: 0.8185 MB / 0.8933 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003623/0.2806, allocations: 1.284 MB / 0.8945 GB, free: 9.875 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001971/0.2825, allocations: 0.9373 MB / 0.8955 GB, free: 8.934 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003361/0.2829, allocations: 100 kB / 0.8956 GB, free: 8.836 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00266/0.2855, allocations: 0.9435 MB / 0.8965 GB, free: 7.891 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005142/0.286, allocations: 290.8 kB / 0.8968 GB, free: 7.605 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001498/0.2875, allocations: 0.6337 MB / 0.8974 GB, free: 6.969 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004567/0.2921, allocations: 1.978 MB / 0.8993 GB, free: 4.984 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.2921, allocations: 8 kB / 0.8993 GB, free: 4.977 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2921, allocations: 0 / 0.8993 GB, free: 4.977 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.142e-05/0.2922, allocations: 0 / 0.8993 GB, free: 4.977 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.003561/0.2957, allocations: 1.473 MB / 0.9008 GB, free: 3.469 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 6.005e-05/0.2958, allocations: 13.94 kB / 0.9008 GB, free: 3.457 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.106e-05/0.2958, allocations: 26.19 kB / 0.9008 GB, free: 3.43 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002006/0.296, allocations: 114.6 kB / 0.9009 GB, free: 3.309 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004825/0.2965, allocations: 148.1 kB / 0.901 GB, free: 3.164 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002225/0.2987, allocations: 1.044 MB / 0.9021 GB, free: 2.086 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.388e-05/0.2988, allocations: 58 kB / 0.9021 GB, free: 2.027 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/0.2989, allocations: 71.94 kB / 0.9022 GB, free: 1.957 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00144/0.3003, allocations: 0.7944 MB / 0.903 GB, free: 1.129 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.518e-05/0.3004, allocations: 3.953 kB / 0.903 GB, free: 1.125 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.807e-05/0.3004, allocations: 28 kB / 0.903 GB, free: 1.098 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-05/0.3005, allocations: 20 kB / 0.903 GB, free: 1.078 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001157/0.3016, allocations: 0.5711 MB / 0.9036 GB, free: 0.5078 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.00475/0.3064, allocations: 3.48 MB / 0.907 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000608/0.307, allocations: 251.4 kB / 0.9072 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003534/0.3073, allocations: 168.8 kB / 0.9074 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000281/0.3076, allocations: 60.48 kB / 0.9074 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.906e-05/0.3077, allocations: 38.56 kB / 0.9075 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=31): time 2.615e-06/0.3077, allocations: 0 / 0.9075 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of matching and sorting (n=31): time 0.001313/0.309, allocations: 0.522 MB / 0.908 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/0.309, allocations: 55.41 kB / 0.908 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001308/0.3103, allocations: 0.9495 MB / 0.909 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.041e-05/0.3104, allocations: 33.7 kB / 0.909 GB, free: 10.69 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004609/0.3108, allocations: 0.4965 MB / 0.9095 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/0.311, allocations: 127 kB / 0.9096 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001846/0.3112, allocations: 122.2 kB / 0.9097 GB, free: 9.93 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.3113, allocations: 325.9 kB / 0.91 GB, free: 9.605 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003683/0.3117, allocations: 165.2 kB / 0.9102 GB, free: 9.445 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005344/0.3122, allocations: 359.8 kB / 0.9105 GB, free: 9.016 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009462/0.3132, allocations: 0.507 MB / 0.911 GB, free: 8.438 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.3132, allocations: 4 kB / 0.911 GB, free: 8.434 MB / 0.6544 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001205/0.3144, allocations: 0.6137 MB / 0.9116 GB, free: 7.812 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.3144, allocations: 8 kB / 0.9116 GB, free: 7.805 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-05/0.3144, allocations: 8 kB / 0.9116 GB, free: 7.797 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.703e-05/0.3144, allocations: 16.48 kB / 0.9116 GB, free: 7.781 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004374/0.3149, allocations: 123.8 kB / 0.9118 GB, free: 7.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.516e-05/0.3149, allocations: 8 kB / 0.9118 GB, free: 7.652 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006159/0.3155, allocations: 83.42 kB / 0.9119 GB, free: 7.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.093e-05/0.3155, allocations: 31.98 kB / 0.9119 GB, free: 7.539 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.0003646/0.3159, allocations: 270.3 kB / 0.9121 GB, free: 7.266 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001656/0.3161, allocations: 103.3 kB / 0.9122 GB, free: 7.164 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009827/0.3171, allocations: 0.4923 MB / 0.9127 GB, free: 6.672 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/0.3171, allocations: 11.94 kB / 0.9127 GB, free: 6.66 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.3171, allocations: 0 / 0.9127 GB, free: 6.66 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007552/0.3178, allocations: 465.8 kB / 0.9132 GB, free: 6.176 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002103/0.3199, allocations: 1.331 MB / 0.9145 GB, free: 4.781 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.223e-06/0.3199, allocations: 7.969 kB / 0.9145 GB, free: 4.773 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003289/0.3203, allocations: 79.88 kB / 0.9146 GB, free: 4.695 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/0.3203, allocations: 4 kB / 0.9146 GB, free: 4.691 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.835e-05/0.3203, allocations: 11.98 kB / 0.9146 GB, free: 4.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.3203, allocations: 4 kB / 0.9146 GB, free: 4.676 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.3203, allocations: 0 / 0.9146 GB, free: 4.676 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001309/0.3216, allocations: 0.7759 MB / 0.9153 GB, free: 3.871 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003097/0.3219, allocations: 163.1 kB / 0.9155 GB, free: 3.711 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/0.322, allocations: 8 kB / 0.9155 GB, free: 3.703 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005457/0.3226, allocations: 27.97 kB / 0.9155 GB, free: 3.676 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.04e-05/0.3227, allocations: 27.95 kB / 0.9156 GB, free: 3.648 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.815e-05/0.3227, allocations: 15.98 kB / 0.9156 GB, free: 3.633 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008712/0.3236, allocations: 0.6666 MB / 0.9162 GB, free: 2.957 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3236, allocations: 8 kB / 0.9162 GB, free: 2.949 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009489/0.3245, allocations: 339.3 kB / 0.9165 GB, free: 2.617 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.002189/0.3267, allocations: 1.582 MB / 0.9181 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0008976/0.3276, allocations: 405.2 kB / 0.9185 GB, free: 0.6016 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.3276, allocations: 1.375 kB / 0.9185 GB, free: 0.6016 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003752/0.328, allocations: 184.1 kB / 0.9187 GB, free: 432 kB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002581/0.3306, allocations: 0.613 MB / 0.9193 GB, free: 15.82 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01007/0.3406, allocations: 6.865 MB / 0.926 GB, free: 8.656 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007098/0.3413, allocations: 1.036 MB / 0.927 GB, free: 7.59 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0007554/0.3421, allocations: 199.8 kB / 0.9272 GB, free: 7.398 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005028/0.3426, allocations: 367.3 kB / 0.9275 GB, free: 7.039 MB / 0.67 GB Notification: Performance of SimCode: time 1.253e-06/0.3426, allocations: 0 / 0.9275 GB, free: 7.039 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0689/0.4115, allocations: 30.3 MB / 0.9571 GB, free: 9.18 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.91/13.32, allocations: 4.062 kB / 0.9571 GB, free: 9.176 MB / 0.7012 GB " [Timeout remaining time 647] (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.514942432986572] Failed to read output from testmodel.py, exit status != 0: 13.501046738994773 13.517180406 13.221916797 Calling exit ...