Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_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.BoundaryWithXi_in,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in") translateModel(BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005574/0.005574, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001416/0.001416, allocations: 195.1 kB / 16.67 MB, free: 5.93 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.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002109/0.002109, allocations: 284.2 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.932/0.932, allocations: 169.3 MB / 0.4983 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002835/0.002835, allocations: 103.8 kB / 0.6814 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4612/0.4641, allocations: 86.97 MB / 0.7664 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.6162/1.08, allocations: 214 MB / 0.9754 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0128/1.093, allocations: 12.16 MB / 0.9873 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001766/1.095, allocations: 42.34 kB / 0.9873 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001256/1.096, allocations: 0.5083 MB / 0.9878 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004933/1.101, allocations: 1.884 MB / 0.9896 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004416/1.106, allocations: 1.906 MB / 0.9915 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003057/1.109, allocations: 2.38 MB / 0.9938 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001751/1.111, allocations: 1.197 MB / 0.995 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001718/1.112, allocations: 0.8425 MB / 0.9958 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008517/1.113, allocations: 0.6507 MB / 0.9965 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001366/1.113, allocations: 91.25 kB / 0.9965 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005228/1.119, allocations: 2.696 MB / 0.9992 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004686/1.119, allocations: 0.5337 MB / 0.9997 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000834/1.12, allocations: 0.7328 MB / 1 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004257/1.124, allocations: 3.121 MB / 1.003 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/1.124, allocations: 2.219 kB / 1.003 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.643e-06/1.124, allocations: 0 / 1.003 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.335e-05/1.124, allocations: 0.9062 kB / 1.003 GB, free: 1.039 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.002105/1.126, allocations: 1.737 MB / 1.005 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/1.126, allocations: 10.69 kB / 1.005 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00157/1.128, allocations: 371.7 kB / 1.006 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001264/1.129, allocations: 0.957 MB / 1.006 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.983e-05/1.129, allocations: 89.47 kB / 1.007 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/1.129, allocations: 99.69 kB / 1.007 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002077/1.131, allocations: 1.513 MB / 1.008 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.481e-05/1.131, allocations: 10.02 kB / 1.008 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.883e-05/1.132, allocations: 44.78 kB / 1.008 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.821e-05/1.132, allocations: 60.75 kB / 1.008 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001287/1.133, allocations: 1.013 MB / 1.009 GB, free: 15.37 MB / 0.7325 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.005854/1.139, allocations: 5.807 MB / 1.015 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006133/1.139, allocations: 320.8 kB / 1.015 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003079/1.14, allocations: 252.7 kB / 1.015 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007167/1.14, allocations: 0.7114 MB / 1.016 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.289e-05/1.141, allocations: 40.66 kB / 1.016 GB, free: 11 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=28): time 2.565e-06/1.141, allocations: 3.094 kB / 1.016 GB, free: 11 MB / 0.7325 GB Notification: Performance of matching and sorting (n=28): time 0.001303/1.142, allocations: 0.67 MB / 1.017 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.673e-05/1.142, allocations: 138.1 kB / 1.017 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001836/1.144, allocations: 1.664 MB / 1.019 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.097e-05/1.144, allocations: 30.14 kB / 1.019 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004825/1.144, allocations: 0.5473 MB / 1.019 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.339e-05/1.144, allocations: 101.4 kB / 1.019 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/1.145, allocations: 65.2 kB / 1.019 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001052/1.145, allocations: 319.5 kB / 1.02 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001794/1.145, allocations: 162.7 kB / 1.02 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002966/1.145, allocations: 295.7 kB / 1.02 GB, free: 9.941 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004673/1.146, allocations: 429.3 kB / 1.02 GB, free: 9.848 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.293e-06/1.146, allocations: 3.469 kB / 1.02 GB, free: 9.848 MB / 0.7325 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006861/1.146, allocations: 0.5604 MB / 1.021 GB, free: 9.742 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/1.146, allocations: 10.81 kB / 1.021 GB, free: 9.742 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/1.146, allocations: 3.594 kB / 1.021 GB, free: 9.742 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/1.146, allocations: 3.719 kB / 1.021 GB, free: 9.742 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000222/1.147, allocations: 58.94 kB / 1.021 GB, free: 9.742 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/1.147, allocations: 9.438 kB / 1.021 GB, free: 9.738 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005366/1.147, allocations: 109.5 kB / 1.021 GB, free: 9.664 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.946e-05/1.147, allocations: 22.53 kB / 1.021 GB, free: 9.664 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (32): * Single equations (assignments): 32 * 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.0003909/1.148, allocations: 373.2 kB / 1.022 GB, free: 9.551 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002111/1.148, allocations: 135.9 kB / 1.022 GB, free: 9.48 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005471/1.148, allocations: 388.5 kB / 1.022 GB, free: 9.391 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/1.148, allocations: 2.156 kB / 1.022 GB, free: 9.391 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/1.148, allocations: 6.844 kB / 1.022 GB, free: 9.387 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/1.148, allocations: 3.484 kB / 1.022 GB, free: 9.387 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003059/1.152, allocations: 2.506 MB / 1.025 GB, free: 8.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/1.152, allocations: 11.22 kB / 1.025 GB, free: 8.426 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001797/1.152, allocations: 49.48 kB / 1.025 GB, free: 8.426 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/1.152, allocations: 9.375 kB / 1.025 GB, free: 8.426 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.293e-05/1.152, allocations: 12.06 kB / 1.025 GB, free: 8.426 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.969e-06/1.152, allocations: 15.42 kB / 1.025 GB, free: 8.426 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/1.152, allocations: 8.812 kB / 1.025 GB, free: 8.426 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006222/1.152, allocations: 0.6274 MB / 1.025 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003505/1.153, allocations: 288.6 kB / 1.026 GB, free: 7.902 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001604/1.153, allocations: 16.03 kB / 1.026 GB, free: 7.902 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003557/1.153, allocations: 9.469 kB / 1.026 GB, free: 7.902 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.339e-05/1.153, allocations: 43.62 kB / 1.026 GB, free: 7.895 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.002e-05/1.153, allocations: 17.81 kB / 1.026 GB, free: 7.895 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001367/1.155, allocations: 1.204 MB / 1.027 GB, free: 7.785 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/1.155, allocations: 0.8438 kB / 1.027 GB, free: 7.785 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009541/1.156, allocations: 334.2 kB / 1.027 GB, free: 7.746 MB / 0.7325 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.001354/1.157, allocations: 0.6106 MB / 1.028 GB, free: 7.566 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004868/1.158, allocations: 363.9 kB / 1.028 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/1.158, allocations: 7 kB / 1.028 GB, free: 7.559 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000174/1.158, allocations: 158.2 kB / 1.028 GB, free: 7.559 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003616/1.161, allocations: 0.9235 MB / 1.029 GB, free: 7.395 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002734/1.164, allocations: 2.071 MB / 1.031 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007627/1.165, allocations: 1.197 MB / 1.032 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0008281/1.166, allocations: 302.5 kB / 1.033 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000179/1.166, allocations: 85.36 kB / 1.033 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of SimCode: time 1.082e-06/1.166, allocations: 0 / 1.033 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of Templates: time 0.05042/1.216, allocations: 30.89 MB / 1.063 GB, free: 14.49 MB / 0.7637 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in.sim & ./BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1)