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.001338/0.001338, 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.001537/0.001537, allocations: 223.4 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.458/1.458, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.9868/0.9868, allocations: 150 MB / 463.2 MB, free: 10.46 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.002008/0.002008, allocations: 60.59 kB / 0.6413 GB, free: 10.38 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1906/0.1926, allocations: 89.17 MB / 0.7283 GB, free: 1.27 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Validation.LosslessPipe): time 0.6221/0.8147, allocations: 177.1 MB / 0.9013 GB, free: 6.27 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.003384/0.8181, allocations: 1.852 MB / 0.9031 GB, free: 4.414 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003361/0.8184, allocations: 19.81 kB / 0.9031 GB, free: 4.395 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0007508/0.8192, allocations: 230.4 kB / 0.9033 GB, free: 4.168 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001929/0.8211, allocations: 0.7856 MB / 0.9041 GB, free: 3.379 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002255/0.8233, allocations: 0.8972 MB / 0.905 GB, free: 2.484 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001128/0.8245, allocations: 0.8612 MB / 0.9058 GB, free: 1.621 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004323/0.8249, allocations: 235.8 kB / 0.906 GB, free: 1.387 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001156/0.8261, allocations: 0.5839 MB / 0.9066 GB, free: 0.8008 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003714/0.8264, allocations: 282.8 kB / 0.9069 GB, free: 0.5234 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 4.703e-05/0.8265, allocations: 28 kB / 0.9069 GB, free: 0.4961 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001951/0.8284, allocations: 1.185 MB / 0.908 GB, free: 15.31 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0001489/0.8286, allocations: 127.6 kB / 0.9082 GB, free: 15.18 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0002103/0.8288, allocations: 211 kB / 0.9084 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001344/0.8301, allocations: 0.9112 MB / 0.9093 GB, free: 14.06 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.8301, allocations: 4 kB / 0.9093 GB, free: 14.06 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.253e-06/0.8301, allocations: 0 / 0.9093 GB, free: 14.06 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.8302, allocations: 7.938 kB / 0.9093 GB, free: 14.05 MB / 0.6856 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.001718/0.8319, allocations: 0.7107 MB / 0.91 GB, free: 13.31 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.8319, allocations: 8.031 kB / 0.91 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.902e-05/0.832, allocations: 70.47 kB / 0.91 GB, free: 13.22 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001/0.833, allocations: 159.6 kB / 0.9102 GB, free: 13.07 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006873/0.8337, allocations: 311.5 kB / 0.9105 GB, free: 12.74 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.228e-05/0.8337, allocations: 21.66 kB / 0.9105 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.434e-05/0.8338, allocations: 24 kB / 0.9105 GB, free: 12.69 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007448/0.8345, allocations: 395.5 kB / 0.9109 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.8345, allocations: 3.938 kB / 0.9109 GB, free: 12.28 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.682e-05/0.8346, allocations: 15.94 kB / 0.9109 GB, free: 12.27 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.116e-05/0.8346, allocations: 20.58 kB / 0.9109 GB, free: 12.25 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000745/0.8353, allocations: 342.3 kB / 0.9113 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002393/0.8377, allocations: 1.743 MB / 0.913 GB, free: 10.01 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005141/0.8383, allocations: 222.7 kB / 0.9132 GB, free: 9.781 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002624/0.8385, allocations: 132.8 kB / 0.9133 GB, free: 9.648 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004486/0.839, allocations: 67.91 kB / 0.9134 GB, free: 9.582 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.123e-05/0.839, allocations: 43.44 kB / 0.9134 GB, free: 9.531 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=20): time 1.904e-06/0.839, allocations: 3.938 kB / 0.9134 GB, free: 9.527 MB / 0.6856 GB Notification: Performance of matching and sorting (n=20): time 0.0009928/0.84, allocations: 383.4 kB / 0.9138 GB, free: 9.148 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.728e-05/0.84, allocations: 55.41 kB / 0.9138 GB, free: 9.082 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004425/0.8405, allocations: 357.7 kB / 0.9142 GB, free: 8.723 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.012e-05/0.8405, allocations: 33.7 kB / 0.9142 GB, free: 8.684 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001621/0.8407, allocations: 192.4 kB / 0.9144 GB, free: 8.492 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 6.96e-05/0.8407, allocations: 79.3 kB / 0.9145 GB, free: 8.414 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.145e-05/0.8408, allocations: 49.7 kB / 0.9145 GB, free: 8.359 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001776/0.841, allocations: 346.7 kB / 0.9148 GB, free: 8.012 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000227/0.8412, allocations: 91.94 kB / 0.9149 GB, free: 7.922 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002753/0.8415, allocations: 157.8 kB / 0.9151 GB, free: 7.746 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004668/0.842, allocations: 259.6 kB / 0.9153 GB, free: 7.473 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.842, allocations: 0 / 0.9153 GB, free: 7.473 MB / 0.6856 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006064/0.8426, allocations: 302.4 kB / 0.9156 GB, free: 7.172 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/0.8426, allocations: 12.19 kB / 0.9156 GB, free: 7.16 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.8426, allocations: 3.938 kB / 0.9156 GB, free: 7.156 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.563e-05/0.8427, allocations: 4 kB / 0.9156 GB, free: 7.152 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002682/0.8429, allocations: 46.09 kB / 0.9157 GB, free: 7.109 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.8429, allocations: 7.938 kB / 0.9157 GB, free: 7.102 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000234/0.8432, allocations: 31.83 kB / 0.9157 GB, free: 7.07 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.347e-05/0.8432, allocations: 12 kB / 0.9157 GB, free: 7.059 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.0001715/0.8434, allocations: 161.7 kB / 0.9159 GB, free: 6.891 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.172e-05/0.8434, allocations: 39.77 kB / 0.9159 GB, free: 6.852 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006274/0.8441, allocations: 296.8 kB / 0.9162 GB, free: 6.551 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.8441, allocations: 4 kB / 0.9162 GB, free: 6.547 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.8441, allocations: 0 / 0.9162 GB, free: 6.547 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.8441, allocations: 3.984 kB / 0.9162 GB, free: 6.543 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00141/0.8455, allocations: 0.8732 MB / 0.9171 GB, free: 5.586 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.8455, allocations: 4 kB / 0.9171 GB, free: 5.582 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001994/0.8457, allocations: 40.72 kB / 0.9171 GB, free: 5.543 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.062e-06/0.8457, allocations: 4 kB / 0.9171 GB, free: 5.539 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.649e-05/0.8457, allocations: 11.98 kB / 0.9171 GB, free: 5.527 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.8457, allocations: 4 kB / 0.9171 GB, free: 5.523 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.8457, allocations: 7.938 kB / 0.9171 GB, free: 5.516 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006262/0.8464, allocations: 450.7 kB / 0.9176 GB, free: 5.027 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.8465, allocations: 59.73 kB / 0.9176 GB, free: 4.969 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.038e-05/0.8465, allocations: 7.562 kB / 0.9176 GB, free: 4.965 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002213/0.8468, allocations: 15.98 kB / 0.9176 GB, free: 4.949 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.231e-05/0.8468, allocations: 27.91 kB / 0.9177 GB, free: 4.922 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.8468, allocations: 8 kB / 0.9177 GB, free: 4.914 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002889/0.8471, allocations: 259.1 kB / 0.9179 GB, free: 4.668 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8471, allocations: 0 / 0.9179 GB, free: 4.668 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0004403/0.8476, allocations: 103.8 kB / 0.918 GB, free: 4.566 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.001089/0.8487, allocations: 1.038 MB / 0.919 GB, free: 3.465 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0005676/0.8492, allocations: 233.7 kB / 0.9193 GB, free: 3.238 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.8492, allocations: 4 kB / 0.9193 GB, free: 3.234 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002615/0.8495, allocations: 128.8 kB / 0.9194 GB, free: 3.109 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.8505, allocations: 217.2 kB / 0.9196 GB, free: 2.91 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004431/0.855, allocations: 3.295 MB / 0.9228 GB, free: 15.44 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004268/0.8554, allocations: 0.7997 MB / 0.9236 GB, free: 14.61 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0003129/0.8557, allocations: 92.09 kB / 0.9237 GB, free: 14.52 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001871/0.8559, allocations: 119.4 kB / 0.9238 GB, free: 14.41 MB / 0.7012 GB Notification: Performance of SimCode: time 1.383e-06/0.8559, allocations: 0 / 0.9238 GB, free: 14.41 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04038/0.8963, allocations: 11.07 MB / 0.9346 GB, free: 3.629 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/12.6, allocations: 4.844 kB / 0.9346 GB, free: 3.629 MB / 0.7012 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.620333308997942] Failed to read output from testmodel.py, exit status != 0: 12.715430381998885 12.74546226 11.909991763 Calling exit ...