Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.Movers.BaseClasses.Validation.FlowMachineInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface") translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005847/0.005846, allocations: 101 kB / 15.73 MB, free: 5.992 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.001202/0.001202, allocations: 196.2 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.44/1.44, allocations: 205.1 MB / 222.5 MB, free: 4.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.584/1.584, allocations: 251.7 MB / 0.5094 GB, free: 3.062 MB / 414.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.001577/0.001577, allocations: 67.91 kB / 0.7258 GB, free: 9.016 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.2152, allocations: 104.7 MB / 0.828 GB, free: 216 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.003736/0.219, allocations: 2.081 MB / 0.8301 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003435/0.2224, allocations: 2.031 MB / 0.832 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002286/0.2227, allocations: 4 kB / 0.832 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0008058/0.2235, allocations: 255 kB / 0.8323 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0007823/0.2243, allocations: 293.8 kB / 0.8326 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009935/0.2253, allocations: 482.9 kB / 0.833 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0005966/0.226, allocations: 466.8 kB / 0.8335 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.2261, allocations: 36.38 kB / 0.8335 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002308/0.2263, allocations: 175.5 kB / 0.8337 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00024/0.2266, allocations: 163.4 kB / 0.8338 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.098e-05/0.2266, allocations: 16 kB / 0.8339 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006094/0.2272, allocations: 447.2 kB / 0.8343 GB, free: 9.785 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001216/0.2274, allocations: 99.7 kB / 0.8344 GB, free: 9.688 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001058/0.2275, allocations: 115.3 kB / 0.8345 GB, free: 9.574 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0007026/0.2282, allocations: 0.5882 MB / 0.8351 GB, free: 8.984 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2282, allocations: 0 / 0.8351 GB, free: 8.984 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.824e-06/0.2282, allocations: 0 / 0.8351 GB, free: 8.984 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.32e-05/0.2282, allocations: 4 kB / 0.8351 GB, free: 8.98 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009045/0.2291, allocations: 0.5955 MB / 0.8356 GB, free: 8.336 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.2292, allocations: 8.031 kB / 0.8357 GB, free: 8.328 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000329/0.2295, allocations: 48.53 kB / 0.8357 GB, free: 8.281 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004703/0.23, allocations: 348.3 kB / 0.836 GB, free: 7.898 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.23, allocations: 4.375 kB / 0.836 GB, free: 7.895 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.62e-05/0.2301, allocations: 8.375 kB / 0.836 GB, free: 7.887 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003677/0.2304, allocations: 157.7 kB / 0.8362 GB, free: 7.727 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.2304, allocations: 0 / 0.8362 GB, free: 7.727 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/0.2305, allocations: 0 / 0.8362 GB, free: 7.727 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.2305, allocations: 4 kB / 0.8362 GB, free: 7.723 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003895/0.2309, allocations: 127.9 kB / 0.8363 GB, free: 7.598 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007015/0.2316, allocations: 0.4884 MB / 0.8368 GB, free: 7.059 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003541/0.2319, allocations: 134.4 kB / 0.8369 GB, free: 6.918 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001823/0.2321, allocations: 64.81 kB / 0.837 GB, free: 6.852 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.704e-05/0.2322, allocations: 3.984 kB / 0.837 GB, free: 6.848 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.2322, allocations: 34.56 kB / 0.837 GB, free: 6.805 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 1.233e-06/0.2322, allocations: 0 / 0.837 GB, free: 6.805 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.0007043/0.2329, allocations: 241.5 kB / 0.8373 GB, free: 6.562 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/0.233, allocations: 55.41 kB / 0.8373 GB, free: 6.496 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003217/0.2333, allocations: 336.4 kB / 0.8376 GB, free: 6.164 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/0.2333, allocations: 29.7 kB / 0.8377 GB, free: 6.129 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.2335, allocations: 152 kB / 0.8378 GB, free: 5.977 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.359e-05/0.2335, allocations: 31.55 kB / 0.8378 GB, free: 5.945 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.091e-05/0.2336, allocations: 53.62 kB / 0.8379 GB, free: 5.887 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.2337, allocations: 338.8 kB / 0.8382 GB, free: 5.547 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002586/0.234, allocations: 112.8 kB / 0.8383 GB, free: 5.434 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002898/0.2343, allocations: 170.7 kB / 0.8385 GB, free: 5.242 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005176/0.2348, allocations: 266.7 kB / 0.8387 GB, free: 4.957 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.2348, allocations: 0 / 0.8387 GB, free: 4.957 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006437/0.2355, allocations: 335.6 kB / 0.839 GB, free: 4.625 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.2355, allocations: 10.81 kB / 0.8391 GB, free: 4.617 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.2355, allocations: 0 / 0.8391 GB, free: 4.617 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.2355, allocations: 4.219 kB / 0.8391 GB, free: 4.613 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000237/0.2358, allocations: 51.89 kB / 0.8391 GB, free: 4.562 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.2358, allocations: 7.938 kB / 0.8391 GB, free: 4.555 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001969/0.236, allocations: 27.73 kB / 0.8391 GB, free: 4.527 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.446e-05/0.2361, allocations: 15.98 kB / 0.8392 GB, free: 4.512 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003102/0.2364, allocations: 208 kB / 0.8394 GB, free: 4.305 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002525/0.2366, allocations: 149.4 kB / 0.8395 GB, free: 4.137 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004515/0.2371, allocations: 230.6 kB / 0.8397 GB, free: 3.887 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.653e-06/0.2371, allocations: 0 / 0.8397 GB, free: 3.887 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0006502/0.2378, allocations: 305 kB / 0.84 GB, free: 3.582 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.2378, allocations: 4.375 kB / 0.84 GB, free: 3.578 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.2378, allocations: 4 kB / 0.84 GB, free: 3.574 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.661e-06/0.2378, allocations: 4 kB / 0.84 GB, free: 3.57 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001998/0.238, allocations: 44.12 kB / 0.8401 GB, free: 3.527 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.026e-06/0.238, allocations: 7.938 kB / 0.8401 GB, free: 3.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001628/0.2382, allocations: 27.77 kB / 0.8401 GB, free: 3.492 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.319e-05/0.2382, allocations: 12 kB / 0.8401 GB, free: 3.48 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (19): * Single equations (assignments): 18 * Array equations: 1 * 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.0001259/0.2384, allocations: 184.3 kB / 0.8403 GB, free: 3.293 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.766e-05/0.2384, allocations: 27.62 kB / 0.8403 GB, free: 3.266 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005262/0.2389, allocations: 208.2 kB / 0.8405 GB, free: 3.055 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.239, allocations: 0 / 0.8405 GB, free: 3.055 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.239, allocations: 3.938 kB / 0.8405 GB, free: 3.051 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.239, allocations: 0 / 0.8405 GB, free: 3.051 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000295/0.2393, allocations: 277.4 kB / 0.8408 GB, free: 2.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.2393, allocations: 0 / 0.8408 GB, free: 2.73 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001446/0.2394, allocations: 31.97 kB / 0.8408 GB, free: 2.699 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.2394, allocations: 0 / 0.8408 GB, free: 2.699 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.2395, allocations: 4 kB / 0.8408 GB, free: 2.695 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.2395, allocations: 0 / 0.8408 GB, free: 2.695 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.2395, allocations: 3.938 kB / 0.8408 GB, free: 2.691 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004486/0.2399, allocations: 279 kB / 0.8411 GB, free: 2.402 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.24, allocations: 120.8 kB / 0.8412 GB, free: 2.266 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.487e-05/0.2401, allocations: 0 / 0.8412 GB, free: 2.266 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000152/0.2402, allocations: 4 kB / 0.8412 GB, free: 2.262 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.642e-05/0.2403, allocations: 15.92 kB / 0.8412 GB, free: 2.246 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.2403, allocations: 4 kB / 0.8412 GB, free: 2.242 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002301/0.2405, allocations: 239 kB / 0.8415 GB, free: 2.008 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2406, allocations: 7.938 kB / 0.8415 GB, free: 2 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005791/0.2411, allocations: 148.1 kB / 0.8416 GB, free: 1.855 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (10): * Single equations (assignments): 10 * 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.0004262/0.2416, allocations: 195.1 kB / 0.8418 GB, free: 1.656 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000808/0.2424, allocations: 327.5 kB / 0.8421 GB, free: 1.336 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.2424, allocations: 0.875 kB / 0.8421 GB, free: 1.336 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001997/0.2426, allocations: 71.95 kB / 0.8422 GB, free: 1.266 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005312/0.2431, allocations: 102.6 kB / 0.8423 GB, free: 1.164 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008581/0.244, allocations: 480.6 kB / 0.8427 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/0.2443, allocations: 0.7793 MB / 0.8435 GB, free: 15.86 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002337/0.2446, allocations: 70.94 kB / 0.8436 GB, free: 15.79 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.2447, allocations: 31.42 kB / 0.8436 GB, free: 15.76 MB / 0.67 GB Notification: Performance of SimCode: time 4.41e-07/0.2447, allocations: 0 / 0.8436 GB, free: 15.76 MB / 0.67 GB Notification: Performance of Templates: time 0.0126/0.2573, allocations: 6.569 MB / 0.85 GB, free: 9.277 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)