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.001353/0.001353, allocations: 114.2 kB / 17.84 MB, free: 5.336 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.001499/0.001499, allocations: 207.1 kB / 20.8 MB, free: 2.391 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.509/1.509, allocations: 230.6 MB / 254.2 MB, free: 15.09 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 0.992/0.992, allocations: 150 MB / 460.2 MB, free: 5.277 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="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.002011/0.002011, allocations: 65.41 kB / 0.6368 GB, free: 30.47 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.1769, allocations: 89.13 MB / 0.7238 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Validation.LosslessPipe): time 0.6389/0.8158, allocations: 176.8 MB / 0.8965 GB, free: 2.785 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.003682/0.8195, allocations: 1.839 MB / 0.8983 GB, free: 2.738 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005998/0.8201, allocations: 21.75 kB / 0.8983 GB, free: 2.738 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0007989/0.8209, allocations: 229.3 kB / 0.8986 GB, free: 2.73 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002294/0.8232, allocations: 0.7781 MB / 0.8993 GB, free: 2.695 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002275/0.8254, allocations: 0.8578 MB / 0.9002 GB, free: 2.66 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001121/0.8266, allocations: 0.8422 MB / 0.901 GB, free: 2.656 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004075/0.827, allocations: 249.9 kB / 0.9012 GB, free: 2.633 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001145/0.8281, allocations: 0.5851 MB / 0.9018 GB, free: 2.625 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000285/0.8284, allocations: 278.9 kB / 0.9021 GB, free: 2.621 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 4.511e-05/0.8284, allocations: 29.95 kB / 0.9021 GB, free: 2.621 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001963/0.8304, allocations: 1.167 MB / 0.9032 GB, free: 2.609 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001353/0.8305, allocations: 128.2 kB / 0.9033 GB, free: 2.605 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0002032/0.8307, allocations: 201.3 kB / 0.9035 GB, free: 2.605 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001363/0.8321, allocations: 0.9207 MB / 0.9044 GB, free: 2.551 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.8321, allocations: 5.219 kB / 0.9044 GB, free: 2.551 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.933e-06/0.8321, allocations: 0 / 0.9044 GB, free: 2.551 MB / 0.67 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.8321, allocations: 3.938 kB / 0.9044 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.001914/0.834, allocations: 0.7829 MB / 0.9052 GB, free: 18.02 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.8341, allocations: 10.19 kB / 0.9052 GB, free: 18.02 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.835e-05/0.8341, allocations: 14.25 kB / 0.9052 GB, free: 18.01 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.591e-05/0.8342, allocations: 66.61 kB / 0.9053 GB, free: 17.97 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00107/0.8352, allocations: 158.5 kB / 0.9054 GB, free: 17.95 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006387/0.8359, allocations: 370.5 kB / 0.9058 GB, free: 17.7 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.8359, allocations: 22.25 kB / 0.9058 GB, free: 17.7 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.841e-05/0.8359, allocations: 27.45 kB / 0.9058 GB, free: 17.7 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006682/0.8366, allocations: 394 kB / 0.9062 GB, free: 17.62 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.8366, allocations: 9.078 kB / 0.9062 GB, free: 17.62 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.28e-05/0.8367, allocations: 10 kB / 0.9062 GB, free: 17.62 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.93e-05/0.8367, allocations: 10.84 kB / 0.9063 GB, free: 17.62 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006565/0.8374, allocations: 343.6 kB / 0.9066 GB, free: 17.62 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002058/0.8394, allocations: 1.785 MB / 0.9083 GB, free: 16.45 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005211/0.8399, allocations: 378.2 kB / 0.9087 GB, free: 16.23 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000231/0.8402, allocations: 131.7 kB / 0.9088 GB, free: 16.22 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005957/0.8408, allocations: 297.5 kB / 0.9091 GB, free: 15.94 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.8408, allocations: 42.22 kB / 0.9091 GB, free: 15.9 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=20): time 1.824e-06/0.8408, allocations: 1.094 kB / 0.9091 GB, free: 15.9 MB / 0.6856 GB Notification: Performance of matching and sorting (n=20): time 0.0009364/0.8417, allocations: 384.8 kB / 0.9095 GB, free: 15.84 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.984e-05/0.8418, allocations: 55.41 kB / 0.9096 GB, free: 15.78 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003647/0.8421, allocations: 364.6 kB / 0.9099 GB, free: 15.66 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.331e-05/0.8422, allocations: 32.17 kB / 0.9099 GB, free: 15.63 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.8423, allocations: 194.5 kB / 0.9101 GB, free: 15.52 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 4.771e-05/0.8424, allocations: 70.25 kB / 0.9102 GB, free: 15.48 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.316e-05/0.8424, allocations: 45.53 kB / 0.9102 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.8426, allocations: 348.2 kB / 0.9106 GB, free: 15.14 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002071/0.8428, allocations: 101.8 kB / 0.9107 GB, free: 15.14 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002382/0.843, allocations: 161.1 kB / 0.9108 GB, free: 15.08 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004126/0.8434, allocations: 253.5 kB / 0.9111 GB, free: 15.02 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.8435, allocations: 0 / 0.9111 GB, free: 15.02 MB / 0.6856 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005493/0.844, allocations: 305.7 kB / 0.9113 GB, free: 14.96 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.844, allocations: 8 kB / 0.9114 GB, free: 14.96 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.844, allocations: 3.469 kB / 0.9114 GB, free: 14.96 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.844, allocations: 3.094 kB / 0.9114 GB, free: 14.96 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002503/0.8443, allocations: 47.52 kB / 0.9114 GB, free: 14.96 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.8443, allocations: 4.219 kB / 0.9114 GB, free: 14.96 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002796/0.8446, allocations: 37 kB / 0.9114 GB, free: 14.94 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.029e-05/0.8446, allocations: 23.17 kB / 0.9115 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.0001528/0.8448, allocations: 161.2 kB / 0.9116 GB, free: 14.82 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.097e-05/0.8448, allocations: 38.33 kB / 0.9117 GB, free: 14.8 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005953/0.8454, allocations: 298 kB / 0.9119 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.8454, allocations: 2.125 kB / 0.9119 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.8454, allocations: 0 / 0.9119 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.8454, allocations: 10.47 kB / 0.912 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001251/0.8467, allocations: 0.892 MB / 0.9128 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.8467, allocations: 5.875 kB / 0.9128 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002005/0.8469, allocations: 43.17 kB / 0.9129 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.8469, allocations: 3.625 kB / 0.9129 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/0.8469, allocations: 12.16 kB / 0.9129 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.8469, allocations: 3.594 kB / 0.9129 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.8469, allocations: 3.094 kB / 0.9129 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005435/0.8475, allocations: 451 kB / 0.9133 GB, free: 14.1 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001412/0.8476, allocations: 138.5 kB / 0.9135 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.804e-05/0.8477, allocations: 8.688 kB / 0.9135 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002358/0.8479, allocations: 15.92 kB / 0.9135 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.527e-05/0.8479, allocations: 25.25 kB / 0.9135 GB, free: 13.97 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.587e-05/0.848, allocations: 7.562 kB / 0.9135 GB, free: 13.97 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002467/0.8482, allocations: 261.1 kB / 0.9138 GB, free: 13.89 MB / 0.6856 GB Notification: Performance of sort global known variables: time 7e-08/0.8482, allocations: 0 / 0.9138 GB, free: 13.89 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0004844/0.8487, allocations: 100.3 kB / 0.9139 GB, free: 13.88 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.001056/0.8497, allocations: 1.037 MB / 0.9149 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0005165/0.8503, allocations: 243.9 kB / 0.9151 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.8503, allocations: 0 / 0.9151 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002324/0.8505, allocations: 123.3 kB / 0.9152 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.00106/0.8516, allocations: 220.1 kB / 0.9154 GB, free: 13.05 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003861/0.8554, allocations: 3.298 MB / 0.9186 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003961/0.8558, allocations: 0.7967 MB / 0.9194 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0003028/0.8561, allocations: 98.89 kB / 0.9195 GB, free: 10.66 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001692/0.8563, allocations: 113.7 kB / 0.9196 GB, free: 10.65 MB / 0.6856 GB Notification: Performance of SimCode: time 6.92e-07/0.8563, allocations: 0 / 0.9196 GB, free: 10.65 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03078/0.8871, allocations: 10.87 MB / 0.9302 GB, free: 8.699 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.22/10.11, allocations: 10.97 kB / 0.9303 GB, free: 8.691 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 & /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: 14.183364241966046] Failed to read output from testmodel.py, exit status != 0: 10.244901343015954 10.269569014 9.43248465 Calling exit ...