Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.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.Sources.Validation.Boundary,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Validation_Boundary",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Validation.Boundary,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Validation_Boundary",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.0009141/0.0009142, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.005537/0.005537, allocations: 170.9 kB / 16.26 MB, free: 6.613 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.312/1.312, allocations: 223.2 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001702/0.001702, allocations: 270.9 kB / 291.7 MB, free: 1.891 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9561/0.9561, allocations: 169.5 MB / 0.5004 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000389/0.000389, allocations: 15.03 kB / 0.5988 GB, free: 28.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1469, allocations: 88.54 MB / 0.6852 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.Boundary): time 0.5138/0.6608, allocations: 248.7 MB / 0.9281 GB, free: 6.957 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02363/0.6844, allocations: 20.54 MB / 0.9482 GB, free: 2.359 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002179/0.6867, allocations: 75.31 kB / 0.9482 GB, free: 2.285 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001681/0.6883, allocations: 0.652 MB / 0.9489 GB, free: 1.629 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006444/0.6948, allocations: 2.723 MB / 0.9515 GB, free: 14.89 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.006253/0.7011, allocations: 2.517 MB / 0.954 GB, free: 12.39 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005689/0.7068, allocations: 5.067 MB / 0.9589 GB, free: 7.312 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001805/0.7086, allocations: 1.046 MB / 0.9599 GB, free: 6.238 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002538/0.7112, allocations: 1.255 MB / 0.9612 GB, free: 4.984 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001594/0.7128, allocations: 1.042 MB / 0.9622 GB, free: 3.938 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002645/0.713, allocations: 52 kB / 0.9622 GB, free: 3.887 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008854/0.7219, allocations: 5.054 MB / 0.9672 GB, free: 14.82 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.000736/0.7227, allocations: 0.5919 MB / 0.9678 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.00143/0.7241, allocations: 0.9226 MB / 0.9687 GB, free: 13.29 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.007048/0.7312, allocations: 4.452 MB / 0.973 GB, free: 8.828 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.7312, allocations: 0 / 0.973 GB, free: 8.828 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7312, allocations: 0 / 0.973 GB, free: 8.828 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 7.424e-05/0.7313, allocations: 0 / 0.973 GB, free: 8.828 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.003193/0.7345, allocations: 1.919 MB / 0.9749 GB, free: 6.855 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.7345, allocations: 12.03 kB / 0.9749 GB, free: 6.844 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003263/0.7349, allocations: 186 kB / 0.9751 GB, free: 6.652 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002145/0.737, allocations: 485 kB / 0.9755 GB, free: 6.176 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002059/0.7391, allocations: 1.267 MB / 0.9768 GB, free: 4.855 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001151/0.7392, allocations: 98.42 kB / 0.9769 GB, free: 4.758 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001981/0.7394, allocations: 124 kB / 0.977 GB, free: 4.637 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002663/0.7421, allocations: 1.715 MB / 0.9787 GB, free: 2.781 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.562e-05/0.7421, allocations: 7.938 kB / 0.9787 GB, free: 2.773 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001127/0.7422, allocations: 52 kB / 0.9787 GB, free: 2.723 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.912e-05/0.7423, allocations: 59.98 kB / 0.9788 GB, free: 2.664 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001835/0.7442, allocations: 1.221 MB / 0.98 GB, free: 1.441 MB / 0.6856 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.00812/0.7523, allocations: 7.556 MB / 0.9873 GB, free: 9.492 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008703/0.7532, allocations: 0.6656 MB / 0.988 GB, free: 8.734 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007047/0.7539, allocations: 0.6147 MB / 0.9886 GB, free: 8.09 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001579/0.7555, allocations: 1.879 MB / 0.9904 GB, free: 5.805 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.113e-05/0.7556, allocations: 50.5 kB / 0.9905 GB, free: 5.746 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=72): time 4.198e-06/0.7556, allocations: 3.984 kB / 0.9905 GB, free: 5.742 MB / 0.7012 GB Notification: Performance of matching and sorting (n=72): time 0.00231/0.7579, allocations: 1.387 MB / 0.9918 GB, free: 4.348 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001268/0.758, allocations: 306.7 kB / 0.9921 GB, free: 3.98 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002464/0.7605, allocations: 1.884 MB / 0.994 GB, free: 2.059 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.794e-05/0.7606, allocations: 41.7 kB / 0.994 GB, free: 2.012 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.000647/0.7612, allocations: 0.7252 MB / 0.9947 GB, free: 1.277 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.000212/0.7615, allocations: 248.4 kB / 0.9949 GB, free: 1.031 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.925e-05/0.7615, allocations: 53.69 kB / 0.995 GB, free: 0.9727 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.7617, allocations: 333.9 kB / 0.9953 GB, free: 0.6406 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004158/0.7621, allocations: 329.1 kB / 0.9956 GB, free: 324 kB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006669/0.7628, allocations: 0.5626 MB / 0.9962 GB, free: 15.7 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/0.7639, allocations: 0.8531 MB / 0.997 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.7639, allocations: 3.938 kB / 0.997 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00141/0.7653, allocations: 1.022 MB / 0.998 GB, free: 13.77 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.7653, allocations: 6.5 kB / 0.998 GB, free: 13.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.7653, allocations: 11.94 kB / 0.998 GB, free: 13.75 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.7654, allocations: 8 kB / 0.998 GB, free: 13.75 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003971/0.7658, allocations: 119.8 kB / 0.9982 GB, free: 13.63 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.441e-05/0.7658, allocations: 11.98 kB / 0.9982 GB, free: 13.62 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007876/0.7666, allocations: 134.5 kB / 0.9983 GB, free: 13.48 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/0.7667, allocations: 51.92 kB / 0.9983 GB, free: 13.43 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (72): * Single equations (assignments): 72 * 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.000626/0.7673, allocations: 454.2 kB / 0.9988 GB, free: 12.98 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003846/0.7677, allocations: 185.7 kB / 0.999 GB, free: 12.8 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001626/0.7694, allocations: 1.083 MB / 1 GB, free: 11.7 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-05/0.7694, allocations: 12 kB / 1 GB, free: 11.69 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/0.7694, allocations: 4 kB / 1 GB, free: 11.68 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.7694, allocations: 3.984 kB / 1 GB, free: 11.68 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01014/0.7796, allocations: 8.795 MB / 1.009 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.974e-05/0.7796, allocations: 16.09 kB / 1.009 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004016/0.78, allocations: 147.6 kB / 1.009 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.721e-05/0.78, allocations: 20 kB / 1.009 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.988e-05/0.7801, allocations: 43.98 kB / 1.009 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.848e-05/0.7801, allocations: 28.5 kB / 1.009 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.534e-05/0.7802, allocations: 28.42 kB / 1.009 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001695/0.7819, allocations: 1.664 MB / 1.011 GB, free: 228 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006235/0.7825, allocations: 414.5 kB / 1.011 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002525/0.7828, allocations: 39.92 kB / 1.011 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007171/0.7835, allocations: 43.84 kB / 1.011 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.7836, allocations: 103.5 kB / 1.011 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.32e-05/0.7837, allocations: 55.98 kB / 1.011 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001748/0.7854, allocations: 1.316 MB / 1.012 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.71e-07/0.7854, allocations: 0 / 1.012 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001577/0.787, allocations: 0.5308 MB / 1.013 GB, free: 13.69 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 68 * 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 (78): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.004751/0.7918, allocations: 3.022 MB / 1.016 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001206/0.793, allocations: 0.8209 MB / 1.017 GB, free: 9.621 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.796e-06/0.793, allocations: 4 kB / 1.017 GB, free: 9.617 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005977/0.7936, allocations: 495.5 kB / 1.017 GB, free: 9.137 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009733/0.8034, allocations: 1.268 MB / 1.018 GB, free: 7.895 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02443/0.8278, allocations: 16.06 MB / 1.034 GB, free: 6.516 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00121/0.8291, allocations: 1.402 MB / 1.035 GB, free: 5.086 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001531/0.8306, allocations: 490.6 kB / 1.036 GB, free: 4.602 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008101/0.8315, allocations: 0.6594 MB / 1.037 GB, free: 3.941 MB / 0.7481 GB Notification: Performance of SimCode: time 8.52e-07/0.8315, allocations: 0 / 1.037 GB, free: 3.941 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.694/2.526, allocations: 58.87 MB / 1.094 GB, free: 247.8 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001336/2.526, allocations: 253.6 kB / 1.094 GB, free: 247.6 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.881/5.407, allocations: 0 / 1.094 GB, free: 247.6 MB / 0.7481 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sources_Validation_Boundary_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sources_Validation_Boundary.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.pipe 2>&1)