Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface") translateModel(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.005345/0.005345, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001161/0.001161, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.351/1.351, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9181/0.9181, allocations: 135.1 MB / 425.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 59.91 kB / 0.5856 GB, free: 3.371 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4372/0.4385, allocations: 80.92 MB / 0.6646 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002423/0.441, allocations: 1.596 MB / 0.6662 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005479/0.4416, allocations: 309.1 kB / 0.6665 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.828e-05/0.4416, allocations: 1.188 kB / 0.6665 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.023e-05/0.4416, allocations: 7.875 kB / 0.6665 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.535e-05/0.4417, allocations: 21 kB / 0.6665 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002922/0.442, allocations: 69.89 kB / 0.6666 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001118/0.4422, allocations: 108.1 kB / 0.6667 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.4423, allocations: 36.66 kB / 0.6667 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.657e-05/0.4424, allocations: 35.52 kB / 0.6668 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.334e-05/0.4425, allocations: 45.14 kB / 0.6668 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.4425, allocations: 7.25 kB / 0.6668 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.586e-05/0.4426, allocations: 29.56 kB / 0.6668 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.938e-05/0.4426, allocations: 18.7 kB / 0.6669 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.545e-05/0.4426, allocations: 43.8 kB / 0.6669 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001406/0.4428, allocations: 106.4 kB / 0.667 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.4428, allocations: 5.125 kB / 0.667 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.393e-06/0.4428, allocations: 0 / 0.667 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.616e-06/0.4428, allocations: 0 / 0.667 GB, free: 5.766 MB / 0.4981 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.0004635/0.4433, allocations: 403.2 kB / 0.6674 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.4433, allocations: 9.469 kB / 0.6674 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009497/0.4443, allocations: 123.7 kB / 0.6675 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.984e-05/0.4444, allocations: 177.3 kB / 0.6677 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.4444, allocations: 12.09 kB / 0.6677 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.524e-05/0.4444, allocations: 9.188 kB / 0.6677 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004859/0.4449, allocations: 155 kB / 0.6679 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.4449, allocations: 0 / 0.6679 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.445, allocations: 4 kB / 0.6679 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.445, allocations: 2.688 kB / 0.6679 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006758/0.4457, allocations: 149.9 kB / 0.668 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008781/0.4465, allocations: 454.1 kB / 0.6684 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006413/0.4472, allocations: 139.3 kB / 0.6686 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003283/0.4475, allocations: 71.75 kB / 0.6686 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.4476, allocations: 5.469 kB / 0.6686 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.476e-05/0.4476, allocations: 35.66 kB / 0.6687 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.383e-06/0.4476, allocations: 0 / 0.6687 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.0011/0.4487, allocations: 248.5 kB / 0.6689 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.669e-05/0.4487, allocations: 51.41 kB / 0.669 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.4489, allocations: 156.8 kB / 0.6691 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.4489, allocations: 27.27 kB / 0.6691 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.93e-05/0.4489, allocations: 103.8 kB / 0.6692 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.4489, allocations: 21.17 kB / 0.6693 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.786e-05/0.449, allocations: 32.06 kB / 0.6693 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.557e-05/0.4491, allocations: 321.4 kB / 0.6696 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003378/0.4494, allocations: 76.78 kB / 0.6697 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003151/0.4497, allocations: 72.67 kB / 0.6697 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006249/0.4504, allocations: 141.2 kB / 0.6699 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.4504, allocations: 0 / 0.6699 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0006912/0.4511, allocations: 188.5 kB / 0.6701 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.4511, allocations: 8.781 kB / 0.6701 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.4511, allocations: 0 / 0.6701 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.4511, allocations: 1.219 kB / 0.6701 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002459/0.4514, allocations: 36.89 kB / 0.6701 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.4514, allocations: 0.9688 kB / 0.6701 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002014/0.4516, allocations: 25.59 kB / 0.6701 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.7e-05/0.4516, allocations: 6.703 kB / 0.6701 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001156/0.4517, allocations: 111.9 kB / 0.6702 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.839e-05/0.4518, allocations: 60.05 kB / 0.6703 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001491/0.452, allocations: 83.2 kB / 0.6704 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.272e-06/0.452, allocations: 0 / 0.6704 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0002151/0.4522, allocations: 108.8 kB / 0.6705 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.606e-06/0.4522, allocations: 6.156 kB / 0.6705 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.214e-06/0.4523, allocations: 1.281 kB / 0.6705 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.316e-06/0.4523, allocations: 9.219 kB / 0.6705 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.374e-05/0.4523, allocations: 17.67 kB / 0.6705 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.006e-06/0.4523, allocations: 1.094 kB / 0.6705 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.111e-05/0.4524, allocations: 17.58 kB / 0.6705 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.4524, allocations: 6.156 kB / 0.6705 GB, free: 2.867 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * 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 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 5.885e-05/0.4525, allocations: 177.5 kB / 0.6707 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.471e-05/0.4525, allocations: 12.28 kB / 0.6707 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.191e-05/0.4526, allocations: 15.88 kB / 0.6707 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.4526, allocations: 1.406 kB / 0.6707 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.4526, allocations: 3.938 kB / 0.6707 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.4526, allocations: 0 / 0.6707 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009242/0.4535, allocations: 490.1 kB / 0.6712 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.4536, allocations: 1.375 kB / 0.6712 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002127/0.4538, allocations: 35.33 kB / 0.6712 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.4538, allocations: 1.156 kB / 0.6712 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.4538, allocations: 6.203 kB / 0.6712 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.4538, allocations: 1.438 kB / 0.6712 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.4538, allocations: 4.062 kB / 0.6713 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007091/0.4545, allocations: 292.2 kB / 0.6715 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.734e-05/0.4546, allocations: 101.2 kB / 0.6716 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.322e-05/0.4546, allocations: 5.734 kB / 0.6716 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002179/0.4549, allocations: 24.19 kB / 0.6717 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.385e-05/0.4549, allocations: 2.75 kB / 0.6717 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.4549, allocations: 6.484 kB / 0.6717 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.896e-05/0.455, allocations: 125.3 kB / 0.6718 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.455, allocations: 0 / 0.6718 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003233/0.4553, allocations: 30.59 kB / 0.6718 GB, free: 1.727 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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 9.487e-05/0.4554, allocations: 100.8 kB / 0.6719 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008076/0.4562, allocations: 194.1 kB / 0.6721 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.4563, allocations: 0 / 0.6721 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003252/0.4566, allocations: 76.42 kB / 0.6722 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003269/0.4569, allocations: 8.094 kB / 0.6722 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008947/0.4578, allocations: 284.3 kB / 0.6724 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000124/0.458, allocations: 0.6931 MB / 0.6731 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.624e-05/0.458, allocations: 14.61 kB / 0.6731 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.6e-05/0.4581, allocations: 17.02 kB / 0.6732 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of SimCode: time 1.002e-06/0.4581, allocations: 1.406 kB / 0.6732 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of Templates: time 0.003967/0.4621, allocations: 1.444 MB / 0.6746 GB, free: 15.82 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & ./IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1)