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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8994/0.8994, allocations: 141.8 MB / 149.3 MB, free: 9.223 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 176.8 kB / 182.2 MB, free: 9.453 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.548/1.548, allocations: 221.5 MB / 436.4 MB, free: 13.36 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009483/0.000948, allocations: 83.88 kB / 0.5074 GB, free: 10.19 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001861/0.001861, allocations: 277.7 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.979e-05/1.96e-05, allocations: 4 kB / 0.6766 GB, free: 12.76 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4629/0.4629, allocations: 82.78 MB / 0.7575 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.312/7.775, allocations: 2.828 GB / 3.586 GB, free: 38.92 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002814/7.775, allocations: 84.77 kB / 3.586 GB, free: 38.84 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.928/14.7, allocations: 1.74 GB / 5.326 GB, free: 92.56 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.716e-06/14.7, allocations: 0 / 5.326 GB, free: 92.56 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0003003/14.7, allocations: 58.02 kB / 5.326 GB, free: 92.56 MB / 0.7605 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.006312/14.71, allocations: 1.856 MB / 5.328 GB, free: 92.02 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/14.71, allocations: 9.938 kB / 5.328 GB, free: 92.02 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002777/14.71, allocations: 440.3 kB / 5.328 GB, free: 91.91 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002648/14.72, allocations: 1.301 MB / 5.329 GB, free: 91.6 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.109e-05/14.72, allocations: 38.19 kB / 5.329 GB, free: 91.6 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001887/14.72, allocations: 78.91 kB / 5.33 GB, free: 91.6 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001623/14.72, allocations: 0.9907 MB / 5.331 GB, free: 91.59 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0019/14.72, allocations: 1.415 MB / 5.332 GB, free: 91.27 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.069e-05/14.72, allocations: 4.969 kB / 5.332 GB, free: 91.27 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.673e-05/14.72, allocations: 0 / 5.332 GB, free: 91.27 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.3e-05/14.72, allocations: 64.69 kB / 5.332 GB, free: 91.27 MB / 0.7605 GB Warning: The model contains alias variables with conflicting start and/or 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.006491/14.73, allocations: 6.413 MB / 5.338 GB, free: 87.66 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007632/14.73, allocations: 0.5464 MB / 5.339 GB, free: 87.5 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005449/14.73, allocations: 0.5359 MB / 5.339 GB, free: 87.44 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001571/14.73, allocations: 2.418 MB / 5.342 GB, free: 84.81 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/14.73, allocations: 51.41 kB / 5.342 GB, free: 84.77 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=72): time 3.496e-06/14.73, allocations: 0 / 5.342 GB, free: 84.77 MB / 0.7605 GB Notification: Performance of matching and sorting (n=72): time 0.002786/14.73, allocations: 1.018 MB / 5.343 GB, free: 84.67 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.328e-05/14.73, allocations: 217.9 kB / 5.343 GB, free: 84.42 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009305/14.73, allocations: 0.7798 MB / 5.344 GB, free: 84.29 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 8.428e-05/14.73, allocations: 29.52 kB / 5.344 GB, free: 84.25 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004432/14.73, allocations: 0.7441 MB / 5.344 GB, free: 84.05 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001713/14.73, allocations: 236.9 kB / 5.345 GB, free: 83.93 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3e-05/14.73, allocations: 0 / 5.345 GB, free: 83.93 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 6.273e-05/14.73, allocations: 335 kB / 5.345 GB, free: 83.62 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002925/14.73, allocations: 279.5 kB / 5.345 GB, free: 83.62 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005258/14.73, allocations: 0.5538 MB / 5.346 GB, free: 83.38 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000886/14.74, allocations: 438.2 kB / 5.346 GB, free: 83.38 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/14.74, allocations: 0 / 5.346 GB, free: 83.38 MB / 0.7605 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001441/14.74, allocations: 0.9108 MB / 5.347 GB, free: 83.28 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/14.74, allocations: 7.062 kB / 5.347 GB, free: 83.28 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/14.74, allocations: 3.812 kB / 5.347 GB, free: 83.28 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.328e-05/14.74, allocations: 9.281 kB / 5.347 GB, free: 83.28 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004109/14.74, allocations: 130.3 kB / 5.347 GB, free: 83.28 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/14.74, allocations: 10.19 kB / 5.347 GB, free: 83.28 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005918/14.74, allocations: 41.39 kB / 5.347 GB, free: 83.27 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001117/14.74, allocations: 64.92 kB / 5.347 GB, free: 83.27 MB / 0.7605 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001375/14.74, allocations: 124.4 kB / 5.347 GB, free: 83.16 MB / 0.7605 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001487/14.74, allocations: 0.8976 MB / 5.348 GB, free: 83.06 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002267/14.74, allocations: 143.8 kB / 5.348 GB, free: 82.99 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001822/14.74, allocations: 0.9712 MB / 5.349 GB, free: 82.94 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.712e-05/14.74, allocations: 16.84 kB / 5.349 GB, free: 82.94 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/14.74, allocations: 1.25 kB / 5.349 GB, free: 82.94 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/14.74, allocations: 6.5 kB / 5.349 GB, free: 82.94 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009692/14.75, allocations: 8.256 MB / 5.357 GB, free: 80.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.671e-05/14.75, allocations: 16.31 kB / 5.358 GB, free: 80.5 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003975/14.75, allocations: 145.5 kB / 5.358 GB, free: 80.5 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.035e-05/14.75, allocations: 21.41 kB / 5.358 GB, free: 80.5 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.078e-05/14.75, allocations: 29.08 kB / 5.358 GB, free: 80.5 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.792e-05/14.75, allocations: 30.39 kB / 5.358 GB, free: 80.5 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.416e-05/14.75, allocations: 23.94 kB / 5.358 GB, free: 80.5 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00226/14.75, allocations: 2.508 MB / 5.36 GB, free: 78.57 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004796/14.76, allocations: 319.9 kB / 5.36 GB, free: 78.41 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001656/14.76, allocations: 23.44 kB / 5.361 GB, free: 78.41 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005256/14.76, allocations: 30.17 kB / 5.361 GB, free: 78.4 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/14.76, allocations: 108.1 kB / 5.361 GB, free: 78.39 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.118e-05/14.76, allocations: 53.77 kB / 5.361 GB, free: 78.39 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0007248/14.76, allocations: 0.6119 MB / 5.361 GB, free: 78.28 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.5e-07/14.76, allocations: 0 / 5.361 GB, free: 78.28 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.00258/14.76, allocations: 0.7079 MB / 5.362 GB, free: 78.2 MB / 0.7605 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007922/14.77, allocations: 10.52 MB / 5.372 GB, free: 70.66 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001237/14.77, allocations: 0.7718 MB / 5.373 GB, free: 70.65 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.297e-05/14.77, allocations: 0 / 5.373 GB, free: 70.65 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0005177/14.77, allocations: 447.6 kB / 5.373 GB, free: 70.65 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003752/14.77, allocations: 0.756 MB / 5.374 GB, free: 70.64 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005378/14.78, allocations: 2.853 MB / 5.377 GB, free: 69.45 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001063/14.78, allocations: 1.446 MB / 5.378 GB, free: 68.74 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.00132/14.78, allocations: 376.6 kB / 5.379 GB, free: 68.73 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007101/14.78, allocations: 0.6194 MB / 5.379 GB, free: 68.73 MB / 0.7605 GB Notification: Performance of SimCode: time 1.002e-06/14.78, allocations: 0 / 5.379 GB, free: 68.73 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.089/14.87, allocations: 55.76 MB / 5.434 GB, free: 66.64 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001568/14.87, allocations: 180.6 kB / 5.434 GB, free: 66.44 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.679/18.55, allocations: 0 / 5.434 GB, free: 66.44 MB / 0.7605 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/linux/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)