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.001247/0.001247, 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.001379/0.001379, allocations: 218.7 kB / 22.26 MB, free: 5.121 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.353/1.353, allocations: 230.6 MB / 256 MB, free: 7.949 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.002633/0.002633, allocations: 292.4 kB / 312.7 MB, free: 2.762 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.146/1.146, allocations: 180.6 MB / 0.5369 GB, free: 13.07 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: 99.27 kB / 0.7396 GB, free: 27.99 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.1815, allocations: 95.39 MB / 0.8327 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.0449/0.2264, allocations: 42.47 MB / 0.8742 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01599/0.2423, allocations: 10.45 MB / 0.8844 GB, free: 3.496 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001936/0.2443, allocations: 79.31 kB / 0.8845 GB, free: 3.418 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001912/0.2462, allocations: 0.6716 MB / 0.8851 GB, free: 2.742 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005431/0.2516, allocations: 2.02 MB / 0.8871 GB, free: 0.7148 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003121/0.2547, allocations: 1.239 MB / 0.8883 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004942/0.2597, allocations: 3.485 MB / 0.8917 GB, free: 11.99 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001263/0.2609, allocations: 0.8146 MB / 0.8925 GB, free: 11.15 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002865/0.2638, allocations: 1.291 MB / 0.8938 GB, free: 9.863 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001332/0.2651, allocations: 0.9412 MB / 0.8947 GB, free: 8.918 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000147/0.2653, allocations: 100 kB / 0.8948 GB, free: 8.82 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002092/0.2674, allocations: 0.9396 MB / 0.8957 GB, free: 7.879 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003075/0.2677, allocations: 294.8 kB / 0.896 GB, free: 7.59 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006741/0.2684, allocations: 0.6298 MB / 0.8966 GB, free: 6.957 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002817/0.2712, allocations: 1.982 MB / 0.8985 GB, free: 4.969 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.2712, allocations: 0 / 0.8985 GB, free: 4.969 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.213e-06/0.2712, allocations: 4 kB / 0.8986 GB, free: 4.965 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.992e-05/0.2712, allocations: 3.938 kB / 0.8986 GB, free: 4.961 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.002425/0.2736, allocations: 1.473 MB / 0.9 GB, free: 3.453 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.2737, allocations: 13.34 kB / 0.9 GB, free: 3.441 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001453/0.2738, allocations: 114.7 kB / 0.9001 GB, free: 3.32 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003419/0.2742, allocations: 140.1 kB / 0.9002 GB, free: 3.184 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001793/0.276, allocations: 1.052 MB / 0.9013 GB, free: 2.094 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.663e-05/0.276, allocations: 54 kB / 0.9013 GB, free: 2.043 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.2761, allocations: 72 kB / 0.9014 GB, free: 1.973 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/0.2774, allocations: 0.7905 MB / 0.9022 GB, free: 1.145 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.331e-05/0.2774, allocations: 3.953 kB / 0.9022 GB, free: 1.141 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.339e-05/0.2775, allocations: 32 kB / 0.9022 GB, free: 1.109 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.072e-05/0.2775, allocations: 23.98 kB / 0.9022 GB, free: 1.086 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001138/0.2787, allocations: 0.5672 MB / 0.9028 GB, free: 0.5195 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.004126/0.2828, allocations: 3.484 MB / 0.9062 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000555/0.2834, allocations: 250.3 kB / 0.9064 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003248/0.2837, allocations: 158.3 kB / 0.9066 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002395/0.2839, allocations: 68.48 kB / 0.9066 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/0.2839, allocations: 38.56 kB / 0.9067 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=31): time 1.693e-06/0.2839, allocations: 0 / 0.9067 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of matching and sorting (n=31): time 0.00115/0.2851, allocations: 0.5181 MB / 0.9072 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.2851, allocations: 59.41 kB / 0.9072 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001182/0.2863, allocations: 0.9495 MB / 0.9082 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.179e-05/0.2864, allocations: 33.7 kB / 0.9082 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004202/0.2868, allocations: 0.5004 MB / 0.9087 GB, free: 10.19 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/0.2869, allocations: 123 kB / 0.9088 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001554/0.2871, allocations: 110.2 kB / 0.9089 GB, free: 9.953 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.2872, allocations: 337.9 kB / 0.9092 GB, free: 9.617 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003458/0.2875, allocations: 169.1 kB / 0.9094 GB, free: 9.453 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005037/0.288, allocations: 347.9 kB / 0.9097 GB, free: 9.035 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000842/0.2889, allocations: 0.5148 MB / 0.9102 GB, free: 8.449 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.2889, allocations: 0 / 0.9102 GB, free: 8.449 MB / 0.6544 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001158/0.2901, allocations: 0.6259 MB / 0.9108 GB, free: 7.816 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.2901, allocations: 8 kB / 0.9108 GB, free: 7.809 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.2901, allocations: 4 kB / 0.9108 GB, free: 7.805 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/0.2901, allocations: 8 kB / 0.9109 GB, free: 7.797 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004269/0.2905, allocations: 131.7 kB / 0.911 GB, free: 7.668 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.324e-05/0.2906, allocations: 15.97 kB / 0.911 GB, free: 7.652 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005405/0.2911, allocations: 79.48 kB / 0.9111 GB, free: 7.574 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.445e-05/0.2911, allocations: 32 kB / 0.9111 GB, free: 7.543 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.0003587/0.2915, allocations: 282.2 kB / 0.9114 GB, free: 7.258 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001599/0.2917, allocations: 103.3 kB / 0.9115 GB, free: 7.156 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009508/0.2926, allocations: 496.2 kB / 0.9119 GB, free: 6.668 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.175e-05/0.2926, allocations: 8 kB / 0.912 GB, free: 6.66 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.2926, allocations: 0 / 0.912 GB, free: 6.66 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007154/0.2933, allocations: 453.9 kB / 0.9124 GB, free: 6.188 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002078/0.2954, allocations: 1.342 MB / 0.9137 GB, free: 4.781 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.2954, allocations: 4 kB / 0.9137 GB, free: 4.777 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003228/0.2957, allocations: 75.83 kB / 0.9138 GB, free: 4.703 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.092e-06/0.2958, allocations: 4 kB / 0.9138 GB, free: 4.699 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.813e-05/0.2958, allocations: 12.16 kB / 0.9138 GB, free: 4.688 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.2958, allocations: 7.984 kB / 0.9138 GB, free: 4.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.2958, allocations: 4 kB / 0.9138 GB, free: 4.676 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001267/0.2971, allocations: 0.772 MB / 0.9146 GB, free: 3.875 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003266/0.2974, allocations: 155.1 kB / 0.9147 GB, free: 3.723 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.2975, allocations: 11.98 kB / 0.9147 GB, free: 3.711 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004673/0.298, allocations: 28.03 kB / 0.9147 GB, free: 3.684 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6e-05/0.298, allocations: 27.95 kB / 0.9148 GB, free: 3.656 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.99e-05/0.2981, allocations: 19.98 kB / 0.9148 GB, free: 3.637 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008422/0.2989, allocations: 0.6588 MB / 0.9154 GB, free: 2.969 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2989, allocations: 4 kB / 0.9154 GB, free: 2.965 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009269/0.2998, allocations: 339.3 kB / 0.9158 GB, free: 2.633 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.002106/0.3019, allocations: 1.592 MB / 0.9173 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0008679/0.3028, allocations: 409 kB / 0.9177 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3028, allocations: 3.938 kB / 0.9177 GB, free: 0.6016 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003626/0.3032, allocations: 180.3 kB / 0.9179 GB, free: 436 kB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002447/0.3056, allocations: 0.6156 MB / 0.9185 GB, free: 15.83 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009743/0.3154, allocations: 6.857 MB / 0.9252 GB, free: 8.668 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006652/0.316, allocations: 1.036 MB / 0.9262 GB, free: 7.602 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0007152/0.3167, allocations: 200.2 kB / 0.9264 GB, free: 7.406 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004803/0.3172, allocations: 371.3 kB / 0.9267 GB, free: 7.043 MB / 0.67 GB Notification: Performance of SimCode: time 1.132e-06/0.3172, allocations: 4 kB / 0.9267 GB, free: 7.039 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07205/0.3893, allocations: 30.27 MB / 0.9563 GB, free: 9.207 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.09/12.48, allocations: 4 kB / 0.9563 GB, free: 9.203 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 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: 16.551345384999877] Failed to read output from testmodel.py, exit status != 0: 12.611717324001802 12.627554775 12.353285314 Calling exit ...