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.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.0009075/0.0009075, allocations: 72.5 kB / 19.92 MB, free: 4.633 MB / 18.57 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.0008839/0.0008839, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8979/0.8979, allocations: 177.1 MB / 203.5 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5658/0.5658, allocations: 114 MB / 373.9 MB, free: 8.684 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(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 1.713e-06/1.713e-06, allocations: 0 / 0.5542 GB, free: 1.715 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.968e-05/2.139e-05, allocations: 2.281 kB / 0.5542 GB, free: 1.711 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.0118/0.01182, allocations: 13.96 MB / 0.5678 GB, free: 3.699 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004269/0.01609, allocations: 3.631 MB / 0.5713 GB, free: 60 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004881/0.01658, allocations: 31.75 kB / 0.5714 GB, free: 28 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005554/0.01713, allocations: 186.6 kB / 0.5715 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.001508/0.01864, allocations: 0.7218 MB / 0.5723 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.01968, allocations: 0.5074 MB / 0.5727 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001249/0.02093, allocations: 1.106 MB / 0.5738 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00039/0.02132, allocations: 217.6 kB / 0.574 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009577/0.02227, allocations: 0.6776 MB / 0.5747 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002596/0.02253, allocations: 199.3 kB / 0.5749 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.105e-05/0.02256, allocations: 20 kB / 0.5749 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000702/0.02327, allocations: 431 kB / 0.5753 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 8.403e-05/0.02335, allocations: 71.56 kB / 0.5754 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001093/0.02346, allocations: 115.7 kB / 0.5755 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.00065/0.02411, allocations: 0.5685 MB / 0.576 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.02411, allocations: 4 kB / 0.5761 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.303e-06/0.02411, allocations: 0 / 0.5761 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.02412, allocations: 0 / 0.5761 GB, free: 11.22 MB / 0.4948 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.0007527/0.02487, allocations: 0.6363 MB / 0.5767 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.02491, allocations: 8.625 kB / 0.5767 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.281e-05/0.02496, allocations: 54.73 kB / 0.5767 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.951e-05/0.02503, allocations: 48.59 kB / 0.5768 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006444/0.02567, allocations: 387.2 kB / 0.5772 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.02569, allocations: 16.33 kB / 0.5772 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/0.02571, allocations: 20 kB / 0.5772 GB, free: 10 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002756/0.02598, allocations: 204.9 kB / 0.5774 GB, free: 9.789 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.02599, allocations: 0 / 0.5774 GB, free: 9.789 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.02601, allocations: 8 kB / 0.5774 GB, free: 9.781 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.02602, allocations: 4 kB / 0.5774 GB, free: 9.777 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001945/0.02621, allocations: 131.9 kB / 0.5775 GB, free: 9.648 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007243/0.02694, allocations: 0.5771 MB / 0.5781 GB, free: 9.027 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004332/0.02737, allocations: 114.6 kB / 0.5782 GB, free: 8.906 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.825e-05/0.02746, allocations: 64.81 kB / 0.5783 GB, free: 8.84 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001235/0.02758, allocations: 35.92 kB / 0.5783 GB, free: 8.805 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.0276, allocations: 38.5 kB / 0.5783 GB, free: 8.758 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=12): time 1.032e-06/0.0276, allocations: 0 / 0.5783 GB, free: 8.758 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12): time 0.0003603/0.02797, allocations: 217.3 kB / 0.5785 GB, free: 8.539 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/0.028, allocations: 55.41 kB / 0.5786 GB, free: 8.473 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002275/0.02823, allocations: 341.6 kB / 0.5789 GB, free: 8.133 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.02825, allocations: 29.7 kB / 0.5789 GB, free: 8.098 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.924e-05/0.02835, allocations: 200.3 kB / 0.5791 GB, free: 7.898 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.621e-05/0.02838, allocations: 39.69 kB / 0.5792 GB, free: 7.859 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.293e-05/0.02844, allocations: 37.66 kB / 0.5792 GB, free: 7.816 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001/0.02854, allocations: 346.8 kB / 0.5795 GB, free: 7.469 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.526e-05/0.02862, allocations: 52.83 kB / 0.5796 GB, free: 7.414 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/0.02876, allocations: 242 kB / 0.5798 GB, free: 7.129 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001519/0.02891, allocations: 117.6 kB / 0.5799 GB, free: 7.008 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.02892, allocations: 4 kB / 0.5799 GB, free: 7.004 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002099/0.02913, allocations: 193.1 kB / 0.5801 GB, free: 6.809 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.02914, allocations: 4 kB / 0.5801 GB, free: 6.805 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.02914, allocations: 0 / 0.5801 GB, free: 6.805 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.02916, allocations: 64 / 0.5801 GB, free: 6.805 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.153e-05/0.02925, allocations: 31.97 kB / 0.5801 GB, free: 6.773 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.02925, allocations: 3.984 kB / 0.5802 GB, free: 6.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.168e-05/0.02933, allocations: 15.94 kB / 0.5802 GB, free: 6.754 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.02934, allocations: 7.984 kB / 0.5802 GB, free: 6.746 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001332/0.02948, allocations: 156.1 kB / 0.5803 GB, free: 6.59 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001318/0.02961, allocations: 238.5 kB / 0.5806 GB, free: 6.305 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001355/0.02974, allocations: 117.6 kB / 0.5807 GB, free: 6.184 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.41e-07/0.02975, allocations: 3.938 kB / 0.5807 GB, free: 6.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0001982/0.02994, allocations: 177.3 kB / 0.5808 GB, free: 6 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.837e-06/0.02995, allocations: 10.12 kB / 0.5808 GB, free: 5.992 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-06/0.02995, allocations: 0 / 0.5808 GB, free: 5.992 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.717e-06/0.02996, allocations: 8 kB / 0.5809 GB, free: 5.984 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.509e-05/0.03001, allocations: 23.92 kB / 0.5809 GB, free: 5.961 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.456e-06/0.03002, allocations: 4 kB / 0.5809 GB, free: 5.957 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.504e-05/0.03008, allocations: 7.984 kB / 0.5809 GB, free: 5.949 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.03009, allocations: 8 kB / 0.5809 GB, free: 5.941 MB / 0.4948 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 8.128e-05/0.03017, allocations: 184.3 kB / 0.5811 GB, free: 5.754 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.565e-05/0.03021, allocations: 43.7 kB / 0.5811 GB, free: 5.711 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003212/0.03053, allocations: 240.7 kB / 0.5813 GB, free: 5.465 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.03054, allocations: 0 / 0.5813 GB, free: 5.465 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.03054, allocations: 0 / 0.5813 GB, free: 5.465 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.03055, allocations: 3.984 kB / 0.5813 GB, free: 5.461 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005783/0.03113, allocations: 0.5818 MB / 0.5819 GB, free: 4.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.03113, allocations: 0 / 0.5819 GB, free: 4.82 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.508e-05/0.03118, allocations: 35.91 kB / 0.5819 GB, free: 4.785 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.03119, allocations: 96 / 0.5819 GB, free: 4.785 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.03119, allocations: 8 kB / 0.582 GB, free: 4.777 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.0312, allocations: 0 / 0.582 GB, free: 4.777 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.0312, allocations: 4 kB / 0.582 GB, free: 4.773 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002442/0.03144, allocations: 317.8 kB / 0.5823 GB, free: 4.438 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.954e-05/0.0315, allocations: 51.72 kB / 0.5823 GB, free: 4.387 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.315e-05/0.03152, allocations: 4 kB / 0.5823 GB, free: 4.383 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.07e-05/0.03161, allocations: 11.98 kB / 0.5823 GB, free: 4.371 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.621e-05/0.03164, allocations: 11.92 kB / 0.5823 GB, free: 4.359 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.03165, allocations: 16 kB / 0.5824 GB, free: 4.344 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001546/0.03181, allocations: 243.1 kB / 0.5826 GB, free: 4.113 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.03181, allocations: 0 / 0.5826 GB, free: 4.113 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003701/0.03218, allocations: 147.7 kB / 0.5827 GB, free: 3.969 MB / 0.4948 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.0006437/0.03282, allocations: 0.9368 MB / 0.5836 GB, free: 2.996 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002982/0.03312, allocations: 183.8 kB / 0.5838 GB, free: 2.816 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.562e-06/0.03312, allocations: 0 / 0.5838 GB, free: 2.816 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 9.844e-05/0.03322, allocations: 75.89 kB / 0.5839 GB, free: 2.742 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004681/0.03369, allocations: 142.7 kB / 0.584 GB, free: 2.602 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002451/0.03614, allocations: 2.681 MB / 0.5866 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001189/0.03626, allocations: 189.8 kB / 0.5868 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001797/0.03644, allocations: 70.83 kB / 0.5869 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.03654, allocations: 120.6 kB / 0.587 GB, free: 15.43 MB / 0.5105 GB Notification: Performance of SimCode: time 6.92e-07/0.03654, allocations: 0 / 0.587 GB, free: 15.43 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02411/0.06065, allocations: 10.32 MB / 0.5971 GB, free: 5.441 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.09/7.151, allocations: 10.17 kB / 0.5971 GB, free: 5.438 MB / 0.5105 GB " [Timeout remaining time 653] (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: 9.698198031634092] Failed to read output from testmodel.py, exit status != 0: 7.237941391766071 7.246953068 7.220800632 Calling exit ...