Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.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.BoundaryWithX_in,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Validation_BoundaryWithX_in",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.793/0.793, allocations: 141.8 MB / 149.3 MB, free: 9.227 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.001162/0.001161, allocations: 179.9 kB / 182.2 MB, free: 9.465 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.404/1.404, allocations: 221.5 MB / 436.4 MB, free: 13.27 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.0009693/0.0009691, allocations: 80.11 kB / 0.5074 GB, free: 10.11 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001771/0.001771, allocations: 266.1 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.024e-05/2.025e-05, allocations: 4 kB / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4322/0.4322, allocations: 82.78 MB / 0.7575 GB, free: 31.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.187/6.619, allocations: 2.501 GB / 3.259 GB, free: 51.88 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002968/6.619, allocations: 82.52 kB / 3.259 GB, free: 51.84 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.33/11.95, allocations: 1.404 GB / 4.663 GB, free: 8.164 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.146e-06/11.95, allocations: 0 / 4.663 GB, free: 8.164 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001518/11.95, allocations: 39.98 kB / 4.663 GB, free: 8.125 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.004063/11.95, allocations: 1.313 MB / 4.665 GB, free: 6.762 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.407e-05/11.95, allocations: 8.031 kB / 4.665 GB, free: 6.754 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00224/11.96, allocations: 337.9 kB / 4.665 GB, free: 6.422 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001751/11.96, allocations: 0.9236 MB / 4.666 GB, free: 5.457 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.75e-05/11.96, allocations: 32 kB / 4.666 GB, free: 5.426 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001287/11.96, allocations: 64 kB / 4.666 GB, free: 5.363 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001411/11.96, allocations: 0.8436 MB / 4.667 GB, free: 4.516 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001898/11.96, allocations: 1.256 MB / 4.668 GB, free: 3.164 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.439e-05/11.96, allocations: 3.938 kB / 4.668 GB, free: 3.16 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.708e-05/11.96, allocations: 4 kB / 4.668 GB, free: 3.156 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.288e-05/11.96, allocations: 45.86 kB / 4.668 GB, free: 3.113 MB / 0.7292 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.572/12.53, allocations: 4.947 MB / 4.673 GB, free: 113.2 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007526/12.53, allocations: 256.5 kB / 4.673 GB, free: 113.2 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003369/12.53, allocations: 210.2 kB / 4.673 GB, free: 113.2 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008499/12.54, allocations: 0.8931 MB / 4.674 GB, free: 112.2 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/12.54, allocations: 38.23 kB / 4.674 GB, free: 112.2 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=28): time 3.486e-06/12.54, allocations: 1.031 kB / 4.674 GB, free: 112.2 MB / 0.7292 GB Notification: Performance of matching and sorting (n=28): time 0.001764/12.54, allocations: 0.4966 MB / 4.675 GB, free: 112.1 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.553e-05/12.54, allocations: 81 kB / 4.675 GB, free: 112.1 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008351/12.54, allocations: 0.5482 MB / 4.675 GB, free: 111.9 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.775e-05/12.54, allocations: 27.88 kB / 4.675 GB, free: 111.9 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004568/12.54, allocations: 0.6019 MB / 4.676 GB, free: 111.7 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.115e-05/12.54, allocations: 88.08 kB / 4.676 GB, free: 111.7 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.548e-05/12.54, allocations: 0 / 4.676 GB, free: 111.7 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.893e-05/12.54, allocations: 323.5 kB / 4.676 GB, free: 111.4 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002076/12.54, allocations: 138.6 kB / 4.677 GB, free: 111.4 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003287/12.54, allocations: 294.1 kB / 4.677 GB, free: 111.2 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004454/12.54, allocations: 208.5 kB / 4.677 GB, free: 111.2 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/12.54, allocations: 1.312 kB / 4.677 GB, free: 111.2 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008792/12.54, allocations: 475.4 kB / 4.678 GB, free: 111.2 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/12.54, allocations: 6.438 kB / 4.678 GB, free: 111.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/12.54, allocations: 7.812 kB / 4.678 GB, free: 111.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/12.54, allocations: 3.219 kB / 4.678 GB, free: 111.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002687/12.54, allocations: 56.2 kB / 4.678 GB, free: 111.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/12.54, allocations: 7.938 kB / 4.678 GB, free: 111.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003849/12.54, allocations: 26.52 kB / 4.678 GB, free: 111.2 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.998e-05/12.54, allocations: 30.23 kB / 4.678 GB, free: 111.2 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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.0001053/12.54, allocations: 114 kB / 4.678 GB, free: 111.1 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008044/12.54, allocations: 417.2 kB / 4.678 GB, free: 111 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/12.54, allocations: 74.94 kB / 4.678 GB, free: 110.9 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005902/12.54, allocations: 298.5 kB / 4.679 GB, free: 110.9 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/12.54, allocations: 3.219 kB / 4.679 GB, free: 110.9 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/12.54, allocations: 1.188 kB / 4.679 GB, free: 110.9 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.926e-06/12.54, allocations: 5.141 kB / 4.679 GB, free: 110.9 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00334/12.55, allocations: 2.316 MB / 4.681 GB, free: 110.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-05/12.55, allocations: 6.094 kB / 4.681 GB, free: 110.1 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001859/12.55, allocations: 49.89 kB / 4.681 GB, free: 110.1 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.441e-05/12.55, allocations: 12 kB / 4.681 GB, free: 110.1 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.424e-05/12.55, allocations: 12.55 kB / 4.681 GB, free: 110.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.034e-05/12.55, allocations: 13.91 kB / 4.681 GB, free: 110.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.728e-06/12.55, allocations: 12.5 kB / 4.681 GB, free: 110.1 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006622/12.55, allocations: 0.8254 MB / 4.682 GB, free: 109.3 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002478/12.55, allocations: 209.9 kB / 4.682 GB, free: 109.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.004e-05/12.55, allocations: 7.438 kB / 4.682 GB, free: 109.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002423/12.55, allocations: 16.73 kB / 4.682 GB, free: 109.2 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.133e-05/12.55, allocations: 29.08 kB / 4.682 GB, free: 109.2 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.571e-05/12.55, allocations: 17.59 kB / 4.682 GB, free: 109.2 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0005138/12.55, allocations: 466.4 kB / 4.682 GB, free: 109.1 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.7e-07/12.55, allocations: 3.141 kB / 4.682 GB, free: 109.1 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001811/12.55, allocations: 0.5078 MB / 4.683 GB, free: 109.1 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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 Backend phase and start with SimCode phase: time 0.004899/12.56, allocations: 5.362 MB / 4.688 GB, free: 105.8 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006272/12.56, allocations: 316.1 kB / 4.688 GB, free: 105.8 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/12.56, allocations: 0 / 4.688 GB, free: 105.8 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000164/12.56, allocations: 153.9 kB / 4.689 GB, free: 105.8 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002117/12.56, allocations: 441.5 kB / 4.689 GB, free: 105.8 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003435/12.56, allocations: 1.784 MB / 4.691 GB, free: 105.2 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006855/12.56, allocations: 1.24 MB / 4.692 GB, free: 104.5 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.000647/12.56, allocations: 180.9 kB / 4.692 GB, free: 104.5 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004139/12.56, allocations: 430.6 kB / 4.693 GB, free: 104.5 MB / 0.7292 GB Notification: Performance of SimCode: time 1.162e-06/12.56, allocations: 0 / 4.693 GB, free: 104.5 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07028/12.63, allocations: 37.4 MB / 4.729 GB, free: 103.9 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001686/12.63, allocations: 182.7 kB / 4.729 GB, free: 103.7 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.208/15.84, allocations: 3.969 kB / 4.729 GB, free: 103.7 MB / 0.7292 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sources_Validation_BoundaryWithX_in_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sources_Validation_BoundaryWithX_in.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1)