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.001346/0.001346, allocations: 104.3 kB / 19.7 MB, free: 2.09 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.002147/0.002147, allocations: 210.4 kB / 22.99 MB, free: 4.926 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.562/1.562, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.35 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.002416/0.002416, allocations: 62.59 kB / 0.6411 GB, free: 10.15 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1912/0.1937, allocations: 89.18 MB / 0.7281 GB, free: 1.035 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Validation.LosslessPipe): time 0.642/0.8357, allocations: 153 MB / 0.8776 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.005672/0.8414, allocations: 1.746 MB / 0.8793 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005758/0.842, allocations: 23.81 kB / 0.8793 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001045/0.843, allocations: 218.5 kB / 0.8795 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.003273/0.8463, allocations: 0.7662 MB / 0.8803 GB, free: 9.438 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003684/0.85, allocations: 0.8636 MB / 0.8811 GB, free: 8.574 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001968/0.8519, allocations: 0.8495 MB / 0.882 GB, free: 7.723 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007851/0.8527, allocations: 227.8 kB / 0.8822 GB, free: 7.496 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001642/0.8544, allocations: 0.5955 MB / 0.8828 GB, free: 6.898 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004689/0.8548, allocations: 266.8 kB / 0.883 GB, free: 6.637 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.78e-05/0.8549, allocations: 28 kB / 0.883 GB, free: 6.609 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001894/0.8568, allocations: 0.8882 MB / 0.8839 GB, free: 5.719 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001975/0.857, allocations: 127.6 kB / 0.884 GB, free: 5.594 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002965/0.8573, allocations: 175.2 kB / 0.8842 GB, free: 5.422 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001835/0.8591, allocations: 0.8761 MB / 0.885 GB, free: 4.543 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.8591, allocations: 0 / 0.885 GB, free: 4.543 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8591, allocations: 0 / 0.885 GB, free: 4.543 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.16e-05/0.8591, allocations: 3.984 kB / 0.8851 GB, free: 4.539 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.001948/0.8611, allocations: 0.7029 MB / 0.8857 GB, free: 3.805 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.8611, allocations: 12.03 kB / 0.8857 GB, free: 3.793 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.527e-05/0.8612, allocations: 70.47 kB / 0.8858 GB, free: 3.715 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001154/0.8624, allocations: 163.6 kB / 0.886 GB, free: 3.555 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007312/0.8631, allocations: 303.6 kB / 0.8863 GB, free: 3.23 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.867e-05/0.8632, allocations: 20.66 kB / 0.8863 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.405e-05/0.8632, allocations: 28.8 kB / 0.8863 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007273/0.8639, allocations: 395.5 kB / 0.8867 GB, free: 2.777 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.8639, allocations: 0 / 0.8867 GB, free: 2.777 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.516e-05/0.864, allocations: 15.94 kB / 0.8867 GB, free: 2.762 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.258e-05/0.8641, allocations: 20.58 kB / 0.8867 GB, free: 2.742 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007987/0.8649, allocations: 346.3 kB / 0.8871 GB, free: 2.398 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002412/0.8673, allocations: 1.3 MB / 0.8883 GB, free: 1.035 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005724/0.8678, allocations: 230.6 kB / 0.8885 GB, free: 0.8008 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002622/0.8681, allocations: 128.8 kB / 0.8887 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004606/0.8686, allocations: 75.92 kB / 0.8887 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.8686, allocations: 31.06 kB / 0.8888 GB, free: 0.5586 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=20): time 1.533e-06/0.8686, allocations: 0 / 0.8888 GB, free: 0.5586 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20): time 0.001024/0.8696, allocations: 391.4 kB / 0.8891 GB, free: 176 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.8697, allocations: 55.41 kB / 0.8892 GB, free: 108 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004569/0.8701, allocations: 357.7 kB / 0.8895 GB, free: 15.75 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.183e-05/0.8702, allocations: 33.64 kB / 0.8896 GB, free: 15.71 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/0.8703, allocations: 200.3 kB / 0.8898 GB, free: 15.51 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 7.371e-05/0.8704, allocations: 71.36 kB / 0.8898 GB, free: 15.44 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.135e-05/0.8705, allocations: 49.7 kB / 0.8899 GB, free: 15.38 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002787/0.8708, allocations: 346.7 kB / 0.8902 GB, free: 15.04 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002257/0.871, allocations: 91.94 kB / 0.8903 GB, free: 14.95 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003395/0.8713, allocations: 239.8 kB / 0.8905 GB, free: 14.67 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005649/0.8719, allocations: 247.8 kB / 0.8908 GB, free: 14.41 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.8719, allocations: 0.625 kB / 0.8908 GB, free: 14.41 MB / 0.67 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007052/0.8726, allocations: 309.1 kB / 0.8911 GB, free: 14.1 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.842e-05/0.8726, allocations: 4 kB / 0.8911 GB, free: 14.1 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.8727, allocations: 4 kB / 0.8911 GB, free: 14.09 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.917e-05/0.8727, allocations: 8.031 kB / 0.8911 GB, free: 14.09 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002804/0.873, allocations: 51.91 kB / 0.8911 GB, free: 14.04 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.873, allocations: 0.6875 kB / 0.8911 GB, free: 14.04 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003128/0.8733, allocations: 39.72 kB / 0.8912 GB, free: 14 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.646e-05/0.8733, allocations: 12 kB / 0.8912 GB, free: 13.98 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.0002415/0.8736, allocations: 165.7 kB / 0.8913 GB, free: 13.81 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.114e-05/0.8737, allocations: 31.81 kB / 0.8914 GB, free: 13.78 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007476/0.8744, allocations: 296 kB / 0.8916 GB, free: 13.48 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.8744, allocations: 4 kB / 0.8916 GB, free: 13.48 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/0.8744, allocations: 3.984 kB / 0.8916 GB, free: 13.48 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.8744, allocations: 4 kB / 0.8916 GB, free: 13.47 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001908/0.8763, allocations: 0.8456 MB / 0.8925 GB, free: 12.54 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/0.8763, allocations: 4.344 kB / 0.8925 GB, free: 12.54 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002396/0.8766, allocations: 43.97 kB / 0.8925 GB, free: 12.5 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.107e-05/0.8766, allocations: 4.75 kB / 0.8925 GB, free: 12.49 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.323e-05/0.8766, allocations: 8 kB / 0.8925 GB, free: 12.48 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-06/0.8766, allocations: 7.938 kB / 0.8925 GB, free: 12.48 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.8766, allocations: 0 / 0.8925 GB, free: 12.48 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009587/0.8776, allocations: 450.7 kB / 0.893 GB, free: 11.99 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001911/0.8778, allocations: 71.7 kB / 0.893 GB, free: 11.92 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.538e-05/0.8779, allocations: 10.86 kB / 0.893 GB, free: 11.91 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002443/0.8781, allocations: 8 kB / 0.8931 GB, free: 11.9 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.089e-05/0.8782, allocations: 31.84 kB / 0.8931 GB, free: 11.87 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.056e-05/0.8782, allocations: 8 kB / 0.8931 GB, free: 11.86 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0003808/0.8786, allocations: 259.1 kB / 0.8933 GB, free: 11.62 MB / 0.67 GB Notification: Performance of sort global known variables: time 1e-07/0.8786, allocations: 0 / 0.8933 GB, free: 11.62 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0005807/0.8792, allocations: 95.89 kB / 0.8934 GB, free: 11.52 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.001716/0.8809, allocations: 1.037 MB / 0.8944 GB, free: 10.42 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0006956/0.8816, allocations: 231.9 kB / 0.8947 GB, free: 10.2 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.8816, allocations: 0 / 0.8947 GB, free: 10.2 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.000273/0.8819, allocations: 119.8 kB / 0.8948 GB, free: 10.08 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001164/0.883, allocations: 220.5 kB / 0.895 GB, free: 9.879 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005977/0.889, allocations: 3.309 MB / 0.8982 GB, free: 6.387 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.8893, allocations: 197.7 kB / 0.8984 GB, free: 6.176 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.000377/0.8897, allocations: 92.09 kB / 0.8985 GB, free: 6.086 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000211/0.8899, allocations: 119.4 kB / 0.8986 GB, free: 5.973 MB / 0.67 GB Notification: Performance of SimCode: time 1.092e-06/0.8899, allocations: 0 / 0.8986 GB, free: 5.973 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04859/0.9385, allocations: 12.15 MB / 0.9105 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/12.41, allocations: 5.219 kB / 0.9105 GB, free: 10.2 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: 16.345758622977883] Failed to read output from testmodel.py, exit status != 0: 12.52406130777672 12.542029284 11.679182289 Calling exit ...