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.005239/0.005239, allocations: 99.34 kB / 15.73 MB, free: 6.035 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.001288/0.001288, allocations: 195.8 kB / 16.67 MB, free: 5.961 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.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002544/0.002544, allocations: 278.6 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9893/0.9893, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002665/0.002665, allocations: 99.91 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1591, allocations: 86.97 MB / 0.7659 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.Boundary): time 0.5703/0.7294, allocations: 253.3 MB / 1.013 GB, free: 5.371 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02685/0.7563, allocations: 20.6 MB / 1.033 GB, free: 0.7148 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00217/0.7585, allocations: 75.44 kB / 1.033 GB, free: 0.6406 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002301/0.7608, allocations: 0.83 MB / 1.034 GB, free: 15.8 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.007358/0.7682, allocations: 2.916 MB / 1.037 GB, free: 12.88 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.006498/0.7747, allocations: 2.749 MB / 1.04 GB, free: 10.14 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.005517/0.7803, allocations: 3.819 MB / 1.044 GB, free: 6.312 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002212/0.7825, allocations: 1.303 MB / 1.045 GB, free: 4.988 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003071/0.7856, allocations: 1.428 MB / 1.046 GB, free: 3.562 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001694/0.7873, allocations: 0.9915 MB / 1.047 GB, free: 2.566 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0003592/0.7877, allocations: 108 kB / 1.047 GB, free: 2.461 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008655/0.7964, allocations: 3.947 MB / 1.051 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0009051/0.7973, allocations: 0.6465 MB / 1.052 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001456/0.7988, allocations: 0.9756 MB / 1.053 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.008007/0.8068, allocations: 4.225 MB / 1.057 GB, free: 8.633 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.8068, allocations: 3.938 kB / 1.057 GB, free: 8.629 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.724e-06/0.8068, allocations: 3.938 kB / 1.057 GB, free: 8.625 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.617e-05/0.8069, allocations: 0 / 1.057 GB, free: 8.625 MB / 0.8106 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.003616/0.8105, allocations: 2.366 MB / 1.059 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.8106, allocations: 8.031 kB / 1.059 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002434/0.8108, allocations: 198 kB / 1.059 GB, free: 5.988 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002158/0.813, allocations: 498.1 kB / 1.06 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002375/0.8154, allocations: 1.389 MB / 1.061 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.043e-05/0.8155, allocations: 90.44 kB / 1.061 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001712/0.8157, allocations: 124 kB / 1.061 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002535/0.8182, allocations: 1.727 MB / 1.063 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.908e-05/0.8182, allocations: 7.938 kB / 1.063 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/0.8184, allocations: 52 kB / 1.063 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.529e-05/0.8185, allocations: 63.92 kB / 1.063 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001828/0.8203, allocations: 1.227 MB / 1.064 GB, free: 0.6328 MB / 0.8106 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.00843/0.8287, allocations: 7.555 MB / 1.072 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.8298, allocations: 0.6546 MB / 1.072 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007728/0.8305, allocations: 0.6217 MB / 1.073 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00177/0.8323, allocations: 1.875 MB / 1.075 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.1e-05/0.8324, allocations: 46.5 kB / 1.075 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=72): time 3.166e-06/0.8324, allocations: 0 / 1.075 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of matching and sorting (n=72): time 0.002669/0.8351, allocations: 1.401 MB / 1.076 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001831/0.8353, allocations: 298.7 kB / 1.077 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002713/0.838, allocations: 1.892 MB / 1.078 GB, free: 1.258 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001001/0.8381, allocations: 37.7 kB / 1.078 GB, free: 1.215 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007155/0.8388, allocations: 0.7332 MB / 1.079 GB, free: 488 kB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002598/0.8391, allocations: 249.8 kB / 1.079 GB, free: 236 kB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002032/0.8393, allocations: 142.3 kB / 1.08 GB, free: 88 kB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.8395, allocations: 329.9 kB / 1.08 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004426/0.8399, allocations: 329.1 kB / 1.08 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007216/0.8407, allocations: 0.5664 MB / 1.081 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0011/0.8418, allocations: 0.857 MB / 1.082 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.8418, allocations: 4 kB / 1.082 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001634/0.8434, allocations: 1.019 MB / 1.083 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.8435, allocations: 8 kB / 1.083 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.8435, allocations: 4 kB / 1.083 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/0.8435, allocations: 4.125 kB / 1.083 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004463/0.844, allocations: 127.8 kB / 1.083 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.57e-05/0.844, allocations: 11.92 kB / 1.083 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007867/0.8448, allocations: 130.8 kB / 1.083 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/0.8449, allocations: 43.98 kB / 1.083 GB, free: 12.56 MB / 0.8419 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.000732/0.8456, allocations: 458.1 kB / 1.083 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004448/0.8461, allocations: 198.7 kB / 1.083 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001753/0.8478, allocations: 1.083 MB / 1.085 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.416e-05/0.8479, allocations: 16.28 kB / 1.085 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.38e-05/0.8479, allocations: 4 kB / 1.085 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.8479, allocations: 3.984 kB / 1.085 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01219/0.8601, allocations: 8.773 MB / 1.093 GB, free: 1.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.135e-05/0.8602, allocations: 16 kB / 1.093 GB, free: 1.504 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004416/0.8606, allocations: 139.8 kB / 1.093 GB, free: 1.367 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-05/0.8607, allocations: 20 kB / 1.093 GB, free: 1.348 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.125e-05/0.8607, allocations: 35.94 kB / 1.093 GB, free: 1.312 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.292e-05/0.8608, allocations: 31.86 kB / 1.093 GB, free: 1.281 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.929e-05/0.8608, allocations: 23.94 kB / 1.093 GB, free: 1.258 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2842/1.145, allocations: 1.684 MB / 1.095 GB, free: 289.4 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006771/1.146, allocations: 424.3 kB / 1.095 GB, free: 289.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002164/1.146, allocations: 38.75 kB / 1.095 GB, free: 289.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007451/1.147, allocations: 24.47 kB / 1.095 GB, free: 289.3 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/1.147, allocations: 106.4 kB / 1.096 GB, free: 289.3 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-05/1.147, allocations: 54.73 kB / 1.096 GB, free: 289.3 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001747/1.149, allocations: 1.32 MB / 1.097 GB, free: 289.1 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.41e-07/1.149, allocations: 0 / 1.097 GB, free: 289.1 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001796/1.15, allocations: 0.5194 MB / 1.097 GB, free: 289.1 MB / 0.8419 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.003515/1.154, allocations: 3.015 MB / 1.1 GB, free: 287.7 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001196/1.155, allocations: 0.853 MB / 1.101 GB, free: 287.7 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 8.746e-06/1.155, allocations: 2.219 kB / 1.101 GB, free: 287.7 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000571/1.156, allocations: 490.1 kB / 1.102 GB, free: 287.5 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005162/1.161, allocations: 1.343 MB / 1.103 GB, free: 287.3 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01591/1.177, allocations: 13.92 MB / 1.117 GB, free: 280.4 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009169/1.178, allocations: 1.413 MB / 1.118 GB, free: 279.6 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001459/1.179, allocations: 492.3 kB / 1.118 GB, free: 279.6 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006139/1.18, allocations: 0.6578 MB / 1.119 GB, free: 279.1 MB / 0.8419 GB Notification: Performance of SimCode: time 7.91e-07/1.18, allocations: 0 / 1.119 GB, free: 279.1 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.112/2.292, allocations: 60.11 MB / 1.178 GB, free: 241.2 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.34/17.63, allocations: 17.89 kB / 1.178 GB, free: 241.1 MB / 0.8419 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)