Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.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.001634/0.001634, allocations: 119 kB / 19.69 MB, free: 2.199 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.001967/0.001967, allocations: 222.2 kB / 23.01 MB, free: 5.047 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.52/1.52, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.9785/0.9785, allocations: 150 MB / 463.2 MB, free: 10.45 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.Examples.PressureDrop,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PressureDrop",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.00208/0.00208, allocations: 67.55 kB / 0.6413 GB, free: 10.33 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1885/0.1906, allocations: 89.17 MB / 0.7283 GB, free: 1.223 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.PressureDrop): time 0.5937/0.7843, allocations: 165 MB / 0.8895 GB, free: 2.137 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003653/0.7879, allocations: 1.725 MB / 0.8912 GB, free: 420 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006844/0.7886, allocations: 23.75 kB / 0.8912 GB, free: 396 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0008936/0.7895, allocations: 159 kB / 0.8914 GB, free: 236 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002011/0.7915, allocations: 0.5368 MB / 0.8919 GB, free: 15.69 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001538/0.7931, allocations: 445.3 kB / 0.8923 GB, free: 15.27 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001223/0.7943, allocations: 0.5732 MB / 0.8929 GB, free: 14.69 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004306/0.7947, allocations: 149.3 kB / 0.893 GB, free: 14.54 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001338/0.796, allocations: 498.2 kB / 0.8935 GB, free: 14.05 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003809/0.7964, allocations: 163.2 kB / 0.8937 GB, free: 13.89 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 4.74e-05/0.7965, allocations: 16 kB / 0.8937 GB, free: 13.88 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001454/0.7979, allocations: 0.7171 MB / 0.8944 GB, free: 13.16 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001619/0.7981, allocations: 79.72 kB / 0.8945 GB, free: 13.08 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001931/0.7983, allocations: 123.3 kB / 0.8946 GB, free: 12.96 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001184/0.7995, allocations: 0.4904 MB / 0.895 GB, free: 12.47 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/0.7995, allocations: 8 kB / 0.8951 GB, free: 12.46 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7995, allocations: 0 / 0.8951 GB, free: 12.46 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.078e-05/0.7995, allocations: 0 / 0.8951 GB, free: 12.46 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001057/0.8005, allocations: 0.5158 MB / 0.8956 GB, free: 11.91 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.8006, allocations: 12.03 kB / 0.8956 GB, free: 11.9 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.793e-05/0.8007, allocations: 46.55 kB / 0.8956 GB, free: 11.85 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003997/0.8011, allocations: 55.72 kB / 0.8957 GB, free: 11.79 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005714/0.8016, allocations: 248.1 kB / 0.8959 GB, free: 11.52 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.382e-05/0.8017, allocations: 12 kB / 0.8959 GB, free: 11.51 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.957e-05/0.8017, allocations: 19.75 kB / 0.8959 GB, free: 11.5 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003956/0.8021, allocations: 188.1 kB / 0.8961 GB, free: 11.3 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/0.8021, allocations: 4 kB / 0.8961 GB, free: 11.29 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.878e-05/0.8021, allocations: 4 kB / 0.8961 GB, free: 11.29 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.8021, allocations: 4 kB / 0.8961 GB, free: 11.29 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003273/0.8025, allocations: 131.8 kB / 0.8963 GB, free: 11.16 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001249/0.8037, allocations: 0.7528 MB / 0.897 GB, free: 10.34 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002905/0.804, allocations: 78.47 kB / 0.8971 GB, free: 10.25 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001734/0.8042, allocations: 79.28 kB / 0.8971 GB, free: 10.18 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002567/0.8044, allocations: 31.98 kB / 0.8972 GB, free: 10.14 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.866e-05/0.8045, allocations: 38.5 kB / 0.8972 GB, free: 10.1 MB / 0.67 GB Notification: Performance of pre-optimization done (n=10): time 1.413e-06/0.8045, allocations: 0 / 0.8972 GB, free: 10.1 MB / 0.67 GB Notification: Performance of matching and sorting (n=10): time 0.0007601/0.8052, allocations: 221.4 kB / 0.8974 GB, free: 9.875 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/0.8053, allocations: 51.41 kB / 0.8975 GB, free: 9.812 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003182/0.8056, allocations: 272.2 kB / 0.8977 GB, free: 9.539 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.427e-05/0.8056, allocations: 30.08 kB / 0.8978 GB, free: 9.504 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.8058, allocations: 148 kB / 0.8979 GB, free: 9.355 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 4.63e-05/0.8058, allocations: 35.69 kB / 0.8979 GB, free: 9.32 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.942e-05/0.8059, allocations: 33.72 kB / 0.898 GB, free: 9.281 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001852/0.8061, allocations: 334.8 kB / 0.8983 GB, free: 8.945 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.8062, allocations: 52.77 kB / 0.8983 GB, free: 8.891 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001715/0.8064, allocations: 89.09 kB / 0.8984 GB, free: 8.785 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002641/0.8067, allocations: 123.3 kB / 0.8985 GB, free: 8.652 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.8067, allocations: 0 / 0.8985 GB, free: 8.652 MB / 0.67 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003709/0.807, allocations: 153.4 kB / 0.8987 GB, free: 8.496 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.8071, allocations: 11.94 kB / 0.8987 GB, free: 8.484 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.8071, allocations: 32 / 0.8987 GB, free: 8.484 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.8071, allocations: 4 kB / 0.8987 GB, free: 8.48 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.8072, allocations: 31.92 kB / 0.8987 GB, free: 8.449 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.8072, allocations: 0 / 0.8987 GB, free: 8.449 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000188/0.8074, allocations: 24 kB / 0.8987 GB, free: 8.426 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.341e-05/0.8074, allocations: 4 kB / 0.8987 GB, free: 8.422 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002092/0.8076, allocations: 152 kB / 0.8989 GB, free: 8.27 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001783/0.8078, allocations: 89.11 kB / 0.899 GB, free: 8.164 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002541/0.8081, allocations: 127.3 kB / 0.8991 GB, free: 8.027 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.193e-06/0.8081, allocations: 0 / 0.8991 GB, free: 8.027 MB / 0.67 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003411/0.8084, allocations: 161.3 kB / 0.8993 GB, free: 7.863 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 9.478e-06/0.8084, allocations: 4 kB / 0.8993 GB, free: 7.859 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.8084, allocations: 3.938 kB / 0.8993 GB, free: 7.855 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.869e-06/0.8084, allocations: 4 kB / 0.8993 GB, free: 7.852 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.8085, allocations: 23.98 kB / 0.8993 GB, free: 7.828 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.8086, allocations: 0 / 0.8993 GB, free: 7.828 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001678/0.8087, allocations: 11.98 kB / 0.8993 GB, free: 7.816 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/0.8087, allocations: 4 kB / 0.8993 GB, free: 7.812 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (10): * Single equations (assignments): 10 * 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.0001245/0.8089, allocations: 188.3 kB / 0.8995 GB, free: 7.621 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.566e-05/0.8089, allocations: 27.8 kB / 0.8995 GB, free: 7.594 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003915/0.8093, allocations: 166.7 kB / 0.8997 GB, free: 7.426 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.8093, allocations: 8.078 kB / 0.8997 GB, free: 7.418 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.8093, allocations: 3.938 kB / 0.8997 GB, free: 7.414 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.8093, allocations: 0 / 0.8997 GB, free: 7.414 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009787/0.8103, allocations: 0.5655 MB / 0.9002 GB, free: 6.777 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.8103, allocations: 8.219 kB / 0.9002 GB, free: 6.77 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/0.8104, allocations: 19.98 kB / 0.9003 GB, free: 6.75 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.882e-06/0.8104, allocations: 4 kB / 0.9003 GB, free: 6.746 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.8104, allocations: 0 / 0.9003 GB, free: 6.746 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.835e-06/0.8104, allocations: 7.938 kB / 0.9003 GB, free: 6.738 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.8104, allocations: 4 kB / 0.9003 GB, free: 6.734 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004304/0.8109, allocations: 297.4 kB / 0.9006 GB, free: 6.406 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 9.946e-05/0.811, allocations: 35.83 kB / 0.9006 GB, free: 6.371 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.334e-05/0.811, allocations: 4 kB / 0.9006 GB, free: 6.367 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001896/0.8112, allocations: 19.98 kB / 0.9006 GB, free: 6.348 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.611e-05/0.8113, allocations: 11.92 kB / 0.9006 GB, free: 6.336 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.8113, allocations: 4 kB / 0.9006 GB, free: 6.332 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002328/0.8115, allocations: 207 kB / 0.9008 GB, free: 6.129 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8115, allocations: 0 / 0.9008 GB, free: 6.129 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0004989/0.812, allocations: 95.83 kB / 0.9009 GB, free: 6.035 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (10): * Single equations (assignments): 10 * 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.001009/0.813, allocations: 0.8857 MB / 0.9018 GB, free: 5.102 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0005442/0.8135, allocations: 163.7 kB / 0.9019 GB, free: 4.941 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.8136, allocations: 0 / 0.9019 GB, free: 4.941 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.000157/0.8137, allocations: 56.47 kB / 0.902 GB, free: 4.887 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007915/0.8145, allocations: 124.4 kB / 0.9021 GB, free: 4.773 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003619/0.8181, allocations: 2.367 MB / 0.9044 GB, free: 2.277 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004322/0.8186, allocations: 0.7635 MB / 0.9052 GB, free: 1.488 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002315/0.8188, allocations: 70.22 kB / 0.9052 GB, free: 1.418 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001264/0.8189, allocations: 71.41 kB / 0.9053 GB, free: 1.348 MB / 0.67 GB Notification: Performance of SimCode: time 8.51e-07/0.8189, allocations: 0 / 0.9053 GB, free: 1.348 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04042/0.8593, allocations: 7.045 MB / 0.9122 GB, free: 10.51 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/12.29, allocations: 0 / 0.9122 GB, free: 10.51 MB / 0.6856 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PressureDrop_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PressureDrop.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.098434813087806] Failed to read output from testmodel.py, exit status != 0: 12.398581775836647 12.427036061999999 11.622044465 Calling exit ...