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.001311/0.001311, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001504/0.001504, allocations: 217.8 kB / 23.03 MB, free: 4.922 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.395/1.395, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.002484/0.002484, allocations: 286 kB / 313.5 MB, free: 2.609 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.197/1.197, allocations: 180.6 MB / 0.5377 GB, free: 14.62 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",fmuType="cs",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.002739/0.002739, allocations: 104.7 kB / 0.7402 GB, free: 28.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1648, allocations: 95.38 MB / 0.8334 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01725/0.182, allocations: 13.8 MB / 0.8469 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005477/0.1875, allocations: 3.492 MB / 0.8503 GB, free: 6.996 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00049/0.188, allocations: 19.81 kB / 0.8503 GB, free: 6.977 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006132/0.1886, allocations: 178.7 kB / 0.8505 GB, free: 6.801 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001242/0.1899, allocations: 418 kB / 0.8509 GB, free: 6.391 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009442/0.1908, allocations: 349.1 kB / 0.8512 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001005/0.1918, allocations: 0.7878 MB / 0.852 GB, free: 5.258 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004226/0.1922, allocations: 228.6 kB / 0.8522 GB, free: 5.031 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007931/0.193, allocations: 402.3 kB / 0.8526 GB, free: 4.637 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003132/0.1933, allocations: 231 kB / 0.8528 GB, free: 4.41 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.836e-05/0.1934, allocations: 20 kB / 0.8528 GB, free: 4.391 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004292/0.1938, allocations: 199.5 kB / 0.853 GB, free: 4.195 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.1939, allocations: 79.67 kB / 0.8531 GB, free: 4.117 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000133/0.1941, allocations: 111.5 kB / 0.8532 GB, free: 4.008 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0006131/0.1947, allocations: 430.4 kB / 0.8536 GB, free: 3.586 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.1947, allocations: 4 kB / 0.8536 GB, free: 3.582 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.392e-06/0.1947, allocations: 0 / 0.8536 GB, free: 3.582 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.1947, allocations: 0 / 0.8536 GB, free: 3.582 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.0008923/0.1956, allocations: 0.5361 MB / 0.8541 GB, free: 3.016 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.1956, allocations: 9.344 kB / 0.8541 GB, free: 3.008 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.639e-05/0.1956, allocations: 8.562 kB / 0.8541 GB, free: 3 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.675e-05/0.1957, allocations: 54.73 kB / 0.8542 GB, free: 2.938 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.41e-05/0.1958, allocations: 32.75 kB / 0.8542 GB, free: 2.906 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004989/0.1963, allocations: 273.3 kB / 0.8545 GB, free: 2.617 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.6e-05/0.1963, allocations: 20.81 kB / 0.8545 GB, free: 2.594 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.907e-05/0.1963, allocations: 28.12 kB / 0.8545 GB, free: 2.566 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005825/0.1969, allocations: 308.7 kB / 0.8548 GB, free: 2.242 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.1969, allocations: 0 / 0.8548 GB, free: 2.242 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.372e-05/0.1969, allocations: 12 kB / 0.8548 GB, free: 2.23 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.197, allocations: 4 kB / 0.8548 GB, free: 2.227 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004817/0.1974, allocations: 184.4 kB / 0.855 GB, free: 2.047 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.001214/0.1986, allocations: 0.7083 MB / 0.8557 GB, free: 1.293 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003054/0.199, allocations: 133.1 kB / 0.8558 GB, free: 1.145 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002185/0.1992, allocations: 89.64 kB / 0.8559 GB, free: 1.051 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001737/0.1993, allocations: 39.97 kB / 0.856 GB, free: 1.012 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.1994, allocations: 38.5 kB / 0.856 GB, free: 0.9648 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=12): time 1.252e-06/0.1994, allocations: 0 / 0.856 GB, free: 0.9648 MB / 0.5919 GB Notification: Performance of matching and sorting (n=12): time 0.0007714/0.2001, allocations: 261.7 kB / 0.8562 GB, free: 0.7031 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.366e-05/0.2002, allocations: 81.11 kB / 0.8563 GB, free: 0.6055 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003029/0.2005, allocations: 268.2 kB / 0.8566 GB, free: 340 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.912e-05/0.2005, allocations: 29.7 kB / 0.8566 GB, free: 304 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001359/0.2007, allocations: 168.3 kB / 0.8568 GB, free: 132 kB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.818e-05/0.2007, allocations: 47.58 kB / 0.8568 GB, free: 84 kB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.638e-05/0.2008, allocations: 33.72 kB / 0.8568 GB, free: 44 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001823/0.201, allocations: 334.8 kB / 0.8572 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001991/0.2012, allocations: 59.94 kB / 0.8572 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000338/0.2015, allocations: 280.2 kB / 0.8575 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004054/0.2019, allocations: 172 kB / 0.8577 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.2019, allocations: 3.938 kB / 0.8577 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005036/0.2024, allocations: 217.3 kB / 0.8579 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.2024, allocations: 4 kB / 0.8579 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.2024, allocations: 0 / 0.8579 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.2024, allocations: 4 kB / 0.8579 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002742/0.2027, allocations: 59.97 kB / 0.8579 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.2027, allocations: 4.062 kB / 0.8579 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001797/0.2029, allocations: 32.23 kB / 0.858 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.747e-05/0.2029, allocations: 8 kB / 0.858 GB, free: 14.8 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.0001445/0.2031, allocations: 150.4 kB / 0.8581 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.939e-05/0.2031, allocations: 23.86 kB / 0.8581 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003173/0.2035, allocations: 190.5 kB / 0.8583 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/0.2035, allocations: 8 kB / 0.8583 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.2035, allocations: 4 kB / 0.8583 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.2035, allocations: 0 / 0.8583 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008159/0.2043, allocations: 0.5592 MB / 0.8589 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.788e-06/0.2043, allocations: 0 / 0.8589 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000248/0.2046, allocations: 55.89 kB / 0.8589 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.2046, allocations: 0 / 0.8589 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.2046, allocations: 7.984 kB / 0.8589 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.2046, allocations: 8.125 kB / 0.8589 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.2046, allocations: 3.938 kB / 0.859 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006448/0.2052, allocations: 452.2 kB / 0.8594 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.273e-05/0.2053, allocations: 47.72 kB / 0.8594 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.524e-05/0.2053, allocations: 4 kB / 0.8594 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000215/0.2056, allocations: 19.97 kB / 0.8595 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.791e-05/0.2056, allocations: 23.92 kB / 0.8595 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.733e-05/0.2057, allocations: 7.984 kB / 0.8595 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002643/0.2059, allocations: 195.2 kB / 0.8597 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2059, allocations: 3.938 kB / 0.8597 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004383/0.2064, allocations: 87.77 kB / 0.8598 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.001182/0.2075, allocations: 1.06 MB / 0.8608 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005074/0.2081, allocations: 172 kB / 0.861 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2081, allocations: 0 / 0.861 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002723/0.2083, allocations: 111.8 kB / 0.8611 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007789/0.2091, allocations: 111.7 kB / 0.8612 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003635/0.2127, allocations: 2.655 MB / 0.8638 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000181/0.2129, allocations: 166.8 kB / 0.8639 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001771/0.2131, allocations: 58.25 kB / 0.864 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/0.2132, allocations: 87.41 kB / 0.8641 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of SimCode: time 5.01e-07/0.2132, allocations: 0 / 0.8641 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03125/0.2445, allocations: 8.759 MB / 0.8726 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.34, allocations: 11.11 kB / 0.8726 GB, free: 15.81 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.421379278064705] Failed to read output from testmodel.py, exit status != 0: 11.49813516100403 11.514797304 11.316747773 Calling exit ...