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.001326/0.001326, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001344/0.001344, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.428/1.428, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.002396/0.002396, allocations: 289.5 kB / 309.8 MB, free: 3.473 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.068/1.068, allocations: 180.6 MB / 0.5338 GB, free: 12.36 MB / 398.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.002862/0.002862, allocations: 97.73 kB / 0.7347 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5797/0.5826, allocations: 95.33 MB / 0.8278 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01745/0.6001, allocations: 15 MB / 0.8424 GB, free: 8.293 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005328/0.6054, allocations: 3.757 MB / 0.8461 GB, free: 5.617 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004636/0.6058, allocations: 21.59 kB / 0.8461 GB, free: 5.605 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006205/0.6065, allocations: 175 kB / 0.8463 GB, free: 5.488 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001138/0.6076, allocations: 417.5 kB / 0.8467 GB, free: 5.258 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001018/0.6086, allocations: 338.6 kB / 0.847 GB, free: 5.09 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001049/0.6097, allocations: 0.7763 MB / 0.8477 GB, free: 4.742 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004445/0.6101, allocations: 234 kB / 0.848 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007939/0.6109, allocations: 397.4 kB / 0.8483 GB, free: 4.461 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003187/0.6112, allocations: 232.7 kB / 0.8486 GB, free: 4.363 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.611e-05/0.6113, allocations: 20.72 kB / 0.8486 GB, free: 4.363 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006014/0.6119, allocations: 243.1 kB / 0.8488 GB, free: 4.273 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.612, allocations: 69.45 kB / 0.8489 GB, free: 4.238 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001649/0.6121, allocations: 147.8 kB / 0.849 GB, free: 4.148 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0007221/0.6129, allocations: 427.5 kB / 0.8494 GB, free: 3.992 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.6129, allocations: 0 / 0.8494 GB, free: 3.992 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6129, allocations: 0 / 0.8494 GB, free: 3.992 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.885e-06/0.6129, allocations: 4 kB / 0.8494 GB, free: 3.988 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.001044/0.6139, allocations: 0.6159 MB / 0.85 GB, free: 3.469 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.614, allocations: 10.11 kB / 0.85 GB, free: 3.469 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.961e-05/0.614, allocations: 5.875 kB / 0.85 GB, free: 3.469 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.737e-05/0.6141, allocations: 58.95 kB / 0.8501 GB, free: 3.414 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.897e-05/0.6142, allocations: 34.22 kB / 0.8501 GB, free: 3.398 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005932/0.6147, allocations: 333.1 kB / 0.8505 GB, free: 3.133 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.284e-05/0.6148, allocations: 18.19 kB / 0.8505 GB, free: 3.121 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.154e-05/0.6148, allocations: 35.28 kB / 0.8505 GB, free: 3.102 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006608/0.6155, allocations: 257.9 kB / 0.8508 GB, free: 2.984 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.6155, allocations: 1.125 kB / 0.8508 GB, free: 2.984 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.006e-05/0.6155, allocations: 10.28 kB / 0.8508 GB, free: 2.977 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.6155, allocations: 4.719 kB / 0.8508 GB, free: 2.977 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006136/0.6162, allocations: 189.3 kB / 0.8509 GB, free: 2.926 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.001382/0.6175, allocations: 0.8353 MB / 0.8518 GB, free: 2.32 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003415/0.6179, allocations: 133.5 kB / 0.8519 GB, free: 2.246 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002397/0.6181, allocations: 88.03 kB / 0.852 GB, free: 2.211 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004408/0.6186, allocations: 0.4904 MB / 0.8525 GB, free: 1.641 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.6186, allocations: 35.97 kB / 0.8525 GB, free: 1.598 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=12): time 1.583e-06/0.6186, allocations: 3.938 kB / 0.8525 GB, free: 1.594 MB / 0.5919 GB Notification: Performance of matching and sorting (n=12): time 0.0008302/0.6194, allocations: 258.6 kB / 0.8527 GB, free: 1.504 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.772e-05/0.6195, allocations: 83.38 kB / 0.8528 GB, free: 1.406 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002972/0.6198, allocations: 272.4 kB / 0.8531 GB, free: 1.25 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.196e-05/0.6198, allocations: 26.92 kB / 0.8531 GB, free: 1.219 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/0.6199, allocations: 166.8 kB / 0.8533 GB, free: 1.078 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.213e-05/0.62, allocations: 44.61 kB / 0.8533 GB, free: 1.043 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.194e-05/0.6201, allocations: 35.2 kB / 0.8533 GB, free: 1.02 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.6202, allocations: 336.6 kB / 0.8537 GB, free: 0.6953 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002081/0.6204, allocations: 64.39 kB / 0.8537 GB, free: 0.6797 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002679/0.6207, allocations: 122.6 kB / 0.8538 GB, free: 0.6055 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000432/0.6211, allocations: 174.4 kB / 0.854 GB, free: 0.5234 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.6211, allocations: 4.5 kB / 0.854 GB, free: 0.5195 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005313/0.6217, allocations: 211.6 kB / 0.8542 GB, free: 444 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.6217, allocations: 5.625 kB / 0.8542 GB, free: 444 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.6217, allocations: 1.375 kB / 0.8542 GB, free: 444 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.326e-05/0.6217, allocations: 3.656 kB / 0.8542 GB, free: 444 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002902/0.622, allocations: 57.5 kB / 0.8543 GB, free: 436 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.622, allocations: 1.188 kB / 0.8543 GB, free: 436 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001994/0.6222, allocations: 31.66 kB / 0.8543 GB, free: 424 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.197e-05/0.6222, allocations: 11.39 kB / 0.8543 GB, free: 420 kB / 0.5919 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.0001574/0.6224, allocations: 146.1 kB / 0.8545 GB, free: 288 kB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.982e-05/0.6225, allocations: 23.77 kB / 0.8545 GB, free: 276 kB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003254/0.6228, allocations: 183.6 kB / 0.8547 GB, free: 184 kB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.657e-05/0.6228, allocations: 6.953 kB / 0.8547 GB, free: 180 kB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.6228, allocations: 8 kB / 0.8547 GB, free: 172 kB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.6228, allocations: 2.375 kB / 0.8547 GB, free: 172 kB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008743/0.6237, allocations: 0.6 MB / 0.8553 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.6237, allocations: 1.344 kB / 0.8553 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000266/0.624, allocations: 56.53 kB / 0.8553 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.624, allocations: 2.219 kB / 0.8553 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.624, allocations: 2.875 kB / 0.8553 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.624, allocations: 3.109 kB / 0.8553 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.624, allocations: 6.344 kB / 0.8553 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000667/0.6247, allocations: 443.7 kB / 0.8557 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000128/0.6248, allocations: 127.7 kB / 0.8559 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.516e-05/0.6248, allocations: 7.469 kB / 0.8559 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002233/0.625, allocations: 23.81 kB / 0.8559 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.125e-05/0.6251, allocations: 14.89 kB / 0.8559 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.115e-05/0.6251, allocations: 15.66 kB / 0.8559 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001948/0.6253, allocations: 190 kB / 0.8561 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.6253, allocations: 0 / 0.8561 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004943/0.6258, allocations: 90.86 kB / 0.8562 GB, free: 15.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.001217/0.627, allocations: 1.051 MB / 0.8572 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000547/0.6276, allocations: 167.9 kB / 0.8574 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.6276, allocations: 1.469 kB / 0.8574 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002788/0.6279, allocations: 106.6 kB / 0.8575 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008215/0.6287, allocations: 123.4 kB / 0.8576 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003765/0.6324, allocations: 2.644 MB / 0.8602 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004438/0.6329, allocations: 0.775 MB / 0.8609 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002084/0.6331, allocations: 54.05 kB / 0.861 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001382/0.6332, allocations: 87.38 kB / 0.8611 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of SimCode: time 1.002e-06/0.6332, allocations: 0 / 0.8611 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02829/0.6615, allocations: 8.199 MB / 0.8691 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.49/9.152, allocations: 5.094 kB / 0.8691 GB, free: 7.898 MB / 0.6075 GB " [Timeout remaining time 651] (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: 13.155926758015994] Failed to read output from testmodel.py, exit status != 0: 9.281850169005338 9.307001194 8.689303708 Calling exit ...