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.001277/0.001277, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.00147/0.00147, allocations: 218 kB / 22.26 MB, free: 5.125 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.379/1.379, allocations: 230.6 MB / 256 MB, free: 7.977 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.002423/0.002423, allocations: 277.4 kB / 312.7 MB, free: 2.793 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.192/1.192, allocations: 180.6 MB / 0.5369 GB, free: 13.05 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",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.002822/0.002822, allocations: 95.53 kB / 0.7396 GB, free: 28.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1959/0.1987, allocations: 95.39 MB / 0.8327 GB, free: 8.625 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.0464/0.2451, allocations: 42.46 MB / 0.8742 GB, free: 14 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0162/0.2613, allocations: 10.45 MB / 0.8844 GB, free: 3.523 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002227/0.2636, allocations: 83.25 kB / 0.8845 GB, free: 3.441 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002249/0.2658, allocations: 0.6677 MB / 0.8851 GB, free: 2.77 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00594/0.2718, allocations: 2.023 MB / 0.8871 GB, free: 0.7383 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003488/0.2752, allocations: 1.238 MB / 0.8883 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005523/0.2808, allocations: 3.488 MB / 0.8917 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001724/0.2825, allocations: 0.8146 MB / 0.8925 GB, free: 11.17 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003455/0.2859, allocations: 1.291 MB / 0.8938 GB, free: 9.883 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001846/0.2878, allocations: 0.9373 MB / 0.8947 GB, free: 8.941 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003086/0.2881, allocations: 100 kB / 0.8948 GB, free: 8.844 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002588/0.2907, allocations: 0.9357 MB / 0.8957 GB, free: 7.906 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004915/0.2912, allocations: 290.8 kB / 0.896 GB, free: 7.621 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001277/0.2925, allocations: 0.6376 MB / 0.8966 GB, free: 6.98 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00411/0.2966, allocations: 1.993 MB / 0.8986 GB, free: 4.98 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.2966, allocations: 0 / 0.8986 GB, free: 4.98 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.124e-06/0.2966, allocations: 0 / 0.8986 GB, free: 4.98 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.155e-05/0.2966, allocations: 0 / 0.8986 GB, free: 4.98 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.003422/0.3001, allocations: 1.469 MB / 0.9 GB, free: 3.477 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/0.3001, allocations: 17.92 kB / 0.9 GB, free: 3.461 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000204/0.3003, allocations: 114.7 kB / 0.9001 GB, free: 3.34 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004539/0.3008, allocations: 136.1 kB / 0.9002 GB, free: 3.207 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002079/0.3028, allocations: 1.052 MB / 0.9013 GB, free: 2.117 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.305e-05/0.3029, allocations: 57.94 kB / 0.9013 GB, free: 2.062 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/0.303, allocations: 75.98 kB / 0.9014 GB, free: 1.988 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00135/0.3044, allocations: 0.7905 MB / 0.9022 GB, free: 1.16 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.558e-05/0.3044, allocations: 3.953 kB / 0.9022 GB, free: 1.156 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.599e-05/0.3045, allocations: 32 kB / 0.9022 GB, free: 1.125 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.8e-05/0.3045, allocations: 20 kB / 0.9022 GB, free: 1.105 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001094/0.3056, allocations: 0.5672 MB / 0.9028 GB, free: 0.5391 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.004274/0.3099, allocations: 3.48 MB / 0.9062 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005738/0.3104, allocations: 250.3 kB / 0.9064 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003348/0.3108, allocations: 166.5 kB / 0.9066 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002534/0.311, allocations: 64.47 kB / 0.9066 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/0.3111, allocations: 38.56 kB / 0.9067 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=31): time 1.803e-06/0.3111, allocations: 0 / 0.9067 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of matching and sorting (n=31): time 0.001233/0.3123, allocations: 0.5259 MB / 0.9072 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.005e-05/0.3123, allocations: 59.34 kB / 0.9072 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00121/0.3136, allocations: 0.9456 MB / 0.9082 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.362e-05/0.3136, allocations: 29.7 kB / 0.9082 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004294/0.314, allocations: 0.5004 MB / 0.9087 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/0.3141, allocations: 119 kB / 0.9088 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001635/0.3143, allocations: 122.2 kB / 0.9089 GB, free: 9.965 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.3145, allocations: 329.9 kB / 0.9092 GB, free: 9.637 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003443/0.3148, allocations: 161.2 kB / 0.9094 GB, free: 9.48 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005189/0.3153, allocations: 351.9 kB / 0.9097 GB, free: 9.059 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008813/0.3162, allocations: 0.5109 MB / 0.9102 GB, free: 8.477 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.3162, allocations: 4 kB / 0.9102 GB, free: 8.473 MB / 0.6544 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001161/0.3174, allocations: 0.6215 MB / 0.9108 GB, free: 7.844 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.3174, allocations: 8 kB / 0.9108 GB, free: 7.836 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.3174, allocations: 8 kB / 0.9108 GB, free: 7.828 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/0.3174, allocations: 8.062 kB / 0.9109 GB, free: 7.82 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004223/0.3178, allocations: 124.3 kB / 0.911 GB, free: 7.699 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.478e-05/0.3179, allocations: 15.94 kB / 0.911 GB, free: 7.684 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005523/0.3184, allocations: 83.42 kB / 0.9111 GB, free: 7.602 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.974e-05/0.3185, allocations: 31.92 kB / 0.9111 GB, free: 7.57 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.0003683/0.3188, allocations: 274.3 kB / 0.9114 GB, free: 7.293 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001638/0.319, allocations: 103.3 kB / 0.9115 GB, free: 7.191 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009735/0.32, allocations: 500 kB / 0.9119 GB, free: 6.699 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-05/0.32, allocations: 7.984 kB / 0.9119 GB, free: 6.691 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.32, allocations: 0 / 0.9119 GB, free: 6.691 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007409/0.3207, allocations: 453.9 kB / 0.9124 GB, free: 6.219 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002103/0.3228, allocations: 1.342 MB / 0.9137 GB, free: 4.812 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.3228, allocations: 160 / 0.9137 GB, free: 4.812 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003274/0.3232, allocations: 87.81 kB / 0.9138 GB, free: 4.727 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.702e-06/0.3232, allocations: 4 kB / 0.9138 GB, free: 4.723 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.3232, allocations: 8 kB / 0.9138 GB, free: 4.715 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.3232, allocations: 4 kB / 0.9138 GB, free: 4.711 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3232, allocations: 0 / 0.9138 GB, free: 4.711 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0013/0.3245, allocations: 0.7798 MB / 0.9145 GB, free: 3.902 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003318/0.3248, allocations: 163.2 kB / 0.9147 GB, free: 3.742 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/0.3249, allocations: 8 kB / 0.9147 GB, free: 3.734 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004562/0.3254, allocations: 27.95 kB / 0.9147 GB, free: 3.707 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.388e-05/0.3255, allocations: 27.95 kB / 0.9148 GB, free: 3.68 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-05/0.3255, allocations: 23.92 kB / 0.9148 GB, free: 3.656 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008762/0.3264, allocations: 0.6628 MB / 0.9154 GB, free: 2.984 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.3264, allocations: 0 / 0.9154 GB, free: 2.984 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009508/0.3273, allocations: 347.3 kB / 0.9158 GB, free: 2.645 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.002105/0.3294, allocations: 1.589 MB / 0.9173 GB, free: 1.02 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0008759/0.3303, allocations: 405.2 kB / 0.9177 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.3303, allocations: 4 kB / 0.9177 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003566/0.3307, allocations: 173.5 kB / 0.9179 GB, free: 464 kB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002406/0.3331, allocations: 0.6125 MB / 0.9185 GB, free: 15.86 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009619/0.3427, allocations: 6.866 MB / 0.9252 GB, free: 8.688 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006687/0.3434, allocations: 1.036 MB / 0.9262 GB, free: 7.621 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0007234/0.3441, allocations: 196.7 kB / 0.9264 GB, free: 7.43 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004828/0.3446, allocations: 371.3 kB / 0.9267 GB, free: 7.066 MB / 0.67 GB Notification: Performance of SimCode: time 9.81e-07/0.3446, allocations: 0 / 0.9267 GB, free: 7.066 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07478/0.4194, allocations: 30.27 MB / 0.9563 GB, free: 9.23 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.8/13.22, allocations: 8 kB / 0.9563 GB, free: 9.223 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.331187004921958] Failed to read output from testmodel.py, exit status != 0: 13.343342525884509 13.360234419 13.060402691 Calling exit ...