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.001252/0.001252, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 192.6 kB / 16.53 MB, free: 6.391 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.539/1.539, allocations: 205.1 MB / 222.4 MB, free: 4.609 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.618/1.618, allocations: 251.7 MB / 0.5092 GB, free: 3.188 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.001724/0.001724, allocations: 67.91 kB / 0.6223 GB, free: 1.516 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5962/0.598, allocations: 104.7 MB / 0.7245 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.004273/0.6023, allocations: 2.073 MB / 0.7265 GB, free: 10.84 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0038/0.6061, allocations: 2.019 MB / 0.7285 GB, free: 8.805 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002235/0.6064, allocations: 4 kB / 0.7285 GB, free: 8.801 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008732/0.6073, allocations: 256.9 kB / 0.7288 GB, free: 8.551 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000798/0.6081, allocations: 293.8 kB / 0.729 GB, free: 8.266 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001169/0.6093, allocations: 486.9 kB / 0.7295 GB, free: 7.789 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006592/0.61, allocations: 462.8 kB / 0.73 GB, free: 7.336 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.6101, allocations: 40.38 kB / 0.73 GB, free: 7.297 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002265/0.6104, allocations: 159.5 kB / 0.7301 GB, free: 7.141 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002921/0.6107, allocations: 167.4 kB / 0.7303 GB, free: 6.977 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.428e-05/0.6107, allocations: 16 kB / 0.7303 GB, free: 6.961 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007056/0.6114, allocations: 451.2 kB / 0.7307 GB, free: 6.52 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.6116, allocations: 95.77 kB / 0.7308 GB, free: 6.426 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001343/0.6117, allocations: 111.3 kB / 0.7309 GB, free: 6.316 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0008245/0.6125, allocations: 0.5843 MB / 0.7315 GB, free: 5.73 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.6125, allocations: 0 / 0.7315 GB, free: 5.73 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.943e-06/0.6126, allocations: 0 / 0.7315 GB, free: 5.73 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.137e-06/0.6126, allocations: 0 / 0.7315 GB, free: 5.73 MB / 0.545 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.001117/0.6137, allocations: 0.5994 MB / 0.7321 GB, free: 5.082 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.956e-05/0.6138, allocations: 12.02 kB / 0.7321 GB, free: 5.07 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003615/0.6141, allocations: 48.53 kB / 0.7322 GB, free: 5.023 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005663/0.6147, allocations: 332.3 kB / 0.7325 GB, free: 4.656 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.6147, allocations: 4.375 kB / 0.7325 GB, free: 4.652 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.512e-05/0.6148, allocations: 16.38 kB / 0.7325 GB, free: 4.637 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004137/0.6152, allocations: 153.7 kB / 0.7326 GB, free: 4.48 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.6152, allocations: 0 / 0.7326 GB, free: 4.48 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.248e-05/0.6152, allocations: 7.938 kB / 0.7326 GB, free: 4.473 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.6153, allocations: 0 / 0.7326 GB, free: 4.473 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004097/0.6157, allocations: 135.8 kB / 0.7328 GB, free: 4.34 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000862/0.6165, allocations: 0.4885 MB / 0.7333 GB, free: 3.801 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000386/0.6169, allocations: 122.5 kB / 0.7334 GB, free: 3.672 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001893/0.6171, allocations: 68.81 kB / 0.7334 GB, free: 3.602 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.113e-05/0.6172, allocations: 4 kB / 0.7334 GB, free: 3.598 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.081e-05/0.6172, allocations: 38.69 kB / 0.7335 GB, free: 3.551 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.6172, allocations: 0 / 0.7335 GB, free: 3.551 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0007373/0.618, allocations: 237.3 kB / 0.7337 GB, free: 3.312 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/0.618, allocations: 55.41 kB / 0.7338 GB, free: 3.246 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003475/0.6184, allocations: 332.5 kB / 0.7341 GB, free: 2.918 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/0.6184, allocations: 33.7 kB / 0.7341 GB, free: 2.879 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.6185, allocations: 151.8 kB / 0.7343 GB, free: 2.727 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.904e-05/0.6186, allocations: 35.53 kB / 0.7343 GB, free: 2.691 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.217e-05/0.6187, allocations: 49.7 kB / 0.7343 GB, free: 2.637 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.6188, allocations: 338.8 kB / 0.7347 GB, free: 2.297 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002478/0.6191, allocations: 116.7 kB / 0.7348 GB, free: 2.18 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002848/0.6194, allocations: 170 kB / 0.7349 GB, free: 1.992 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005005/0.6199, allocations: 273.1 kB / 0.7352 GB, free: 1.703 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.6199, allocations: 0 / 0.7352 GB, free: 1.703 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006689/0.6206, allocations: 341 kB / 0.7355 GB, free: 1.363 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.6206, allocations: 4 kB / 0.7355 GB, free: 1.359 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.6206, allocations: 11.92 kB / 0.7355 GB, free: 1.348 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/0.6206, allocations: 4 kB / 0.7355 GB, free: 1.344 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002373/0.6209, allocations: 39.97 kB / 0.7356 GB, free: 1.305 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/0.6209, allocations: 12.09 kB / 0.7356 GB, free: 1.293 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001653/0.6211, allocations: 35.67 kB / 0.7356 GB, free: 1.258 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.44e-05/0.6211, allocations: 15.98 kB / 0.7356 GB, free: 1.242 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003598/0.6215, allocations: 200.1 kB / 0.7358 GB, free: 1.043 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002707/0.6218, allocations: 150.8 kB / 0.736 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004778/0.6223, allocations: 230.6 kB / 0.7362 GB, free: 0.6211 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.343e-06/0.6223, allocations: 0 / 0.7362 GB, free: 0.6211 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0005785/0.6228, allocations: 299 kB / 0.7365 GB, free: 332 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.328e-06/0.6229, allocations: 4.375 kB / 0.7365 GB, free: 328 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.6229, allocations: 8 kB / 0.7365 GB, free: 320 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.006e-06/0.6229, allocations: 0 / 0.7365 GB, free: 320 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001859/0.6231, allocations: 39.97 kB / 0.7365 GB, free: 280 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.6231, allocations: 7.938 kB / 0.7365 GB, free: 272 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001576/0.6233, allocations: 31.98 kB / 0.7366 GB, free: 240 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.396e-05/0.6233, allocations: 11.98 kB / 0.7366 GB, free: 228 kB / 0.545 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.0001415/0.6234, allocations: 188.2 kB / 0.7368 GB, free: 32 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.94e-05/0.6235, allocations: 27.62 kB / 0.7368 GB, free: 4 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005393/0.624, allocations: 196.2 kB / 0.737 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.6241, allocations: 4 kB / 0.737 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.6241, allocations: 3.938 kB / 0.737 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.6241, allocations: 3.984 kB / 0.737 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003217/0.6244, allocations: 277.5 kB / 0.7372 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.6244, allocations: 4 kB / 0.7372 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001364/0.6245, allocations: 23.92 kB / 0.7373 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.6246, allocations: 4 kB / 0.7373 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.6246, allocations: 8 kB / 0.7373 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.6246, allocations: 0 / 0.7373 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.6246, allocations: 7.922 kB / 0.7373 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004615/0.6251, allocations: 275 kB / 0.7375 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.6252, allocations: 112.8 kB / 0.7377 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.856e-05/0.6252, allocations: 4 kB / 0.7377 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.6254, allocations: 7.984 kB / 0.7377 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.661e-05/0.6255, allocations: 15.92 kB / 0.7377 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.6255, allocations: 4 kB / 0.7377 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002509/0.6257, allocations: 235 kB / 0.7379 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6257, allocations: 0 / 0.7379 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006824/0.6264, allocations: 148.1 kB / 0.7381 GB, free: 14.61 MB / 0.5606 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.0004585/0.6269, allocations: 199.1 kB / 0.7382 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008145/0.6277, allocations: 335.5 kB / 0.7386 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.6277, allocations: 0 / 0.7386 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001955/0.6279, allocations: 68.83 kB / 0.7386 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005429/0.6285, allocations: 104.9 kB / 0.7387 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009082/0.6294, allocations: 487.3 kB / 0.7392 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003547/0.6298, allocations: 0.76 MB / 0.7399 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002771/0.6301, allocations: 86.91 kB / 0.74 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.053e-05/0.6301, allocations: 27.44 kB / 0.74 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of SimCode: time 7.01e-07/0.6302, allocations: 4 kB / 0.74 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.01206/0.6422, allocations: 6.551 MB / 0.7464 GB, free: 6.039 MB / 0.5606 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)