Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.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.001496/0.001496, allocations: 108.1 kB / 16.46 MB, free: 6.453 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.001668/0.001668, allocations: 212 kB / 19.43 MB, free: 3.625 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.447/1.447, allocations: 230.6 MB / 252.8 MB, free: 8.949 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002421/0.002421, allocations: 282.6 kB / 309.1 MB, free: 3.98 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.22/1.22, allocations: 180.9 MB / 0.5333 GB, free: 13.68 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002807/0.002807, allocations: 103.7 kB / 0.7342 GB, free: 28.6 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1652/0.168, allocations: 95.34 MB / 0.8273 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01853/0.1865, allocations: 14.98 MB / 0.842 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005502/0.192, allocations: 3.769 MB / 0.8456 GB, free: 7.035 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000522/0.1926, allocations: 23.81 kB / 0.8457 GB, free: 7.012 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005512/0.1931, allocations: 170.7 kB / 0.8458 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001119/0.1942, allocations: 429.9 kB / 0.8462 GB, free: 6.422 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.1952, allocations: 322.3 kB / 0.8465 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001016/0.1962, allocations: 0.7801 MB / 0.8473 GB, free: 5.324 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004365/0.1967, allocations: 244 kB / 0.8475 GB, free: 5.086 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007747/0.1974, allocations: 390.4 kB / 0.8479 GB, free: 4.703 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003199/0.1978, allocations: 238.9 kB / 0.8481 GB, free: 4.469 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.078e-05/0.1978, allocations: 20 kB / 0.8482 GB, free: 4.449 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005107/0.1983, allocations: 243.5 kB / 0.8484 GB, free: 4.211 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.1984, allocations: 79.69 kB / 0.8485 GB, free: 4.133 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001602/0.1986, allocations: 135.3 kB / 0.8486 GB, free: 4 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0008054/0.1994, allocations: 438.3 kB / 0.849 GB, free: 3.57 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.033e-05/0.1994, allocations: 11.92 kB / 0.849 GB, free: 3.559 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.753e-06/0.1994, allocations: 0 / 0.849 GB, free: 3.559 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.81e-05/0.1994, allocations: 0 / 0.849 GB, free: 3.559 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001036/0.2005, allocations: 0.5998 MB / 0.8496 GB, free: 2.91 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.2005, allocations: 12.03 kB / 0.8496 GB, free: 2.898 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.787e-05/0.2006, allocations: 62.73 kB / 0.8497 GB, free: 2.828 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.858e-05/0.2006, allocations: 40.7 kB / 0.8497 GB, free: 2.789 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005568/0.2012, allocations: 327.2 kB / 0.85 GB, free: 2.434 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.222e-05/0.2012, allocations: 16.81 kB / 0.8501 GB, free: 2.418 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.995e-05/0.2013, allocations: 24.38 kB / 0.8501 GB, free: 2.395 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005647/0.2018, allocations: 257.3 kB / 0.8503 GB, free: 2.133 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.2018, allocations: 0 / 0.8503 GB, free: 2.133 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.645e-05/0.2019, allocations: 8 kB / 0.8503 GB, free: 2.125 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/0.2019, allocations: 8 kB / 0.8503 GB, free: 2.117 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005154/0.2024, allocations: 188.4 kB / 0.8505 GB, free: 1.934 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001354/0.2037, allocations: 0.8328 MB / 0.8513 GB, free: 1.035 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003478/0.2041, allocations: 137.1 kB / 0.8515 GB, free: 0.8828 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002453/0.2043, allocations: 89.64 kB / 0.8515 GB, free: 0.7891 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004741/0.2048, allocations: 498.6 kB / 0.852 GB, free: 196 kB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.299e-05/0.2049, allocations: 38.55 kB / 0.8521 GB, free: 148 kB / 0.5919 GB Notification: Performance of pre-optimization done (n=12): time 1.373e-06/0.2049, allocations: 0 / 0.8521 GB, free: 148 kB / 0.5919 GB Notification: Performance of matching and sorting (n=12): time 0.0008589/0.2057, allocations: 261.5 kB / 0.8523 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/0.2058, allocations: 81.11 kB / 0.8524 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003003/0.2061, allocations: 267 kB / 0.8526 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.928e-05/0.2061, allocations: 25.7 kB / 0.8527 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/0.2062, allocations: 172.4 kB / 0.8528 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.97e-05/0.2063, allocations: 39.83 kB / 0.8529 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.378e-05/0.2064, allocations: 41.64 kB / 0.8529 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.2065, allocations: 338.8 kB / 0.8532 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002287/0.2067, allocations: 67.94 kB / 0.8533 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002665/0.207, allocations: 121.8 kB / 0.8534 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004368/0.2074, allocations: 164.1 kB / 0.8536 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2075, allocations: 0 / 0.8536 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005471/0.208, allocations: 221.4 kB / 0.8538 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.208, allocations: 4 kB / 0.8538 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.208, allocations: 8 kB / 0.8538 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.208, allocations: 0 / 0.8538 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002925/0.2083, allocations: 60.03 kB / 0.8538 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.2083, allocations: 0 / 0.8538 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001978/0.2085, allocations: 27.86 kB / 0.8539 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.157e-05/0.2086, allocations: 12 kB / 0.8539 GB, free: 14.17 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (13): * Single equations (assignments): 13 * 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.0001866/0.2088, allocations: 146.2 kB / 0.854 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.289e-05/0.2088, allocations: 31.8 kB / 0.8541 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003386/0.2092, allocations: 187.2 kB / 0.8542 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/0.2092, allocations: 4 kB / 0.8542 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.2092, allocations: 3.938 kB / 0.8542 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.2092, allocations: 3.984 kB / 0.8542 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008648/0.2101, allocations: 0.5874 MB / 0.8548 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.2101, allocations: 0 / 0.8548 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002623/0.2103, allocations: 64 kB / 0.8549 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.2103, allocations: 3.938 kB / 0.8549 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.2103, allocations: 4 kB / 0.8549 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.2103, allocations: 4 kB / 0.8549 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.159e-06/0.2103, allocations: 3.938 kB / 0.8549 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007244/0.2111, allocations: 445.7 kB / 0.8553 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000132/0.2112, allocations: 116.9 kB / 0.8554 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.859e-05/0.2112, allocations: 15.98 kB / 0.8554 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002142/0.2115, allocations: 15.98 kB / 0.8555 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.666e-05/0.2115, allocations: 15.92 kB / 0.8555 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.282e-05/0.2115, allocations: 11.98 kB / 0.8555 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002115/0.2118, allocations: 190 kB / 0.8557 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.2118, allocations: 0 / 0.8557 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004789/0.2122, allocations: 87.77 kB / 0.8558 GB, free: 12.12 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.001382/0.2136, allocations: 1.056 MB / 0.8568 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000567/0.2142, allocations: 171.7 kB / 0.8569 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.2142, allocations: 0 / 0.8569 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003057/0.2145, allocations: 104.2 kB / 0.857 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008378/0.2153, allocations: 126.7 kB / 0.8572 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004008/0.2193, allocations: 2.649 MB / 0.8598 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004896/0.2198, allocations: 0.7714 MB / 0.8605 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001948/0.22, allocations: 62.27 kB / 0.8606 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001367/0.2202, allocations: 83.41 kB / 0.8606 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of SimCode: time 4.51e-07/0.2202, allocations: 0 / 0.8606 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03639/0.2566, allocations: 8.146 MB / 0.8686 GB, free: 15 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.095/8.352, allocations: 6.016 kB / 0.8686 GB, free: 15 MB / 0.6231 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 BuildingSystems_BuildingSystems_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.fmu > BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.487958405166864] Failed to read output from testmodel.py, exit status != 0: 8.421626281924546 8.435063146 8.232821494 Calling exit ...