Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001235/0.001236, allocations: 113.5 kB / 17.08 MB, free: 5.84 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 191.7 kB / 20.03 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 222.9 MB / 245.7 MB, free: 4.234 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.866/0.866, allocations: 126.7 MB / 424.6 MB, free: 6.363 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 63.91 kB / 0.582 GB, free: 12.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4483/0.4502, allocations: 78.87 MB / 0.659 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.02285/0.4731, allocations: 15.05 MB / 0.6737 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008002/0.4812, allocations: 3.875 MB / 0.6775 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007839/0.482, allocations: 20.34 kB / 0.6775 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008039/0.4828, allocations: 196.6 kB / 0.6777 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002167/0.4851, allocations: 0.6766 MB / 0.6784 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001561/0.4866, allocations: 478 kB / 0.6788 GB, free: 220 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001564/0.4882, allocations: 1.072 MB / 0.6799 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000459/0.4887, allocations: 287.3 kB / 0.6802 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008994/0.4896, allocations: 459 kB / 0.6806 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003752/0.49, allocations: 255.7 kB / 0.6809 GB, free: 15 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.22e-05/0.49, allocations: 21.78 kB / 0.6809 GB, free: 15 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001563/0.4916, allocations: 0.713 MB / 0.6816 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001282/0.4917, allocations: 79.45 kB / 0.6816 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002174/0.492, allocations: 179.8 kB / 0.6818 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001193/0.4932, allocations: 0.7269 MB / 0.6825 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.4932, allocations: 4 kB / 0.6825 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.763e-06/0.4932, allocations: 1.188 kB / 0.6825 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.245e-06/0.4932, allocations: 0 / 0.6825 GB, free: 13.97 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001271/0.4945, allocations: 0.753 MB / 0.6833 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.4945, allocations: 10.25 kB / 0.6833 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.803e-05/0.4946, allocations: 55.52 kB / 0.6833 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.771e-05/0.4947, allocations: 46.59 kB / 0.6834 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001037/0.4958, allocations: 0.5164 MB / 0.6839 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/0.4958, allocations: 11.8 kB / 0.6839 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.148e-05/0.4958, allocations: 17.22 kB / 0.6839 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004033/0.4962, allocations: 179.3 kB / 0.6841 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.4963, allocations: 4 kB / 0.6841 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.183e-05/0.4963, allocations: 9.297 kB / 0.6841 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.4963, allocations: 4.125 kB / 0.6841 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003567/0.4967, allocations: 141.4 kB / 0.6842 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001323/0.498, allocations: 0.8645 MB / 0.6851 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000333/0.4983, allocations: 120.2 kB / 0.6852 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001932/0.4985, allocations: 73.91 kB / 0.6853 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00043/0.499, allocations: 339.9 kB / 0.6856 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.377e-05/0.499, allocations: 39.66 kB / 0.6856 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=12): time 1.332e-06/0.4991, allocations: 0 / 0.6856 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12): time 0.0007254/0.4998, allocations: 209.8 kB / 0.6858 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.114e-05/0.4999, allocations: 52.56 kB / 0.6859 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004918/0.5004, allocations: 348.1 kB / 0.6862 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.223e-05/0.5004, allocations: 27.17 kB / 0.6862 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001804/0.5006, allocations: 199.5 kB / 0.6864 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.175e-05/0.5007, allocations: 48.2 kB / 0.6865 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.341e-05/0.5007, allocations: 34.39 kB / 0.6865 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001931/0.5009, allocations: 338.1 kB / 0.6868 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/0.5011, allocations: 58.44 kB / 0.6869 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002027/0.5013, allocations: 85.47 kB / 0.687 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003062/0.5016, allocations: 114.2 kB / 0.6871 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.5016, allocations: 1.281 kB / 0.6871 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004276/0.5021, allocations: 192.6 kB / 0.6872 GB, free: 9.949 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.5021, allocations: 7.719 kB / 0.6873 GB, free: 9.949 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.5021, allocations: 5.094 kB / 0.6873 GB, free: 9.945 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.885e-05/0.5021, allocations: 1.156 kB / 0.6873 GB, free: 9.945 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.5023, allocations: 22.73 kB / 0.6873 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.5023, allocations: 1.031 kB / 0.6873 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001986/0.5025, allocations: 21.62 kB / 0.6873 GB, free: 9.93 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.974e-05/0.5025, allocations: 12.3 kB / 0.6873 GB, free: 9.922 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002387/0.5028, allocations: 153.9 kB / 0.6875 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001653/0.503, allocations: 90.02 kB / 0.6875 GB, free: 9.734 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002693/0.5032, allocations: 112 kB / 0.6877 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.12e-07/0.5033, allocations: 0 / 0.6877 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003831/0.5036, allocations: 176.1 kB / 0.6878 GB, free: 9.57 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.5037, allocations: 8.359 kB / 0.6878 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-06/0.5037, allocations: 5.312 kB / 0.6878 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.409e-06/0.5037, allocations: 5.328 kB / 0.6878 GB, free: 9.559 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.5038, allocations: 29.83 kB / 0.6879 GB, free: 9.547 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.863e-06/0.5038, allocations: 1.062 kB / 0.6879 GB, free: 9.547 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001768/0.504, allocations: 16.97 kB / 0.6879 GB, free: 9.539 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.504, allocations: 4.188 kB / 0.6879 GB, free: 9.539 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (12): * Single equations (assignments): 12 * 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.0001464/0.5042, allocations: 196.7 kB / 0.6881 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.586e-05/0.5042, allocations: 37.44 kB / 0.6881 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005434/0.5048, allocations: 230 kB / 0.6883 GB, free: 9.184 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.264e-05/0.5048, allocations: 5.906 kB / 0.6883 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.5048, allocations: 5.062 kB / 0.6883 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.5048, allocations: 0 / 0.6883 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001036/0.5059, allocations: 0.6271 MB / 0.689 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.5059, allocations: 0 / 0.689 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/0.506, allocations: 31.3 kB / 0.689 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.506, allocations: 2.312 kB / 0.689 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.506, allocations: 2.438 kB / 0.689 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.091e-06/0.5061, allocations: 5.328 kB / 0.689 GB, free: 8.629 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.5061, allocations: 1.188 kB / 0.689 GB, free: 8.629 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005031/0.5066, allocations: 324.4 kB / 0.6893 GB, free: 8.379 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000146/0.5067, allocations: 126.7 kB / 0.6894 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.205e-05/0.5068, allocations: 1.344 kB / 0.6894 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001961/0.507, allocations: 19.98 kB / 0.6894 GB, free: 8.238 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.649e-05/0.507, allocations: 13.8 kB / 0.6895 GB, free: 8.23 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.026e-05/0.5071, allocations: 12.52 kB / 0.6895 GB, free: 8.223 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002648/0.5073, allocations: 247.9 kB / 0.6897 GB, free: 8.07 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5073, allocations: 0 / 0.6897 GB, free: 8.07 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007022/0.508, allocations: 193 kB / 0.6899 GB, free: 8.02 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001318/0.5094, allocations: 0.9934 MB / 0.6909 GB, free: 7.172 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005416/0.5099, allocations: 191.9 kB / 0.691 GB, free: 7.09 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.5099, allocations: 0 / 0.691 GB, free: 7.09 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001916/0.5101, allocations: 76.48 kB / 0.6911 GB, free: 7.059 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000829/0.511, allocations: 163.7 kB / 0.6913 GB, free: 6.969 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003826/0.5148, allocations: 2.736 MB / 0.6939 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004967/0.5153, allocations: 0.7932 MB / 0.6947 GB, free: 4.223 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000308/0.5157, allocations: 69.5 kB / 0.6948 GB, free: 4.191 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001708/0.5158, allocations: 108.8 kB / 0.6949 GB, free: 4.105 MB / 0.5137 GB Notification: Performance of SimCode: time 7.01e-07/0.5159, allocations: 4 kB / 0.6949 GB, free: 4.102 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03522/0.5511, allocations: 10.07 MB / 0.7047 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.591/9.142, allocations: 14.89 kB / 0.7047 GB, free: 14.64 MB / 0.5294 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_HydraulicDiameter.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.803249147953466] Failed to read output from testmodel.py, exit status != 0: 9.218421580037102 9.243961432 8.746041934 Calling exit ...