Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007518/0.000752, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.0008405/0.0008405, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.325/1.325, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.566/1.566, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004958/0.0004959, allocations: 11.94 kB / 0.6737 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.2231, allocations: 116.3 MB / 0.7873 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.5557/0.7789, allocations: 176.6 MB / 0.9597 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008828/0.7878, allocations: 6.512 MB / 0.9661 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001548/0.7894, allocations: 38.34 kB / 0.9661 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001275/0.7906, allocations: 470.6 kB / 0.9666 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00425/0.7949, allocations: 1.652 MB / 0.9682 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002891/0.7978, allocations: 1.09 MB / 0.9693 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005001/0.8028, allocations: 3.156 MB / 0.9724 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001391/0.8042, allocations: 0.6584 MB / 0.973 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002197/0.8064, allocations: 0.9522 MB / 0.9739 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001181/0.8076, allocations: 0.7469 MB / 0.9747 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001347/0.8078, allocations: 43.58 kB / 0.9747 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00305/0.8108, allocations: 1.219 MB / 0.9759 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003608/0.8112, allocations: 306.3 kB / 0.9762 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004737/0.8117, allocations: 236.7 kB / 0.9764 GB, free: 18.44 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00195/0.8137, allocations: 1.63 MB / 0.978 GB, free: 18.18 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.8137, allocations: 0 / 0.978 GB, free: 18.18 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.665e-06/0.8137, allocations: 3.984 kB / 0.978 GB, free: 18.18 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.462e-05/0.8137, allocations: 0 / 0.978 GB, free: 18.18 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.002808/0.8165, allocations: 1.416 MB / 0.9794 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.8166, allocations: 13.36 kB / 0.9794 GB, free: 17.17 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002392/0.819, allocations: 0.6052 MB / 0.98 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001692/0.8207, allocations: 0.9643 MB / 0.9809 GB, free: 16.42 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009299/0.8216, allocations: 319.9 kB / 0.9812 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/0.8217, allocations: 71.45 kB / 0.9813 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002287/0.824, allocations: 1.162 MB / 0.9824 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.8241, allocations: 0 / 0.9824 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.189e-05/0.8241, allocations: 30.78 kB / 0.9825 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.285e-05/0.8242, allocations: 34.92 kB / 0.9825 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002765/0.827, allocations: 1.328 MB / 0.9838 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004959/0.8319, allocations: 2.973 MB / 0.9867 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001541/0.8335, allocations: 0.7311 MB / 0.9874 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007121/0.8342, allocations: 455.2 kB / 0.9878 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008672/0.8351, allocations: 1.031 MB / 0.9889 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008836/0.836, allocations: 0.5344 MB / 0.9894 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=59): time 1.874e-06/0.836, allocations: 0 / 0.9894 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=59): time 0.00265/0.8387, allocations: 1.283 MB / 0.9906 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.666e-05/0.8387, allocations: 115.4 kB / 0.9907 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001732/0.8405, allocations: 1.208 MB / 0.9919 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.018e-05/0.8406, allocations: 40.27 kB / 0.992 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003036/0.8409, allocations: 440.2 kB / 0.9924 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001543/0.841, allocations: 196.7 kB / 0.9926 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.548e-05/0.8411, allocations: 10.22 kB / 0.9926 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.8412, allocations: 332 kB / 0.9929 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001106/0.8423, allocations: 495.3 kB / 0.9934 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001265/0.8436, allocations: 0.6482 MB / 0.994 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001209/0.8448, allocations: 0.5495 MB / 0.9945 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.8448, allocations: 2.969 kB / 0.9945 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002728/0.8476, allocations: 1.315 MB / 0.9958 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.218e-05/0.8476, allocations: 35.91 kB / 0.9959 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.8476, allocations: 2.562 kB / 0.9959 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.8477, allocations: 5.844 kB / 0.9959 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000903/0.8486, allocations: 219.6 kB / 0.9961 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.348e-05/0.8486, allocations: 6.031 kB / 0.9961 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/0.85, allocations: 305.3 kB / 0.9964 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.397e-05/0.8501, allocations: 40.23 kB / 0.9964 GB, free: 10.3 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: 7 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 1 * 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.0004619/0.8505, allocations: 336.5 kB / 0.9967 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001421/0.8507, allocations: 120.5 kB / 0.9968 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001929/0.8526, allocations: 1.062 MB / 0.9979 GB, free: 9.781 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-05/0.8526, allocations: 12.67 kB / 0.9979 GB, free: 9.777 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.8526, allocations: 2.938 kB / 0.9979 GB, free: 9.777 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.8527, allocations: 0 / 0.9979 GB, free: 9.777 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004189/0.8569, allocations: 3.235 MB / 1.001 GB, free: 8.426 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/0.8569, allocations: 5.094 kB / 1.001 GB, free: 8.426 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005306/0.8574, allocations: 128.4 kB / 1.001 GB, free: 8.395 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.248e-05/0.8574, allocations: 15.02 kB / 1.001 GB, free: 8.391 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.235e-05/0.8575, allocations: 27.95 kB / 1.001 GB, free: 8.387 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.669e-06/0.8575, allocations: 13.22 kB / 1.001 GB, free: 8.383 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.521e-06/0.8575, allocations: 10.62 kB / 1.001 GB, free: 8.383 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001762/0.8593, allocations: 1.318 MB / 1.003 GB, free: 7.75 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003842/0.8597, allocations: 340.5 kB / 1.003 GB, free: 7.539 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001418/0.8598, allocations: 21.64 kB / 1.003 GB, free: 7.535 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000941/0.8608, allocations: 124.2 kB / 1.003 GB, free: 7.504 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.996e-05/0.8609, allocations: 70.84 kB / 1.003 GB, free: 7.469 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.049e-05/0.861, allocations: 38.28 kB / 1.003 GB, free: 7.461 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001244/0.8622, allocations: 0.8798 MB / 1.004 GB, free: 7.199 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8622, allocations: 4 kB / 1.004 GB, free: 7.195 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000893/0.8631, allocations: 297.1 kB / 1.004 GB, free: 7.172 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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.0005662/0.8637, allocations: 334.6 kB / 1.005 GB, free: 7.004 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002037/0.8657, allocations: 1.085 MB / 1.006 GB, free: 6.734 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.8658, allocations: 6.938 kB / 1.006 GB, free: 6.73 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007875/0.8665, allocations: 0.535 MB / 1.006 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002225/0.8688, allocations: 0.5522 MB / 1.007 GB, free: 6.391 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003304/0.8721, allocations: 2.322 MB / 1.009 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000579/0.8727, allocations: 1.072 MB / 1.01 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001065/0.8738, allocations: 285.2 kB / 1.01 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002288/0.874, allocations: 84.12 kB / 1.01 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of SimCode: time 4.61e-07/0.874, allocations: 0 / 1.01 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of Templates: time 0.03102/0.905, allocations: 20.83 MB / 1.031 GB, free: 3.523 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) Environment - environmentSimulation: