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.001685/0.001685, allocations: 97.91 kB / 20.48 MB, free: 1.363 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.001683/0.001683, allocations: 214.6 kB / 23.78 MB, free: 4.523 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.497/1.497, allocations: 230.6 MB / 257.5 MB, free: 7.82 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.001/1.001, allocations: 150 MB / 464 MB, free: 10.21 MB / 366.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="cs",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.002312/0.002312, allocations: 60.28 kB / 0.6419 GB, free: 9.941 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1992/0.2015, allocations: 89.18 MB / 0.729 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Validation.LosslessPipe): time 0.6285/0.83, allocations: 152.9 MB / 0.8784 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003932/0.834, allocations: 1.758 MB / 0.8801 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005175/0.8345, allocations: 19.81 kB / 0.8801 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.000823/0.8353, allocations: 214.5 kB / 0.8803 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00218/0.8375, allocations: 0.77 MB / 0.8811 GB, free: 9.32 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002368/0.8399, allocations: 0.8675 MB / 0.8819 GB, free: 8.453 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001604/0.8415, allocations: 0.8612 MB / 0.8828 GB, free: 7.59 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007575/0.8422, allocations: 235.8 kB / 0.883 GB, free: 7.355 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00195/0.8442, allocations: 0.5917 MB / 0.8836 GB, free: 6.762 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007032/0.8449, allocations: 270.9 kB / 0.8838 GB, free: 6.496 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001101/0.845, allocations: 24 kB / 0.8838 GB, free: 6.473 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002802/0.8478, allocations: 0.9115 MB / 0.8847 GB, free: 5.559 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003126/0.8481, allocations: 135.5 kB / 0.8849 GB, free: 5.426 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0004456/0.8486, allocations: 159.3 kB / 0.885 GB, free: 5.27 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002664/0.8512, allocations: 0.88 MB / 0.8859 GB, free: 4.387 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.8512, allocations: 0 / 0.8859 GB, free: 4.387 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.513e-06/0.8512, allocations: 3.938 kB / 0.8859 GB, free: 4.383 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.115e-05/0.8512, allocations: 0 / 0.8859 GB, free: 4.383 MB / 0.6544 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.003071/0.8543, allocations: 0.7185 MB / 0.8866 GB, free: 3.633 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.146e-05/0.8544, allocations: 12.03 kB / 0.8866 GB, free: 3.621 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.93e-05/0.8544, allocations: 8.594 kB / 0.8866 GB, free: 3.613 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001238/0.8545, allocations: 62.55 kB / 0.8867 GB, free: 3.543 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001858/0.8564, allocations: 163.6 kB / 0.8868 GB, free: 3.383 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/0.8575, allocations: 303.6 kB / 0.8871 GB, free: 3.055 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.033e-05/0.8575, allocations: 21.28 kB / 0.8871 GB, free: 3.035 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.218e-05/0.8576, allocations: 32 kB / 0.8871 GB, free: 3.004 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00123/0.8588, allocations: 395.5 kB / 0.8875 GB, free: 2.598 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.333e-05/0.8588, allocations: 3.938 kB / 0.8875 GB, free: 2.594 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.632e-05/0.8589, allocations: 12 kB / 0.8875 GB, free: 2.582 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.892e-05/0.8589, allocations: 8.656 kB / 0.8875 GB, free: 2.574 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001233/0.8602, allocations: 342.3 kB / 0.8879 GB, free: 2.238 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002983/0.8632, allocations: 1.316 MB / 0.8892 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007916/0.8639, allocations: 222.7 kB / 0.8894 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003995/0.8643, allocations: 128.7 kB / 0.8895 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006775/0.865, allocations: 75.91 kB / 0.8896 GB, free: 440 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.026e-05/0.8651, allocations: 38.56 kB / 0.8896 GB, free: 392 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=20): time 5.34e-06/0.8651, allocations: 3.984 kB / 0.8896 GB, free: 388 kB / 0.6544 GB Notification: Performance of matching and sorting (n=20): time 0.001561/0.8666, allocations: 381.2 kB / 0.89 GB, free: 0 / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.091e-05/0.8667, allocations: 51.41 kB / 0.89 GB, free: 15.94 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006736/0.8674, allocations: 357.7 kB / 0.8904 GB, free: 15.58 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.365e-05/0.8674, allocations: 37.7 kB / 0.8904 GB, free: 15.54 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002211/0.8677, allocations: 196.4 kB / 0.8906 GB, free: 15.34 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.8678, allocations: 75.31 kB / 0.8907 GB, free: 15.27 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001505/0.8679, allocations: 49.7 kB / 0.8907 GB, free: 15.21 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002273/0.8681, allocations: 346.7 kB / 0.891 GB, free: 14.86 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003335/0.8685, allocations: 91.86 kB / 0.8911 GB, free: 14.77 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004759/0.869, allocations: 235.5 kB / 0.8913 GB, free: 14.5 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007223/0.8697, allocations: 253.2 kB / 0.8916 GB, free: 14.24 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.8697, allocations: 0 / 0.8916 GB, free: 14.24 MB / 0.67 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009733/0.8707, allocations: 309.2 kB / 0.8919 GB, free: 13.93 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.209e-05/0.8707, allocations: 8 kB / 0.8919 GB, free: 13.92 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.8707, allocations: 0.625 kB / 0.8919 GB, free: 13.92 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.087e-05/0.8707, allocations: 7.938 kB / 0.8919 GB, free: 13.91 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003784/0.8711, allocations: 47.91 kB / 0.8919 GB, free: 13.87 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.821e-05/0.8711, allocations: 7.984 kB / 0.892 GB, free: 13.86 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003689/0.8715, allocations: 31.83 kB / 0.892 GB, free: 13.83 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.946e-05/0.8715, allocations: 16.62 kB / 0.892 GB, free: 13.81 MB / 0.67 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.0002484/0.8718, allocations: 157.8 kB / 0.8922 GB, free: 13.65 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.691e-05/0.8719, allocations: 43.7 kB / 0.8922 GB, free: 13.61 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009634/0.8728, allocations: 303.8 kB / 0.8925 GB, free: 13.3 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.8729, allocations: 0 / 0.8925 GB, free: 13.3 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.8729, allocations: 0 / 0.8925 GB, free: 13.3 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.535e-06/0.8729, allocations: 7.938 kB / 0.8925 GB, free: 13.29 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002214/0.8751, allocations: 0.8341 MB / 0.8933 GB, free: 12.38 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.8751, allocations: 0 / 0.8933 GB, free: 12.38 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003194/0.8754, allocations: 44.59 kB / 0.8933 GB, free: 12.33 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.419e-05/0.8754, allocations: 4 kB / 0.8934 GB, free: 12.33 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.614e-05/0.8755, allocations: 11.98 kB / 0.8934 GB, free: 12.32 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.487e-05/0.8755, allocations: 8.281 kB / 0.8934 GB, free: 12.31 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/0.8755, allocations: 8 kB / 0.8934 GB, free: 12.3 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009861/0.8765, allocations: 444.5 kB / 0.8938 GB, free: 11.82 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002016/0.8767, allocations: 62.55 kB / 0.8939 GB, free: 11.76 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.016e-05/0.8767, allocations: 4 kB / 0.8939 GB, free: 11.75 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004039/0.8771, allocations: 15.98 kB / 0.8939 GB, free: 11.74 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.662e-05/0.8772, allocations: 27.84 kB / 0.8939 GB, free: 11.71 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-05/0.8773, allocations: 12 kB / 0.8939 GB, free: 11.7 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0004706/0.8777, allocations: 259.2 kB / 0.8942 GB, free: 11.45 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8777, allocations: 0 / 0.8942 GB, free: 11.45 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0008249/0.8786, allocations: 99.83 kB / 0.8943 GB, free: 11.36 MB / 0.67 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.001669/0.8802, allocations: 1.034 MB / 0.8953 GB, free: 10.26 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0008755/0.8811, allocations: 231.7 kB / 0.8955 GB, free: 10.04 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.818e-06/0.8811, allocations: 96 / 0.8955 GB, free: 10.04 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0004377/0.8816, allocations: 136.6 kB / 0.8956 GB, free: 9.902 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001801/0.8834, allocations: 205.8 kB / 0.8958 GB, free: 9.715 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007282/0.8906, allocations: 3.303 MB / 0.899 GB, free: 6.234 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/0.891, allocations: 197.8 kB / 0.8992 GB, free: 6.02 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0005652/0.8915, allocations: 99.2 kB / 0.8993 GB, free: 5.922 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002878/0.8918, allocations: 115.4 kB / 0.8994 GB, free: 5.812 MB / 0.67 GB Notification: Performance of SimCode: time 1.553e-06/0.8918, allocations: 3.938 kB / 0.8994 GB, free: 5.809 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04299/0.9348, allocations: 11.8 MB / 0.911 GB, free: 10.41 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.2/13.14, allocations: 10.97 kB / 0.911 GB, free: 10.4 MB / 0.6856 GB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 17.08712475700304] Failed to read output from testmodel.py, exit status != 0: 13.304236851981841 13.321768783 12.466962239 Calling exit ...