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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005441/0.005441, allocations: 99.75 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 192.2 kB / 16.67 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002542/0.002542, allocations: 296.5 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.055/1.055, allocations: 169.2 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002871/0.002871, allocations: 99.84 kB / 0.681 GB, free: 7.453 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3915/0.3944, allocations: 86.97 MB / 0.7659 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01744/0.4118, allocations: 14.76 MB / 0.7803 GB, free: 5.012 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005044/0.4169, allocations: 3.738 MB / 0.784 GB, free: 1.266 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003827/0.4173, allocations: 11.94 kB / 0.784 GB, free: 1.254 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005166/0.4179, allocations: 166.7 kB / 0.7841 GB, free: 1.09 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0009557/0.4188, allocations: 398 kB / 0.7845 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008805/0.4197, allocations: 329.1 kB / 0.7848 GB, free: 388 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0009367/0.4207, allocations: 0.7725 MB / 0.7856 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004497/0.4212, allocations: 307.7 kB / 0.7859 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006647/0.4218, allocations: 386.3 kB / 0.7862 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002927/0.4221, allocations: 223 kB / 0.7864 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.737e-05/0.4222, allocations: 20 kB / 0.7865 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004551/0.4226, allocations: 235.5 kB / 0.7867 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.161e-05/0.4227, allocations: 71.75 kB / 0.7868 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001459/0.4229, allocations: 147.2 kB / 0.7869 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006019/0.4235, allocations: 439.7 kB / 0.7873 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.4235, allocations: 0 / 0.7873 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.082e-06/0.4235, allocations: 0 / 0.7873 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.4235, allocations: 0 / 0.7873 GB, free: 13.82 MB / 0.5606 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.000886/0.4244, allocations: 0.6153 MB / 0.7879 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.4245, allocations: 8.031 kB / 0.7879 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.995e-05/0.4245, allocations: 54.73 kB / 0.788 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.126e-05/0.4246, allocations: 40.75 kB / 0.788 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004947/0.4251, allocations: 331.1 kB / 0.7883 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/0.4252, allocations: 16.81 kB / 0.7883 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.931e-05/0.4252, allocations: 24.38 kB / 0.7884 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005558/0.4258, allocations: 261.3 kB / 0.7886 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.4258, allocations: 0 / 0.7886 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.376e-05/0.4258, allocations: 11.94 kB / 0.7886 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.4258, allocations: 8 kB / 0.7886 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004803/0.4263, allocations: 180.5 kB / 0.7888 GB, free: 12.18 MB / 0.5606 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.001227/0.4275, allocations: 0.8245 MB / 0.7896 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003076/0.4279, allocations: 145.1 kB / 0.7898 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002316/0.4281, allocations: 89.64 kB / 0.7898 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004101/0.4285, allocations: 498.6 kB / 0.7903 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.291e-05/0.4286, allocations: 38.56 kB / 0.7904 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 1.262e-06/0.4286, allocations: 0 / 0.7904 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12): time 0.0007735/0.4294, allocations: 265.2 kB / 0.7906 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.223e-05/0.4294, allocations: 81.11 kB / 0.7907 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002761/0.4297, allocations: 263 kB / 0.7909 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.192e-05/0.4298, allocations: 33.7 kB / 0.791 GB, free: 9.727 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.4299, allocations: 172.4 kB / 0.7911 GB, free: 9.555 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.079e-05/0.4299, allocations: 47.72 kB / 0.7912 GB, free: 9.508 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.516e-05/0.43, allocations: 33.7 kB / 0.7912 GB, free: 9.469 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.4302, allocations: 338.8 kB / 0.7915 GB, free: 9.129 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001958/0.4304, allocations: 55.94 kB / 0.7916 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002521/0.4306, allocations: 123.7 kB / 0.7917 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004056/0.4311, allocations: 172.4 kB / 0.7919 GB, free: 8.75 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.4311, allocations: 4 kB / 0.7919 GB, free: 8.746 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005004/0.4316, allocations: 213.3 kB / 0.7921 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.4316, allocations: 12 kB / 0.7921 GB, free: 8.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.4316, allocations: 0 / 0.7921 GB, free: 8.52 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.4316, allocations: 4 kB / 0.7921 GB, free: 8.516 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002683/0.4319, allocations: 47.94 kB / 0.7921 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.4319, allocations: 4 kB / 0.7921 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/0.4321, allocations: 35.81 kB / 0.7922 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.289e-05/0.4321, allocations: 8 kB / 0.7922 GB, free: 8.422 MB / 0.5606 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.0001515/0.4323, allocations: 152.1 kB / 0.7923 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.802e-05/0.4324, allocations: 27.86 kB / 0.7924 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003162/0.4327, allocations: 181.4 kB / 0.7925 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.4327, allocations: 4 kB / 0.7925 GB, free: 8.055 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.4327, allocations: 0 / 0.7925 GB, free: 8.055 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.4327, allocations: 0 / 0.7925 GB, free: 8.055 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008571/0.4336, allocations: 0.6107 MB / 0.7931 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.4336, allocations: 4 kB / 0.7931 GB, free: 7.371 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002481/0.4339, allocations: 47.89 kB / 0.7932 GB, free: 7.324 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.4339, allocations: 4 kB / 0.7932 GB, free: 7.32 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.4339, allocations: 7.984 kB / 0.7932 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.4339, allocations: 8.125 kB / 0.7932 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.4339, allocations: 320 / 0.7932 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006244/0.4346, allocations: 444.2 kB / 0.7936 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/0.4347, allocations: 120.9 kB / 0.7937 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.305e-05/0.4347, allocations: 4 kB / 0.7937 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002669/0.435, allocations: 19.97 kB / 0.7938 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.565e-05/0.4351, allocations: 19.92 kB / 0.7938 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-05/0.4351, allocations: 12 kB / 0.7938 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001886/0.4353, allocations: 193.9 kB / 0.794 GB, free: 6.465 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4353, allocations: 0 / 0.794 GB, free: 6.465 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005532/0.4358, allocations: 91.77 kB / 0.7941 GB, free: 6.375 MB / 0.5606 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.001258/0.4371, allocations: 1.075 MB / 0.7951 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005238/0.4376, allocations: 187.1 kB / 0.7953 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.4377, allocations: 4 kB / 0.7953 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002673/0.4379, allocations: 99.88 kB / 0.7954 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008888/0.4388, allocations: 115.9 kB / 0.7955 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003571/0.4424, allocations: 2.646 MB / 0.7981 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004005/0.4428, allocations: 0.7753 MB / 0.7988 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001553/0.443, allocations: 58.27 kB / 0.7989 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.4431, allocations: 87.41 kB / 0.799 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of SimCode: time 2.8e-07/0.4431, allocations: 0 / 0.799 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.91/2.353, allocations: 8.137 MB / 0.8069 GB, free: 9.258 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.96/16.31, allocations: 8.625 kB / 0.8069 GB, free: 9.25 MB / 0.5762 GB (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 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.fmu > BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1)