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.001151/0.001151, allocations: 100 kB / 15.05 MB, free: 1.105 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.001342/0.001342, allocations: 177.3 kB / 15.94 MB, free: 228 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.507/1.507, allocations: 205.4 MB / 222.1 MB, free: 5.531 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.543/1.543, allocations: 251.9 MB / 0.51 GB, free: 4.812 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.0005544/0.0005546, allocations: 12 kB / 0.6241 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5687/0.5693, allocations: 106.3 MB / 0.728 GB, free: 11.58 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.002686/0.572, allocations: 1.729 MB / 0.7297 GB, free: 9.836 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003474/0.5755, allocations: 1.842 MB / 0.7315 GB, free: 7.984 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002807/0.5758, allocations: 11.88 kB / 0.7315 GB, free: 7.973 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006745/0.5765, allocations: 163.4 kB / 0.7316 GB, free: 7.812 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0008997/0.5774, allocations: 230.6 kB / 0.7318 GB, free: 7.59 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001086/0.5785, allocations: 371.3 kB / 0.7322 GB, free: 7.227 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006977/0.5793, allocations: 283.5 kB / 0.7325 GB, free: 6.949 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/0.5794, allocations: 32.39 kB / 0.7325 GB, free: 6.918 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003017/0.5797, allocations: 131.6 kB / 0.7326 GB, free: 6.789 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002918/0.58, allocations: 119.6 kB / 0.7327 GB, free: 6.672 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.228e-05/0.5801, allocations: 8 kB / 0.7327 GB, free: 6.664 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006615/0.5807, allocations: 307.5 kB / 0.733 GB, free: 6.363 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001374/0.5809, allocations: 79.78 kB / 0.7331 GB, free: 6.285 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.407e-05/0.581, allocations: 73.52 kB / 0.7332 GB, free: 6.207 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006485/0.5816, allocations: 401.2 kB / 0.7336 GB, free: 5.816 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.5816, allocations: 0 / 0.7336 GB, free: 5.816 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5816, allocations: 0 / 0.7336 GB, free: 5.816 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.075e-05/0.5817, allocations: 0 / 0.7336 GB, free: 5.816 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.001043/0.5827, allocations: 0.5643 MB / 0.7341 GB, free: 5.203 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.5828, allocations: 12.03 kB / 0.7341 GB, free: 5.191 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003587/0.5831, allocations: 43.69 kB / 0.7342 GB, free: 5.148 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005569/0.5837, allocations: 326.9 kB / 0.7345 GB, free: 4.785 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.5837, allocations: 8 kB / 0.7345 GB, free: 4.777 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.202e-05/0.5838, allocations: 19.94 kB / 0.7345 GB, free: 4.758 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003981/0.5842, allocations: 153.6 kB / 0.7347 GB, free: 4.602 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.5842, allocations: 0 / 0.7347 GB, free: 4.602 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.927e-05/0.5842, allocations: 0 / 0.7347 GB, free: 4.602 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.5842, allocations: 3.984 kB / 0.7347 GB, free: 4.598 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004114/0.5846, allocations: 143.9 kB / 0.7348 GB, free: 4.457 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008336/0.5855, allocations: 0.4885 MB / 0.7353 GB, free: 3.918 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003664/0.5859, allocations: 138.5 kB / 0.7354 GB, free: 3.773 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.187e-05/0.5859, allocations: 3.984 kB / 0.7354 GB, free: 3.77 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.586, allocations: 38.73 kB / 0.7354 GB, free: 3.723 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 3.566e-06/0.586, allocations: 7.938 kB / 0.7355 GB, free: 3.715 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0007783/0.5868, allocations: 241.6 kB / 0.7357 GB, free: 3.473 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.5868, allocations: 59.34 kB / 0.7357 GB, free: 3.402 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004035/0.5872, allocations: 336.6 kB / 0.7361 GB, free: 3.066 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/0.5873, allocations: 29.64 kB / 0.7361 GB, free: 3.031 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.5874, allocations: 155.8 kB / 0.7362 GB, free: 2.875 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.62e-05/0.5874, allocations: 31.55 kB / 0.7363 GB, free: 2.844 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.401e-05/0.5875, allocations: 4 kB / 0.7363 GB, free: 2.84 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.5876, allocations: 334.8 kB / 0.7366 GB, free: 2.504 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002117/0.5878, allocations: 87.94 kB / 0.7367 GB, free: 2.418 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002598/0.5881, allocations: 137.9 kB / 0.7368 GB, free: 2.262 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002467/0.5883, allocations: 95.89 kB / 0.7369 GB, free: 2.168 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.5884, allocations: 0 / 0.7369 GB, free: 2.168 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005985/0.589, allocations: 273.4 kB / 0.7372 GB, free: 1.895 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003478/0.5893, allocations: 0.7016 MB / 0.7378 GB, free: 1.141 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.5893, allocations: 7.938 kB / 0.7379 GB, free: 1.133 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.5894, allocations: 7.938 kB / 0.7379 GB, free: 1.125 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002689/0.5896, allocations: 43.97 kB / 0.7379 GB, free: 1.082 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.5897, allocations: 7.953 kB / 0.7379 GB, free: 1.074 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001929/0.5899, allocations: 27.73 kB / 0.7379 GB, free: 1.047 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.917e-05/0.5899, allocations: 19.98 kB / 0.738 GB, free: 1.027 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.5899, allocations: 4 kB / 0.738 GB, free: 1.023 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00055/0.5905, allocations: 249.8 kB / 0.7382 GB, free: 0.7812 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.5905, allocations: 4 kB / 0.7382 GB, free: 0.7773 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.192e-06/0.5905, allocations: 4 kB / 0.7382 GB, free: 0.7734 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001968/0.5907, allocations: 47.91 kB / 0.7382 GB, free: 0.7266 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.5907, allocations: 7.984 kB / 0.7383 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001683/0.5909, allocations: 23.83 kB / 0.7383 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.334e-05/0.5909, allocations: 11.98 kB / 0.7383 GB, free: 0.6836 MB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001821/0.5911, allocations: 237 kB / 0.7385 GB, free: 452 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.574e-05/0.5912, allocations: 27.7 kB / 0.7385 GB, free: 424 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005378/0.5917, allocations: 212.2 kB / 0.7387 GB, free: 204 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.5917, allocations: 0 / 0.7387 GB, free: 204 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.5917, allocations: 0 / 0.7387 GB, free: 204 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.5918, allocations: 96 / 0.7387 GB, free: 204 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003128/0.5921, allocations: 285.4 kB / 0.739 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.5921, allocations: 0 / 0.739 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001539/0.5922, allocations: 27.98 kB / 0.739 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.5923, allocations: 0 / 0.739 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.5923, allocations: 8 kB / 0.7391 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.5923, allocations: 0 / 0.7391 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.5923, allocations: 0 / 0.7391 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004645/0.5928, allocations: 287.1 kB / 0.7393 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.5929, allocations: 120.7 kB / 0.7394 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.505e-05/0.5929, allocations: 4 kB / 0.7394 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.5931, allocations: 11.98 kB / 0.7395 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.689e-05/0.5931, allocations: 7.984 kB / 0.7395 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.5932, allocations: 11.94 kB / 0.7395 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002352/0.5934, allocations: 235 kB / 0.7397 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5.01e-07/0.5934, allocations: 0 / 0.7397 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006203/0.594, allocations: 147.9 kB / 0.7398 GB, free: 14.99 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 (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.0005581/0.5946, allocations: 195.1 kB / 0.74 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008581/0.5955, allocations: 311.7 kB / 0.7403 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.5955, allocations: 0 / 0.7403 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002296/0.5957, allocations: 80.7 kB / 0.7404 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005364/0.5963, allocations: 90.28 kB / 0.7405 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.5973, allocations: 0.5336 MB / 0.741 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004694/0.5978, allocations: 0.7758 MB / 0.7418 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003044/0.5981, allocations: 86.86 kB / 0.7418 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.127e-05/0.5982, allocations: 23.44 kB / 0.7419 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of SimCode: time 3.71e-07/0.5982, allocations: 0 / 0.7419 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of Templates: time 0.01156/0.6097, allocations: 6.087 MB / 0.7478 GB, free: 6.84 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: