Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.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.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface") translateModel(BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 109.6 kB / 16.41 MB, free: 6.477 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.001279/0.001279, allocations: 185.5 kB / 17.34 MB, free: 5.754 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.356/1.356, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003023/0.003023, allocations: 289.3 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.968/0.968, allocations: 169.2 MB / 0.499 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002767/0.002767, allocations: 87.86 kB / 0.6821 GB, free: 7 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4698/0.4726, allocations: 86.97 MB / 0.767 GB, free: 3.988 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.003095/0.4758, allocations: 1.623 MB / 0.7686 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0007755/0.4766, allocations: 337.6 kB / 0.7689 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.708e-05/0.4767, allocations: 0 / 0.7689 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.447e-05/0.4767, allocations: 15.88 kB / 0.769 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001008/0.4769, allocations: 19.78 kB / 0.769 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000393/0.4773, allocations: 75.86 kB / 0.7691 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001666/0.4774, allocations: 107.6 kB / 0.7692 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.4776, allocations: 39.62 kB / 0.7692 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.4777, allocations: 31.92 kB / 0.7692 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.4778, allocations: 55.75 kB / 0.7693 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.291e-05/0.4778, allocations: 8 kB / 0.7693 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001092/0.478, allocations: 31.98 kB / 0.7693 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.54e-05/0.478, allocations: 23.86 kB / 0.7693 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.132e-05/0.4781, allocations: 43.78 kB / 0.7694 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000208/0.4783, allocations: 115.6 kB / 0.7695 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.4783, allocations: 0 / 0.7695 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4783, allocations: 0 / 0.7695 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.293e-06/0.4783, allocations: 4 kB / 0.7695 GB, free: 1.465 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006082/0.4789, allocations: 401.7 kB / 0.7699 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.479, allocations: 8.031 kB / 0.7699 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001416/0.4804, allocations: 172.6 kB / 0.77 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.4806, allocations: 180.2 kB / 0.7702 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.4806, allocations: 8.359 kB / 0.7702 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.275e-05/0.4806, allocations: 8.375 kB / 0.7702 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006784/0.4813, allocations: 172.7 kB / 0.7704 GB, free: 456 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.4813, allocations: 192 / 0.7704 GB, free: 456 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.147e-05/0.4814, allocations: 3.938 kB / 0.7704 GB, free: 452 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.4814, allocations: 0 / 0.7704 GB, free: 452 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009409/0.4823, allocations: 191.7 kB / 0.7706 GB, free: 260 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001276/0.4836, allocations: 480.3 kB / 0.771 GB, free: 15.73 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001104/0.4847, allocations: 190.4 kB / 0.7712 GB, free: 15.54 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003548/0.4851, allocations: 68.84 kB / 0.7713 GB, free: 15.47 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.502e-05/0.4851, allocations: 3.938 kB / 0.7713 GB, free: 15.46 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.4851, allocations: 34.56 kB / 0.7713 GB, free: 15.42 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.383e-06/0.4852, allocations: 3.938 kB / 0.7713 GB, free: 15.42 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.001197/0.4864, allocations: 221.3 kB / 0.7715 GB, free: 15.2 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/0.4864, allocations: 55.41 kB / 0.7716 GB, free: 15.13 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002527/0.4867, allocations: 183.1 kB / 0.7718 GB, free: 14.94 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.4867, allocations: 29.7 kB / 0.7718 GB, free: 14.91 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.861e-05/0.4868, allocations: 107.9 kB / 0.7719 GB, free: 14.8 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.857e-05/0.4868, allocations: 15.84 kB / 0.7719 GB, free: 14.78 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.255e-05/0.4869, allocations: 25.69 kB / 0.7719 GB, free: 14.75 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.487, allocations: 322.8 kB / 0.7723 GB, free: 14.43 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004663/0.4875, allocations: 92.7 kB / 0.7723 GB, free: 14.33 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004567/0.4879, allocations: 106.5 kB / 0.7724 GB, free: 14.22 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007887/0.4887, allocations: 150.4 kB / 0.7726 GB, free: 14.06 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.4887, allocations: 0 / 0.7726 GB, free: 14.06 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001008/0.4898, allocations: 221.3 kB / 0.7728 GB, free: 13.84 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.4898, allocations: 8 kB / 0.7728 GB, free: 13.83 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.4898, allocations: 0 / 0.7728 GB, free: 13.83 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.4898, allocations: 3.938 kB / 0.7728 GB, free: 13.83 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003607/0.4902, allocations: 55.92 kB / 0.7729 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.4902, allocations: 4 kB / 0.7729 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003886/0.4906, allocations: 39.89 kB / 0.7729 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.988e-05/0.4906, allocations: 7.984 kB / 0.7729 GB, free: 13.72 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002259/0.4909, allocations: 120.1 kB / 0.773 GB, free: 13.6 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001891/0.4911, allocations: 73.98 kB / 0.7731 GB, free: 13.51 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002689/0.4913, allocations: 109.8 kB / 0.7732 GB, free: 13.38 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.943e-06/0.4914, allocations: 4 kB / 0.7732 GB, free: 13.38 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0004391/0.4918, allocations: 133.5 kB / 0.7733 GB, free: 13.24 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.4918, allocations: 8 kB / 0.7733 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.4918, allocations: 3.984 kB / 0.7733 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.35e-06/0.4918, allocations: 4 kB / 0.7733 GB, free: 13.22 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.492, allocations: 27.86 kB / 0.7734 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.166e-06/0.492, allocations: 320 / 0.7734 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002505/0.4923, allocations: 32 kB / 0.7734 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.156e-06/0.4923, allocations: 0 / 0.7734 GB, free: 13.16 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (7): * Single equations (assignments): 7 * 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.0001184/0.4924, allocations: 187.5 kB / 0.7736 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.437e-05/0.4924, allocations: 11.89 kB / 0.7736 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.796e-05/0.4925, allocations: 16.19 kB / 0.7736 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.4925, allocations: 4 kB / 0.7736 GB, free: 12.94 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.4925, allocations: 0 / 0.7736 GB, free: 12.94 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.4925, allocations: 0 / 0.7736 GB, free: 12.94 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002292/0.4928, allocations: 205.6 kB / 0.7738 GB, free: 12.69 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.4928, allocations: 3.938 kB / 0.7738 GB, free: 12.69 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002218/0.493, allocations: 27.95 kB / 0.7738 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.493, allocations: 3.938 kB / 0.7738 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.493, allocations: 15.92 kB / 0.7739 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.4931, allocations: 0 / 0.7739 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.4931, allocations: 3.984 kB / 0.7739 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007704/0.4938, allocations: 259.4 kB / 0.7741 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.206e-05/0.4939, allocations: 101 kB / 0.7742 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.286e-05/0.494, allocations: 3.938 kB / 0.7742 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002938/0.4943, allocations: 27.95 kB / 0.7742 GB, free: 12.22 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.615e-05/0.4943, allocations: 0 / 0.7742 GB, free: 12.22 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.4943, allocations: 7.984 kB / 0.7742 GB, free: 12.21 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001954/0.4945, allocations: 147.2 kB / 0.7744 GB, free: 12.07 MB / 0.545 GB Notification: Performance of sort global known variables: time 5.51e-07/0.4946, allocations: 0 / 0.7744 GB, free: 12.07 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003525/0.4949, allocations: 39.94 kB / 0.7744 GB, free: 12.03 MB / 0.545 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 (3): * Single equations (assignments): 3 * 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.0001306/0.495, allocations: 95.25 kB / 0.7745 GB, free: 11.93 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001062/0.4961, allocations: 207.7 kB / 0.7747 GB, free: 11.72 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.4961, allocations: 0.5625 kB / 0.7747 GB, free: 11.72 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000351/0.4965, allocations: 67.92 kB / 0.7748 GB, free: 11.66 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.4968, allocations: 8.125 kB / 0.7748 GB, free: 11.65 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000919/0.4978, allocations: 276.6 kB / 0.775 GB, free: 11.34 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000255/0.498, allocations: 0.6924 MB / 0.7757 GB, free: 10.62 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.497e-05/0.4981, allocations: 19.41 kB / 0.7757 GB, free: 10.61 MB / 0.545 GB Notification: Performance of SimCode: time 2.21e-07/0.4981, allocations: 0 / 0.7757 GB, free: 10.61 MB / 0.545 GB Notification: Performance of Templates: time 0.003477/0.5016, allocations: 1.72 MB / 0.7774 GB, free: 8.898 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & ./BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1)