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/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: translateModel(BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in") translateModel(BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001353/0.001353, allocations: 194.9 kB / 16.25 MB, free: 6.641 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.454/1.454, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002483/0.002483, allocations: 286.9 kB / 290.4 MB, free: 2.113 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.145/1.145, allocations: 178.6 MB / 0.507 GB, free: 4.723 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002724/0.002724, allocations: 102.2 kB / 0.6059 GB, free: 25.1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1867/0.1895, allocations: 89.15 MB / 0.693 GB, free: 4.684 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in): time 0.5798/0.7693, allocations: 212 MB / 0.9 GB, free: 8.113 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01672/0.786, allocations: 12.15 MB / 0.9118 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001819/0.7879, allocations: 51.62 kB / 0.9119 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00128/0.7892, allocations: 445.3 kB / 0.9123 GB, free: 11.44 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0046/0.7938, allocations: 1.766 MB / 0.914 GB, free: 9.668 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00468/0.7985, allocations: 1.771 MB / 0.9158 GB, free: 7.906 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003732/0.8023, allocations: 2.356 MB / 0.9181 GB, free: 5.543 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001797/0.8041, allocations: 1.164 MB / 0.9192 GB, free: 4.375 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001837/0.8059, allocations: 0.8366 MB / 0.92 GB, free: 3.535 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001036/0.807, allocations: 0.7276 MB / 0.9207 GB, free: 2.805 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000138/0.8071, allocations: 88 kB / 0.9208 GB, free: 2.719 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006988/0.8141, allocations: 3.258 MB / 0.924 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0006899/0.8148, allocations: 0.5454 MB / 0.9245 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001027/0.8159, allocations: 0.7309 MB / 0.9252 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.006673/0.8226, allocations: 3.409 MB / 0.9286 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.8226, allocations: 0 / 0.9286 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.235e-06/0.8226, allocations: 0 / 0.9286 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.668e-05/0.8226, allocations: 0 / 0.9286 GB, free: 10.75 MB / 0.6544 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.003743/0.8264, allocations: 1.74 MB / 0.9303 GB, free: 8.957 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.753e-05/0.8265, allocations: 8.031 kB / 0.9303 GB, free: 8.949 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002465/0.8289, allocations: 381.8 kB / 0.9306 GB, free: 8.574 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002033/0.831, allocations: 0.8878 MB / 0.9315 GB, free: 7.641 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000101/0.8311, allocations: 78.06 kB / 0.9316 GB, free: 7.562 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002455/0.8314, allocations: 108 kB / 0.9317 GB, free: 7.457 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003328/0.8347, allocations: 1.533 MB / 0.9332 GB, free: 5.812 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.932e-05/0.8348, allocations: 3.938 kB / 0.9332 GB, free: 5.809 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001378/0.8349, allocations: 44 kB / 0.9332 GB, free: 5.766 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001183/0.835, allocations: 65.47 kB / 0.9333 GB, free: 5.699 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002351/0.8374, allocations: 1.021 MB / 0.9343 GB, free: 4.684 MB / 0.6544 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.01064/0.8481, allocations: 5.958 MB / 0.9401 GB, free: 14.41 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008421/0.8489, allocations: 326.1 kB / 0.9404 GB, free: 14.05 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004435/0.8494, allocations: 248.2 kB / 0.9406 GB, free: 13.8 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009765/0.8504, allocations: 0.7077 MB / 0.9413 GB, free: 12.95 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.01e-05/0.8504, allocations: 46.48 kB / 0.9414 GB, free: 12.89 MB / 0.67 GB Notification: Performance of pre-optimization done (n=28): time 2.474e-06/0.8504, allocations: 0 / 0.9414 GB, free: 12.89 MB / 0.67 GB Notification: Performance of matching and sorting (n=28): time 0.002061/0.8525, allocations: 0.662 MB / 0.942 GB, free: 12.22 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/0.8526, allocations: 144.5 kB / 0.9422 GB, free: 12.05 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003271/0.8559, allocations: 1.686 MB / 0.9438 GB, free: 10.36 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.924e-05/0.856, allocations: 33.7 kB / 0.9438 GB, free: 10.32 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008522/0.8569, allocations: 0.5621 MB / 0.9444 GB, free: 9.75 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001234/0.857, allocations: 94.64 kB / 0.9445 GB, free: 9.656 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001942/0.8572, allocations: 61.7 kB / 0.9445 GB, free: 9.59 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001701/0.8574, allocations: 318 kB / 0.9448 GB, free: 9.273 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003401/0.8577, allocations: 159.9 kB / 0.945 GB, free: 9.117 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004921/0.8582, allocations: 264.5 kB / 0.9452 GB, free: 8.828 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007636/0.859, allocations: 409.4 kB / 0.9456 GB, free: 8.398 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.859, allocations: 0 / 0.9456 GB, free: 8.398 MB / 0.67 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001201/0.8602, allocations: 0.5542 MB / 0.9462 GB, free: 7.836 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.608e-05/0.8603, allocations: 10.03 kB / 0.9462 GB, free: 7.828 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.8603, allocations: 4 kB / 0.9462 GB, free: 7.824 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.8603, allocations: 0 / 0.9462 GB, free: 7.824 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003669/0.8607, allocations: 55.91 kB / 0.9462 GB, free: 7.77 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.655e-05/0.8607, allocations: 4 kB / 0.9462 GB, free: 7.766 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008516/0.8616, allocations: 114.6 kB / 0.9464 GB, free: 7.652 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.78e-05/0.8617, allocations: 24 kB / 0.9464 GB, free: 7.629 MB / 0.67 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000682/0.8624, allocations: 378.8 kB / 0.9467 GB, free: 7.25 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000363/0.8627, allocations: 138.2 kB / 0.9469 GB, free: 7.113 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008225/0.8636, allocations: 384.9 kB / 0.9472 GB, free: 6.715 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.919e-06/0.8636, allocations: 8 kB / 0.9472 GB, free: 6.707 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.8636, allocations: 4 kB / 0.9473 GB, free: 6.703 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/0.8636, allocations: 7.922 kB / 0.9473 GB, free: 6.695 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00562/0.8693, allocations: 2.604 MB / 0.9498 GB, free: 3.91 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-05/0.8693, allocations: 11.97 kB / 0.9498 GB, free: 3.898 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002747/0.8696, allocations: 47.92 kB / 0.9499 GB, free: 3.852 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.186e-05/0.8696, allocations: 8 kB / 0.9499 GB, free: 3.844 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.51e-05/0.8696, allocations: 19.98 kB / 0.9499 GB, free: 3.824 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.165e-05/0.8697, allocations: 11.94 kB / 0.9499 GB, free: 3.812 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.137e-05/0.8697, allocations: 11.94 kB / 0.9499 GB, free: 3.801 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001151/0.8708, allocations: 0.6196 MB / 0.9505 GB, free: 3.082 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006494/0.8715, allocations: 295.2 kB / 0.9508 GB, free: 2.773 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002999/0.8718, allocations: 19.98 kB / 0.9508 GB, free: 2.754 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006338/0.8725, allocations: 23.88 kB / 0.9508 GB, free: 2.73 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.221e-05/0.8725, allocations: 31.86 kB / 0.9509 GB, free: 2.699 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-05/0.8726, allocations: 19.98 kB / 0.9509 GB, free: 2.68 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00177/0.8744, allocations: 1.227 MB / 0.9521 GB, free: 1.457 MB / 0.67 GB Notification: Performance of sort global known variables: time 2e-07/0.8744, allocations: 0 / 0.9521 GB, free: 1.457 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00104/0.8754, allocations: 331.8 kB / 0.9524 GB, free: 1.133 MB / 0.67 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 () * Number of clocked 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 (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.001844/0.8773, allocations: 0.6178 MB / 0.953 GB, free: 0.5117 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0006046/0.8779, allocations: 355.4 kB / 0.9533 GB, free: 168 kB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.8779, allocations: 0 / 0.9533 GB, free: 168 kB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0002196/0.8781, allocations: 160.2 kB / 0.9535 GB, free: 8 kB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00386/0.882, allocations: 0.9232 MB / 0.9544 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0034/0.8854, allocations: 2.433 MB / 0.9568 GB, free: 12.58 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001125/0.8866, allocations: 1.212 MB / 0.958 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001083/0.8877, allocations: 294.7 kB / 0.9582 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002156/0.8879, allocations: 91.42 kB / 0.9583 GB, free: 10.95 MB / 0.6856 GB Notification: Performance of SimCode: time 5.71e-07/0.8879, allocations: 0 / 0.9583 GB, free: 10.95 MB / 0.6856 GB Notification: Performance of Templates: time 0.05538/0.9433, allocations: 30.13 MB / 0.9878 GB, free: 13.25 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1)