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.001379/0.001379, allocations: 104.3 kB / 19.7 MB, free: 2.059 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.00152/0.00152, allocations: 215 kB / 22.99 MB, free: 4.867 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.514/1.514, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.9742/0.9742, allocations: 149.9 MB / 463.1 MB, free: 10.36 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.002132/0.002132, allocations: 71.34 kB / 0.6411 GB, free: 10.17 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1991/0.2013, allocations: 89.17 MB / 0.7281 GB, free: 1.066 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.PressureDrop): time 0.6205/0.8218, allocations: 142.3 MB / 0.8671 GB, free: 6.988 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.003411/0.8252, allocations: 1.599 MB / 0.8687 GB, free: 5.387 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004291/0.8256, allocations: 19.81 kB / 0.8687 GB, free: 5.367 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0006413/0.8262, allocations: 159 kB / 0.8689 GB, free: 5.211 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001604/0.8278, allocations: 0.5161 MB / 0.8694 GB, free: 4.695 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001328/0.8292, allocations: 434.3 kB / 0.8698 GB, free: 4.277 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0009268/0.8301, allocations: 0.5771 MB / 0.8703 GB, free: 3.699 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000322/0.8304, allocations: 149.3 kB / 0.8705 GB, free: 3.547 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001148/0.8316, allocations: 494.2 kB / 0.871 GB, free: 3.062 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002277/0.8318, allocations: 151.2 kB / 0.8711 GB, free: 2.914 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 4.122e-05/0.8318, allocations: 16 kB / 0.8711 GB, free: 2.898 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001014/0.8328, allocations: 0.5573 MB / 0.8717 GB, free: 2.34 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001185/0.833, allocations: 91.66 kB / 0.8717 GB, free: 2.25 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001213/0.8331, allocations: 95.53 kB / 0.8718 GB, free: 2.156 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0007918/0.8339, allocations: 490.2 kB / 0.8723 GB, free: 1.676 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.8339, allocations: 0 / 0.8723 GB, free: 1.676 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.814e-06/0.8339, allocations: 0 / 0.8723 GB, free: 1.676 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.8339, allocations: 4 kB / 0.8723 GB, free: 1.672 MB / 0.6387 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.0009795/0.8349, allocations: 0.5274 MB / 0.8728 GB, free: 1.113 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.8349, allocations: 8.031 kB / 0.8728 GB, free: 1.105 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.13e-05/0.835, allocations: 46.56 kB / 0.8729 GB, free: 1.051 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000367/0.8354, allocations: 63.7 kB / 0.8729 GB, free: 0.9883 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005304/0.8359, allocations: 232.2 kB / 0.8732 GB, free: 0.7344 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/0.8359, allocations: 12 kB / 0.8732 GB, free: 0.7227 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.25e-05/0.8359, allocations: 12 kB / 0.8732 GB, free: 0.7109 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004227/0.8364, allocations: 221.8 kB / 0.8734 GB, free: 484 kB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.8364, allocations: 0 / 0.8734 GB, free: 484 kB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.093e-05/0.8364, allocations: 8 kB / 0.8734 GB, free: 476 kB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-06/0.8364, allocations: 4 kB / 0.8734 GB, free: 472 kB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003232/0.8367, allocations: 135.8 kB / 0.8735 GB, free: 336 kB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001091/0.8378, allocations: 0.6675 MB / 0.8742 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002753/0.8381, allocations: 82.47 kB / 0.8743 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001639/0.8383, allocations: 76.81 kB / 0.8743 GB, free: 15.44 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002379/0.8385, allocations: 31.97 kB / 0.8744 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.067e-05/0.8385, allocations: 42.5 kB / 0.8744 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.8385, allocations: 0 / 0.8744 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0007023/0.8392, allocations: 213.4 kB / 0.8746 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.8393, allocations: 55.41 kB / 0.8747 GB, free: 15.08 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002967/0.8396, allocations: 272.2 kB / 0.8749 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.8396, allocations: 29.64 kB / 0.8749 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.8397, allocations: 148 kB / 0.8751 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.993e-05/0.8398, allocations: 35.69 kB / 0.8751 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.274e-05/0.8398, allocations: 33.7 kB / 0.8752 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.84, allocations: 334.8 kB / 0.8755 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.8401, allocations: 44.83 kB / 0.8755 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002473/0.8404, allocations: 225.6 kB / 0.8757 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002862/0.8407, allocations: 127.3 kB / 0.8759 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.8407, allocations: 0 / 0.8759 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003771/0.841, allocations: 157.4 kB / 0.876 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.8411, allocations: 11.94 kB / 0.876 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.8411, allocations: 0 / 0.876 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.8411, allocations: 8.031 kB / 0.876 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.8412, allocations: 23.92 kB / 0.876 GB, free: 13.56 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.8412, allocations: 0 / 0.876 GB, free: 13.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000179/0.8414, allocations: 19.88 kB / 0.8761 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.092e-05/0.8414, allocations: 8.562 kB / 0.8761 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002116/0.8416, allocations: 152.1 kB / 0.8762 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000238/0.8419, allocations: 220.9 kB / 0.8764 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002581/0.8421, allocations: 119.5 kB / 0.8765 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.22e-07/0.8421, allocations: 0 / 0.8765 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003608/0.8425, allocations: 161.5 kB / 0.8767 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 9.818e-06/0.8425, allocations: 8 kB / 0.8767 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.8425, allocations: 3.938 kB / 0.8767 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.885e-06/0.8425, allocations: 3 kB / 0.8767 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.8426, allocations: 27.95 kB / 0.8767 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.8426, allocations: 7.984 kB / 0.8767 GB, free: 12.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001679/0.8428, allocations: 11.98 kB / 0.8768 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.754e-05/0.8428, allocations: 8 kB / 0.8768 GB, free: 12.76 MB / 0.6544 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.00012/0.8429, allocations: 184.3 kB / 0.8769 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.343e-05/0.843, allocations: 27.8 kB / 0.877 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003908/0.8434, allocations: 159.2 kB / 0.8771 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.8434, allocations: 4 kB / 0.8771 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.8434, allocations: 4 kB / 0.8771 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.8434, allocations: 0 / 0.8771 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009778/0.8444, allocations: 0.5537 MB / 0.8777 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.8444, allocations: 4.219 kB / 0.8777 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/0.8445, allocations: 23.98 kB / 0.8777 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.159e-06/0.8445, allocations: 4 kB / 0.8777 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.8445, allocations: 4 kB / 0.8777 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.8445, allocations: 4 kB / 0.8777 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.8445, allocations: 7.938 kB / 0.8777 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004163/0.8449, allocations: 293.2 kB / 0.878 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.376e-05/0.845, allocations: 31.84 kB / 0.878 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.841e-05/0.8451, allocations: 12 kB / 0.878 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000193/0.8453, allocations: 11.98 kB / 0.878 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.712e-05/0.8453, allocations: 15.92 kB / 0.8781 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.8453, allocations: 4 kB / 0.8781 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002106/0.8455, allocations: 203.1 kB / 0.8783 GB, free: 11.1 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.8455, allocations: 0 / 0.8783 GB, free: 11.1 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000492/0.846, allocations: 91.83 kB / 0.8783 GB, free: 11.01 MB / 0.6544 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.0009392/0.847, allocations: 0.8837 MB / 0.8792 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004992/0.8475, allocations: 171.7 kB / 0.8794 GB, free: 9.914 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.8475, allocations: 0 / 0.8794 GB, free: 9.914 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000159/0.8476, allocations: 59.89 kB / 0.8794 GB, free: 9.855 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007622/0.8484, allocations: 126.6 kB / 0.8796 GB, free: 9.746 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003174/0.8516, allocations: 2.365 MB / 0.8819 GB, free: 7.246 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001618/0.8517, allocations: 154.1 kB / 0.882 GB, free: 7.074 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002248/0.852, allocations: 70.88 kB / 0.8821 GB, free: 7.004 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.8521, allocations: 67.42 kB / 0.8821 GB, free: 6.938 MB / 0.6544 GB Notification: Performance of SimCode: time 7.51e-07/0.8521, allocations: 4 kB / 0.8821 GB, free: 6.934 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03728/0.8894, allocations: 7.874 MB / 0.8898 GB, free: 15.32 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/12.36, allocations: 3.188 kB / 0.8898 GB, free: 15.32 MB / 0.67 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.305757130961865] Failed to read output from testmodel.py, exit status != 0: 12.479532634839416 12.512117092 11.672174959 Calling exit ...