Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods") translateModel(IBPSA.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001428/0.001427, allocations: 104.3 kB / 16.94 MB, free: 5.801 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.001536/0.001536, allocations: 191.3 kB / 17.87 MB, free: 5.18 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.385/1.385, allocations: 222.9 MB / 241.6 MB, free: 15.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7351/0.7351, allocations: 122.9 MB / 414.6 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 67.91 kB / 0.4917 GB, free: 7.461 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4152/0.4166, allocations: 77.93 MB / 0.5678 GB, free: 32.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods): time 0.005418/0.422, allocations: 4.863 MB / 0.5726 GB, free: 29.3 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009232/0.4313, allocations: 5.613 MB / 0.5781 GB, free: 25.56 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001407/0.4327, allocations: 27.44 kB / 0.5781 GB, free: 25.55 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0174/0.4502, allocations: 10.98 MB / 0.5888 GB, free: 21.05 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003918/0.4542, allocations: 1.222 MB / 0.59 GB, free: 20.11 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003319/0.4575, allocations: 1.518 MB / 0.5915 GB, free: 18.66 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01665/0.4742, allocations: 14.51 MB / 0.6057 GB, free: 4.129 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004396/0.4746, allocations: 168.4 kB / 0.6058 GB, free: 3.953 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001233/0.4759, allocations: 0.7708 MB / 0.6066 GB, free: 3.18 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008581/0.4768, allocations: 0.7467 MB / 0.6073 GB, free: 2.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001857/0.477, allocations: 88 kB / 0.6074 GB, free: 2.344 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001792/0.4788, allocations: 0.8736 MB / 0.6082 GB, free: 1.469 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005842/0.4793, allocations: 0.9076 MB / 0.6091 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009095/0.4803, allocations: 1.014 MB / 0.6101 GB, free: 15.53 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003698/0.484, allocations: 2.916 MB / 0.613 GB, free: 12.61 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.484, allocations: 3.938 kB / 0.613 GB, free: 12.61 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.484, allocations: 0 / 0.613 GB, free: 12.61 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.482e-05/0.4841, allocations: 0 / 0.613 GB, free: 12.61 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.004954/0.489, allocations: 2.642 MB / 0.6156 GB, free: 9.895 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.4891, allocations: 12.56 kB / 0.6156 GB, free: 9.883 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003229/0.4923, allocations: 0.5981 MB / 0.6162 GB, free: 9.281 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005242/0.4976, allocations: 2.891 MB / 0.619 GB, free: 6.328 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001367/0.4978, allocations: 60.92 kB / 0.619 GB, free: 6.266 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/0.4979, allocations: 44 kB / 0.6191 GB, free: 6.223 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001578/0.4995, allocations: 0.6656 MB / 0.6197 GB, free: 5.551 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.4995, allocations: 3.984 kB / 0.6197 GB, free: 5.547 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.899e-05/0.4996, allocations: 12 kB / 0.6197 GB, free: 5.535 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.4996, allocations: 8 kB / 0.6197 GB, free: 5.527 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001969/0.5016, allocations: 0.6153 MB / 0.6203 GB, free: 4.914 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005985/0.5076, allocations: 2.648 MB / 0.6229 GB, free: 2.199 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002224/0.5098, allocations: 0.7444 MB / 0.6237 GB, free: 1.449 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009204/0.5108, allocations: 301.2 kB / 0.6239 GB, free: 1.152 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.306e-05/0.5108, allocations: 8.281 kB / 0.624 GB, free: 1.145 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.5108, allocations: 30.84 kB / 0.624 GB, free: 1.105 MB / 462.1 MB Notification: Performance of pre-optimization done (n=33): time 2.595e-06/0.5109, allocations: 4 kB / 0.624 GB, free: 1.102 MB / 462.1 MB Notification: Performance of matching and sorting (n=33): time 0.003666/0.5145, allocations: 1.148 MB / 0.6251 GB, free: 15.94 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.5146, allocations: 59.34 kB / 0.6252 GB, free: 15.87 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005518/0.5201, allocations: 3.112 MB / 0.6282 GB, free: 12.74 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002009/0.5203, allocations: 41.7 kB / 0.6282 GB, free: 12.7 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009489/0.5213, allocations: 0.81 MB / 0.629 GB, free: 11.88 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000214/0.5215, allocations: 134.4 kB / 0.6292 GB, free: 11.75 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001065/0.5226, allocations: 0.5675 MB / 0.6297 GB, free: 11.18 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.5227, allocations: 309.1 kB / 0.63 GB, free: 10.88 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002222/0.525, allocations: 1.237 MB / 0.6312 GB, free: 9.633 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002587/0.5276, allocations: 1.698 MB / 0.6329 GB, free: 7.777 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004269/0.5318, allocations: 2.593 MB / 0.6354 GB, free: 5.059 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.505e-05/0.5319, allocations: 4 kB / 0.6354 GB, free: 5.055 MB / 478.1 MB Notification: Performance of matching and sorting (n=339) (initialization): time 0.005962/0.5378, allocations: 3.263 MB / 0.6386 GB, free: 1.785 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.252e-05/0.5379, allocations: 8 kB / 0.6386 GB, free: 1.777 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.433e-05/0.5379, allocations: 8 kB / 0.6386 GB, free: 1.77 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.693e-05/0.538, allocations: 16.19 kB / 0.6386 GB, free: 1.754 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001533/0.5395, allocations: 407.5 kB / 0.639 GB, free: 1.355 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.758e-05/0.5396, allocations: 27.92 kB / 0.639 GB, free: 1.328 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002261/0.5419, allocations: 303.7 kB / 0.6393 GB, free: 1.031 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002241/0.5421, allocations: 99.91 kB / 0.6394 GB, free: 0.9336 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003108/0.5452, allocations: 1.715 MB / 0.6411 GB, free: 15.21 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002598/0.5478, allocations: 1.643 MB / 0.6427 GB, free: 13.42 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00413/0.552, allocations: 2.429 MB / 0.6451 GB, free: 10.87 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.273e-05/0.552, allocations: 0 / 0.6451 GB, free: 10.87 MB / 494.1 MB Notification: Performance of matching and sorting (n=339) (initialization_lambda0): time 0.006273/0.5583, allocations: 3.114 MB / 0.6481 GB, free: 7.738 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.287e-05/0.5584, allocations: 11.98 kB / 0.6481 GB, free: 7.727 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.137e-05/0.5584, allocations: 8 kB / 0.6481 GB, free: 7.719 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.953e-05/0.5585, allocations: 16 kB / 0.6482 GB, free: 7.703 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001507/0.56, allocations: 403.6 kB / 0.6485 GB, free: 7.309 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.62e-05/0.56, allocations: 19.94 kB / 0.6486 GB, free: 7.289 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00229/0.5623, allocations: 255.7 kB / 0.6488 GB, free: 7.039 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001911/0.5625, allocations: 99.91 kB / 0.6489 GB, free: 6.941 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (207): * Single equations (assignments): 199 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 4 * 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.000443/0.563, allocations: 263.7 kB / 0.6492 GB, free: 6.676 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005817/0.5636, allocations: 216.9 kB / 0.6494 GB, free: 6.461 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002852/0.5664, allocations: 0.8842 MB / 0.6502 GB, free: 5.566 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.5664, allocations: 4 kB / 0.6502 GB, free: 5.562 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.5665, allocations: 3.984 kB / 0.6502 GB, free: 5.559 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.5665, allocations: 3.938 kB / 0.6502 GB, free: 5.555 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002277/0.5688, allocations: 1.213 MB / 0.6514 GB, free: 4.285 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.5688, allocations: 0 / 0.6514 GB, free: 4.285 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007549/0.5695, allocations: 127.8 kB / 0.6515 GB, free: 4.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.898e-06/0.5696, allocations: 4 kB / 0.6515 GB, free: 4.156 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.97e-05/0.5696, allocations: 12.09 kB / 0.6516 GB, free: 4.145 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.5696, allocations: 3.938 kB / 0.6516 GB, free: 4.141 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.5696, allocations: 7.922 kB / 0.6516 GB, free: 4.133 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002464/0.5721, allocations: 0.9722 MB / 0.6525 GB, free: 3.141 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008382/0.5729, allocations: 385.9 kB / 0.6529 GB, free: 2.742 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004923/0.5734, allocations: 11.98 kB / 0.6529 GB, free: 2.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001237/0.5747, allocations: 99.88 kB / 0.653 GB, free: 2.633 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.249e-05/0.5748, allocations: 23.97 kB / 0.653 GB, free: 2.609 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.471e-05/0.5749, allocations: 27.92 kB / 0.653 GB, free: 2.582 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003747/0.5786, allocations: 2.043 MB / 0.655 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5786, allocations: 0 / 0.655 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003262/0.5819, allocations: 0.9099 MB / 0.6559 GB, free: 15.62 MB / 0.4981 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 (37): * Single equations (assignments): 37 * 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.001061/0.583, allocations: 404.5 kB / 0.6563 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006704/0.5897, allocations: 3.511 MB / 0.6597 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.5897, allocations: 1.75 kB / 0.6597 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001044/0.5908, allocations: 339.4 kB / 0.6601 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004466/0.5953, allocations: 0.9256 MB / 0.661 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01752/0.6128, allocations: 5.104 MB / 0.666 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001857/0.6147, allocations: 1.629 MB / 0.6675 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001091/0.6158, allocations: 171.3 kB / 0.6677 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of SimCode: time 1.112e-06/0.6159, allocations: 0 / 0.6677 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of Templates: time 0.05584/0.6717, allocations: 34.51 MB / 0.7014 GB, free: 1.293 MB / 0.5294 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.sim & ./IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.pipe 2>&1)