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.001694/0.001694, allocations: 104.3 kB / 19.7 MB, free: 1.789 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.002161/0.002161, allocations: 210.2 kB / 22.99 MB, free: 4.617 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.541/1.541, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.004/1.004, allocations: 149.9 MB / 463 MB, free: 10.33 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="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.003134/0.003134, allocations: 73.53 kB / 0.6411 GB, free: 10.14 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2221/0.2252, allocations: 89.17 MB / 0.7281 GB, free: 1.043 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Validation.LosslessPipe): time 0.6024/0.8276, allocations: 153 MB / 0.8776 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003695/0.8313, allocations: 1.753 MB / 0.8793 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005388/0.8318, allocations: 19.81 kB / 0.8793 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0008365/0.8327, allocations: 214.5 kB / 0.8795 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002348/0.835, allocations: 0.77 MB / 0.8803 GB, free: 9.316 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002336/0.8373, allocations: 0.8657 MB / 0.8811 GB, free: 8.453 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001309/0.8387, allocations: 0.8495 MB / 0.882 GB, free: 7.602 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005562/0.8392, allocations: 231.8 kB / 0.8822 GB, free: 7.371 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001472/0.8407, allocations: 0.5916 MB / 0.8828 GB, free: 6.777 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005496/0.8412, allocations: 262.9 kB / 0.883 GB, free: 6.52 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.511e-05/0.8413, allocations: 28 kB / 0.883 GB, free: 6.492 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001942/0.8432, allocations: 0.892 MB / 0.8839 GB, free: 5.598 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002162/0.8435, allocations: 127.6 kB / 0.884 GB, free: 5.473 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0003206/0.8438, allocations: 167.3 kB / 0.8842 GB, free: 5.309 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001863/0.8456, allocations: 0.8761 MB / 0.885 GB, free: 4.43 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.8457, allocations: 0 / 0.885 GB, free: 4.43 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.553e-06/0.8457, allocations: 0 / 0.885 GB, free: 4.43 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.57e-05/0.8457, allocations: 4 kB / 0.8851 GB, free: 4.426 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.002017/0.8477, allocations: 0.7146 MB / 0.8857 GB, free: 3.68 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.614e-05/0.8477, allocations: 8.031 kB / 0.8858 GB, free: 3.672 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001049/0.8478, allocations: 66.48 kB / 0.8858 GB, free: 3.598 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001057/0.8489, allocations: 167.5 kB / 0.886 GB, free: 3.434 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007268/0.8496, allocations: 303.6 kB / 0.8863 GB, free: 3.109 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.013e-05/0.8497, allocations: 24.59 kB / 0.8863 GB, free: 3.086 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.161e-05/0.8497, allocations: 24 kB / 0.8863 GB, free: 3.062 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00075/0.8505, allocations: 399.5 kB / 0.8867 GB, free: 2.652 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.8505, allocations: 4 kB / 0.8867 GB, free: 2.648 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.327e-05/0.8505, allocations: 11.94 kB / 0.8867 GB, free: 2.637 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.684e-05/0.8505, allocations: 12.66 kB / 0.8867 GB, free: 2.625 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007322/0.8513, allocations: 346.3 kB / 0.8871 GB, free: 2.281 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002123/0.8534, allocations: 1.304 MB / 0.8883 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005177/0.8539, allocations: 229 kB / 0.8885 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002919/0.8542, allocations: 128.8 kB / 0.8887 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004642/0.8547, allocations: 79.84 kB / 0.8887 GB, free: 488 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.8547, allocations: 34.5 kB / 0.8888 GB, free: 444 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=20): time 1.983e-06/0.8547, allocations: 0 / 0.8888 GB, free: 444 kB / 0.6544 GB Notification: Performance of matching and sorting (n=20): time 0.001019/0.8557, allocations: 385.2 kB / 0.8891 GB, free: 52 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.832e-05/0.8558, allocations: 55.41 kB / 0.8892 GB, free: 15.98 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004628/0.8563, allocations: 357.7 kB / 0.8895 GB, free: 15.62 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.231e-05/0.8563, allocations: 29.7 kB / 0.8896 GB, free: 15.59 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001746/0.8565, allocations: 204.3 kB / 0.8898 GB, free: 15.39 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 7.317e-05/0.8565, allocations: 67.38 kB / 0.8898 GB, free: 15.32 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.948e-05/0.8566, allocations: 49.7 kB / 0.8899 GB, free: 15.27 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.8568, allocations: 346.7 kB / 0.8902 GB, free: 14.92 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002258/0.857, allocations: 95.92 kB / 0.8903 GB, free: 14.82 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003357/0.8574, allocations: 239.8 kB / 0.8905 GB, free: 14.55 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004936/0.8579, allocations: 249.4 kB / 0.8908 GB, free: 14.29 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.8579, allocations: 0 / 0.8908 GB, free: 14.29 MB / 0.67 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006583/0.8585, allocations: 313.1 kB / 0.8911 GB, free: 13.98 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.753e-05/0.8585, allocations: 8 kB / 0.8911 GB, free: 13.97 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.8585, allocations: 0 / 0.8911 GB, free: 13.97 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.8586, allocations: 4 kB / 0.8911 GB, free: 13.96 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002708/0.8588, allocations: 47.97 kB / 0.8911 GB, free: 13.92 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/0.8589, allocations: 3.938 kB / 0.8911 GB, free: 13.91 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002733/0.8591, allocations: 44.45 kB / 0.8912 GB, free: 13.87 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.395e-05/0.8592, allocations: 16 kB / 0.8912 GB, free: 13.86 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.0001851/0.8593, allocations: 153.8 kB / 0.8913 GB, free: 13.7 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.24e-05/0.8594, allocations: 31.81 kB / 0.8914 GB, free: 13.66 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006652/0.8601, allocations: 301.4 kB / 0.8916 GB, free: 13.36 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.8601, allocations: 6.625 kB / 0.8916 GB, free: 13.36 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.8601, allocations: 0 / 0.8916 GB, free: 13.36 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.8601, allocations: 0 / 0.8916 GB, free: 13.36 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001507/0.8616, allocations: 0.838 MB / 0.8925 GB, free: 12.43 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.8616, allocations: 4 kB / 0.8925 GB, free: 12.43 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002274/0.8618, allocations: 48.25 kB / 0.8925 GB, free: 12.38 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/0.8618, allocations: 4 kB / 0.8925 GB, free: 12.38 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.533e-05/0.8619, allocations: 11.98 kB / 0.8925 GB, free: 12.37 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.036e-05/0.8619, allocations: 7.938 kB / 0.8925 GB, free: 12.36 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.8619, allocations: 4 kB / 0.8925 GB, free: 12.36 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006828/0.8626, allocations: 454 kB / 0.893 GB, free: 11.86 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001709/0.8627, allocations: 59.72 kB / 0.893 GB, free: 11.8 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.702e-05/0.8628, allocations: 8 kB / 0.893 GB, free: 11.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002415/0.863, allocations: 15.98 kB / 0.8931 GB, free: 11.78 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.255e-05/0.8631, allocations: 27.84 kB / 0.8931 GB, free: 11.75 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.8631, allocations: 8 kB / 0.8931 GB, free: 11.75 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.000318/0.8634, allocations: 255.2 kB / 0.8933 GB, free: 11.5 MB / 0.67 GB Notification: Performance of sort global known variables: time 8e-08/0.8634, allocations: 0 / 0.8933 GB, free: 11.5 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0004954/0.8639, allocations: 99.89 kB / 0.8934 GB, free: 11.41 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.001252/0.8652, allocations: 1.045 MB / 0.8945 GB, free: 10.3 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0006005/0.8658, allocations: 228 kB / 0.8947 GB, free: 10.08 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.8658, allocations: 0 / 0.8947 GB, free: 10.08 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.000273/0.8661, allocations: 123.7 kB / 0.8948 GB, free: 9.957 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/0.8672, allocations: 207.8 kB / 0.895 GB, free: 9.77 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00484/0.872, allocations: 3.311 MB / 0.8982 GB, free: 6.277 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002318/0.8723, allocations: 201.8 kB / 0.8984 GB, free: 6.062 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0003537/0.8726, allocations: 88.03 kB / 0.8985 GB, free: 5.977 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000197/0.8728, allocations: 115.4 kB / 0.8986 GB, free: 5.867 MB / 0.67 GB Notification: Performance of SimCode: time 1.002e-06/0.8728, allocations: 0 / 0.8986 GB, free: 5.867 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0433/0.9161, allocations: 12.16 MB / 0.9105 GB, free: 10.08 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.55, allocations: 7.094 kB / 0.9105 GB, free: 10.08 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 & 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: 16.650793420616537] Failed to read output from testmodel.py, exit status != 0: 12.665736925322562 12.688126782 11.837836845 Calling exit ...