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.001525/0.001525, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001907/0.001907, allocations: 209.6 kB / 22.24 MB, free: 5.262 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.446/1.446, allocations: 230.6 MB / 256 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002565/0.002565, allocations: 293.7 kB / 312.7 MB, free: 2.684 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.224/1.224, allocations: 180.6 MB / 0.5369 GB, free: 14.57 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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.002928/0.002928, allocations: 102.2 kB / 0.7395 GB, free: 28.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.1657, allocations: 95.38 MB / 0.8326 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01717/0.1829, allocations: 13.8 MB / 0.8461 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005203/0.1881, allocations: 3.505 MB / 0.8495 GB, free: 6.961 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004387/0.1885, allocations: 19.81 kB / 0.8496 GB, free: 6.941 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005159/0.1891, allocations: 182.6 kB / 0.8497 GB, free: 6.762 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001045/0.1901, allocations: 410 kB / 0.8501 GB, free: 6.359 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009186/0.191, allocations: 343.6 kB / 0.8505 GB, free: 6.027 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009609/0.192, allocations: 0.7839 MB / 0.8512 GB, free: 5.234 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004071/0.1924, allocations: 224.6 kB / 0.8514 GB, free: 5.012 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007024/0.1931, allocations: 394.4 kB / 0.8518 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003053/0.1934, allocations: 230.9 kB / 0.852 GB, free: 4.398 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.33e-05/0.1934, allocations: 24 kB / 0.8521 GB, free: 4.375 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004149/0.1939, allocations: 191.6 kB / 0.8522 GB, free: 4.188 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.194, allocations: 75.69 kB / 0.8523 GB, free: 4.113 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001261/0.1941, allocations: 115.4 kB / 0.8524 GB, free: 4 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0005828/0.1947, allocations: 438.3 kB / 0.8528 GB, free: 3.57 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1947, allocations: 4 kB / 0.8528 GB, free: 3.566 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.432e-06/0.1947, allocations: 0 / 0.8528 GB, free: 3.566 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.694e-06/0.1947, allocations: 0 / 0.8528 GB, free: 3.566 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.0008382/0.1955, allocations: 0.5255 MB / 0.8534 GB, free: 3.012 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.1956, allocations: 13.34 kB / 0.8534 GB, free: 3 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.633e-05/0.1956, allocations: 58.72 kB / 0.8534 GB, free: 2.934 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.959e-05/0.1957, allocations: 36.75 kB / 0.8535 GB, free: 2.898 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005052/0.1962, allocations: 277.2 kB / 0.8537 GB, free: 2.605 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.29e-05/0.1962, allocations: 16.81 kB / 0.8537 GB, free: 2.59 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.007e-05/0.1963, allocations: 24.38 kB / 0.8538 GB, free: 2.566 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005659/0.1968, allocations: 308.8 kB / 0.8541 GB, free: 2.238 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.1968, allocations: 0 / 0.8541 GB, free: 2.238 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/0.1969, allocations: 8 kB / 0.8541 GB, free: 2.23 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/0.1969, allocations: 8 kB / 0.8541 GB, free: 2.223 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004925/0.1974, allocations: 188.3 kB / 0.8542 GB, free: 2.039 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.001238/0.1986, allocations: 0.6928 MB / 0.8549 GB, free: 1.301 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003175/0.1989, allocations: 141.1 kB / 0.8551 GB, free: 1.145 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002242/0.1991, allocations: 81.81 kB / 0.8551 GB, free: 1.059 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001718/0.1993, allocations: 47.97 kB / 0.8552 GB, free: 1.012 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.1993, allocations: 38.55 kB / 0.8552 GB, free: 0.9648 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=12): time 1.273e-06/0.1993, allocations: 0 / 0.8552 GB, free: 0.9648 MB / 0.5919 GB Notification: Performance of matching and sorting (n=12): time 0.0007617/0.2001, allocations: 261.3 kB / 0.8555 GB, free: 0.7031 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.932e-05/0.2002, allocations: 81.11 kB / 0.8555 GB, free: 0.6055 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002909/0.2005, allocations: 276.2 kB / 0.8558 GB, free: 332 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/0.2005, allocations: 29.7 kB / 0.8558 GB, free: 296 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.2006, allocations: 168.3 kB / 0.856 GB, free: 124 kB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.769e-05/0.2007, allocations: 39.69 kB / 0.856 GB, free: 84 kB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.567e-05/0.2007, allocations: 33.7 kB / 0.8561 GB, free: 44 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001774/0.2009, allocations: 338.8 kB / 0.8564 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001952/0.2011, allocations: 59.94 kB / 0.8564 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003454/0.2014, allocations: 278.3 kB / 0.8567 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005064/0.2019, allocations: 164.1 kB / 0.8569 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.202, allocations: 4 kB / 0.8569 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000521/0.2025, allocations: 221.2 kB / 0.8571 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.2025, allocations: 7.984 kB / 0.8571 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.2025, allocations: 4 kB / 0.8571 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.2025, allocations: 0 / 0.8571 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002681/0.2028, allocations: 51.95 kB / 0.8571 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.2028, allocations: 4.094 kB / 0.8572 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001907/0.203, allocations: 31.86 kB / 0.8572 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.418e-05/0.203, allocations: 7.938 kB / 0.8572 GB, free: 14.81 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.0001637/0.2032, allocations: 157.6 kB / 0.8573 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.852e-05/0.2033, allocations: 27.8 kB / 0.8574 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000333/0.2036, allocations: 187.2 kB / 0.8575 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/0.2036, allocations: 7.984 kB / 0.8576 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.2036, allocations: 0 / 0.8576 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.2036, allocations: 0 / 0.8576 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008913/0.2045, allocations: 0.5631 MB / 0.8581 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.483e-06/0.2045, allocations: 4 kB / 0.8581 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002439/0.2048, allocations: 52.31 kB / 0.8582 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.66e-06/0.2048, allocations: 4 kB / 0.8582 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.2048, allocations: 4 kB / 0.8582 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.007e-06/0.2048, allocations: 8 kB / 0.8582 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.2048, allocations: 4.125 kB / 0.8582 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007477/0.2055, allocations: 449.7 kB / 0.8586 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.2056, allocations: 47.72 kB / 0.8586 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.544e-05/0.2057, allocations: 8 kB / 0.8587 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002085/0.2059, allocations: 11.98 kB / 0.8587 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.739e-05/0.206, allocations: 23.91 kB / 0.8587 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.206, allocations: 8 kB / 0.8587 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001931/0.2062, allocations: 195.1 kB / 0.8589 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/0.2062, allocations: 0 / 0.8589 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004378/0.2066, allocations: 95.75 kB / 0.859 GB, free: 12.88 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.001185/0.2078, allocations: 1.053 MB / 0.86 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005163/0.2083, allocations: 179.9 kB / 0.8602 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2083, allocations: 7.938 kB / 0.8602 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002688/0.2086, allocations: 99.86 kB / 0.8603 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007975/0.2094, allocations: 120.4 kB / 0.8604 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003596/0.213, allocations: 2.652 MB / 0.863 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001772/0.2131, allocations: 170.8 kB / 0.8631 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001763/0.2133, allocations: 52.25 kB / 0.8632 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001346/0.2135, allocations: 87.41 kB / 0.8633 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of SimCode: time 4.11e-07/0.2135, allocations: 4 kB / 0.8633 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03792/0.2514, allocations: 9.1 MB / 0.8722 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/11.05, allocations: 20.42 kB / 0.8722 GB, free: 15.44 MB / 0.6231 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_BaseClasses_Validation_MassFlowRateMultiplier_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 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: 15.184573837090284] Failed to read output from testmodel.py, exit status != 0: 11.157343807630241 11.177691644 10.978279148 Calling exit ...