Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.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.001294/0.001294, allocations: 114.5 kB / 17.13 MB, free: 6.027 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.001407/0.001407, allocations: 207.2 kB / 20.1 MB, free: 3.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.545/1.545, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] 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 1.023/1.023, allocations: 150 MB / 459.5 MB, free: 5.688 MB / 350.1 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.Validation.LosslessPipe,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002038/0.002038, allocations: 67.11 kB / 0.6361 GB, free: 30.36 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1772/0.1792, allocations: 89.13 MB / 0.7231 GB, free: 4.113 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Validation.LosslessPipe): time 0.6706/0.8499, allocations: 176.8 MB / 0.8958 GB, free: 2.781 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.003817/0.8537, allocations: 1.85 MB / 0.8976 GB, free: 2.727 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006118/0.8543, allocations: 18.41 kB / 0.8977 GB, free: 2.727 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0007706/0.8551, allocations: 231.2 kB / 0.8979 GB, free: 2.719 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002218/0.8573, allocations: 0.7812 MB / 0.8986 GB, free: 2.684 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002493/0.8598, allocations: 0.8553 MB / 0.8995 GB, free: 2.648 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001746/0.8615, allocations: 0.8454 MB / 0.9003 GB, free: 2.648 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006029/0.8621, allocations: 248.3 kB / 0.9005 GB, free: 2.625 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001612/0.8638, allocations: 0.5804 MB / 0.9011 GB, free: 2.617 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003459/0.8641, allocations: 282.5 kB / 0.9014 GB, free: 2.617 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 4.389e-05/0.8641, allocations: 24.59 kB / 0.9014 GB, free: 2.617 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002197/0.8663, allocations: 1.171 MB / 0.9025 GB, free: 2.602 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001744/0.8665, allocations: 122.8 kB / 0.9027 GB, free: 2.602 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0002798/0.8668, allocations: 201.7 kB / 0.9029 GB, free: 2.602 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002084/0.8689, allocations: 0.921 MB / 0.9038 GB, free: 2.547 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.8689, allocations: 0 / 0.9038 GB, free: 2.547 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.974e-06/0.8689, allocations: 0 / 0.9038 GB, free: 2.547 MB / 0.67 GB Notification: Performance of Transformations before backend: time 9.408e-06/0.8689, allocations: 1.281 kB / 0.9038 GB, free: 2.547 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001964/0.8709, allocations: 0.7904 MB / 0.9045 GB, free: 18.02 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.8709, allocations: 12.41 kB / 0.9045 GB, free: 18.01 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.232e-05/0.871, allocations: 67.66 kB / 0.9046 GB, free: 17.97 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001033/0.872, allocations: 163.2 kB / 0.9048 GB, free: 17.95 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006319/0.8726, allocations: 366.7 kB / 0.9051 GB, free: 17.7 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.8727, allocations: 21.53 kB / 0.9051 GB, free: 17.7 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.558e-05/0.8727, allocations: 26.08 kB / 0.9052 GB, free: 17.7 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006748/0.8734, allocations: 396.4 kB / 0.9055 GB, free: 17.62 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.8734, allocations: 3.188 kB / 0.9055 GB, free: 17.62 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.13e-05/0.8734, allocations: 12.75 kB / 0.9055 GB, free: 17.61 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.63e-05/0.8735, allocations: 15.88 kB / 0.9056 GB, free: 17.61 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000649/0.8741, allocations: 340.8 kB / 0.9059 GB, free: 17.61 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001958/0.8761, allocations: 1.787 MB / 0.9076 GB, free: 16.44 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005218/0.8766, allocations: 381.2 kB / 0.908 GB, free: 16.22 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002309/0.8768, allocations: 128.8 kB / 0.9081 GB, free: 16.21 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006048/0.8774, allocations: 306.9 kB / 0.9084 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.8775, allocations: 35.77 kB / 0.9084 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=20): time 1.883e-06/0.8775, allocations: 0 / 0.9084 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of matching and sorting (n=20): time 0.0009149/0.8784, allocations: 391.5 kB / 0.9088 GB, free: 15.83 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.964e-05/0.8784, allocations: 56.38 kB / 0.9089 GB, free: 15.77 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003714/0.8788, allocations: 360.2 kB / 0.9092 GB, free: 15.65 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.589e-05/0.8788, allocations: 32.08 kB / 0.9092 GB, free: 15.62 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.8789, allocations: 193.1 kB / 0.9094 GB, free: 15.51 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 4.841e-05/0.879, allocations: 74.19 kB / 0.9095 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.215e-05/0.8791, allocations: 50.34 kB / 0.9096 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.8792, allocations: 347.6 kB / 0.9099 GB, free: 15.13 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001993/0.8794, allocations: 86 kB / 0.91 GB, free: 15.13 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002314/0.8797, allocations: 169 kB / 0.9101 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003962/0.8801, allocations: 250.3 kB / 0.9104 GB, free: 15 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.8801, allocations: 0 / 0.9104 GB, free: 15 MB / 0.6856 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005244/0.8806, allocations: 308.2 kB / 0.9107 GB, free: 14.95 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.8806, allocations: 5.375 kB / 0.9107 GB, free: 14.95 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.8806, allocations: 2.844 kB / 0.9107 GB, free: 14.95 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.8806, allocations: 5.656 kB / 0.9107 GB, free: 14.95 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00025/0.8809, allocations: 52.06 kB / 0.9107 GB, free: 14.95 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.8809, allocations: 2.844 kB / 0.9107 GB, free: 14.95 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002583/0.8811, allocations: 35.36 kB / 0.9108 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.898e-05/0.8812, allocations: 7.844 kB / 0.9108 GB, free: 14.93 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (25): * Single equations (assignments): 25 * 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.0001858/0.8813, allocations: 166 kB / 0.9109 GB, free: 14.81 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.509e-05/0.8814, allocations: 42.08 kB / 0.911 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005893/0.882, allocations: 296.4 kB / 0.9112 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.882, allocations: 0 / 0.9112 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.882, allocations: 2.906 kB / 0.9113 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.882, allocations: 5.766 kB / 0.9113 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001244/0.8833, allocations: 0.8967 MB / 0.9121 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/0.8833, allocations: 2.531 kB / 0.9121 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002038/0.8835, allocations: 44.84 kB / 0.9122 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.8835, allocations: 6.75 kB / 0.9122 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.216e-05/0.8835, allocations: 8.594 kB / 0.9122 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.8835, allocations: 5.75 kB / 0.9122 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.758e-06/0.8835, allocations: 4.969 kB / 0.9122 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006149/0.8841, allocations: 453.2 kB / 0.9126 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001715/0.8843, allocations: 135.5 kB / 0.9128 GB, free: 13.97 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.427e-05/0.8843, allocations: 11.83 kB / 0.9128 GB, free: 13.97 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002358/0.8846, allocations: 8.625 kB / 0.9128 GB, free: 13.97 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.672e-05/0.8847, allocations: 32.45 kB / 0.9128 GB, free: 13.96 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.8847, allocations: 8.625 kB / 0.9128 GB, free: 13.96 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0003082/0.885, allocations: 254.4 kB / 0.9131 GB, free: 13.88 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9e-08/0.885, allocations: 0 / 0.9131 GB, free: 13.88 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0005816/0.8856, allocations: 106.1 kB / 0.9132 GB, free: 13.87 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (20): * Single equations (assignments): 20 * 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 Backend phase and start with SimCode phase: time 0.001252/0.8868, allocations: 1.041 MB / 0.9142 GB, free: 13.08 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0005918/0.8874, allocations: 229.2 kB / 0.9144 GB, free: 13.08 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.8874, allocations: 2.594 kB / 0.9144 GB, free: 13.08 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.000244/0.8877, allocations: 120.4 kB / 0.9145 GB, free: 13.08 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001129/0.8888, allocations: 225.7 kB / 0.9147 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004132/0.8929, allocations: 3.3 MB / 0.918 GB, free: 11.37 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000415/0.8933, allocations: 0.8024 MB / 0.9187 GB, free: 10.66 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0003346/0.8937, allocations: 88.11 kB / 0.9188 GB, free: 10.65 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001665/0.8938, allocations: 123.3 kB / 0.9189 GB, free: 10.64 MB / 0.6856 GB Notification: Performance of SimCode: time 1.002e-06/0.8938, allocations: 0 / 0.9189 GB, free: 10.64 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03548/0.9293, allocations: 10.83 MB / 0.9295 GB, free: 8.73 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.819/9.749, allocations: 11.11 kB / 0.9295 GB, free: 8.723 MB / 0.6856 GB " [Timeout remaining time 650] (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe_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_Validation_LosslessPipe.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.898859275970608] Failed to read output from testmodel.py, exit status != 0: 9.82721729716286 9.84853756 8.975264521 Calling exit ...