Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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(Annex60.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface") translateModel(Annex60.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.007477/0.007477, allocations: 99.64 kB / 15.73 MB, free: 6.031 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.001521/0.001521, allocations: 193.8 kB / 16.67 MB, free: 5.969 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.484/1.484, allocations: 205.1 MB / 222.5 MB, free: 4.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4016/0.4016, allocations: 54.95 MB / 324.9 MB, free: 15.99 MB / 270.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: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 73.81 kB / 456.2 MB, free: 38.18 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1101, allocations: 59.59 MB / 0.5037 GB, free: 9.594 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.002991/0.1131, allocations: 2.06 MB / 0.5057 GB, free: 7.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002562/0.1157, allocations: 1.971 MB / 0.5076 GB, free: 6.438 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002561/0.116, allocations: 8.062 kB / 0.5077 GB, free: 6.434 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006714/0.1167, allocations: 256.5 kB / 0.5079 GB, free: 6.273 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008515/0.1175, allocations: 298.8 kB / 0.5082 GB, free: 6.062 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001028/0.1186, allocations: 492 kB / 0.5087 GB, free: 5.746 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005981/0.1192, allocations: 460.2 kB / 0.5091 GB, free: 5.492 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.1193, allocations: 33.2 kB / 0.5091 GB, free: 5.477 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002605/0.1196, allocations: 169.7 kB / 0.5093 GB, free: 5.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002229/0.1198, allocations: 167.4 kB / 0.5094 GB, free: 5.156 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.057e-05/0.1198, allocations: 16 kB / 0.5095 GB, free: 5.141 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005448/0.1204, allocations: 455.2 kB / 0.5099 GB, free: 4.695 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.059e-05/0.1205, allocations: 91.77 kB / 0.51 GB, free: 4.605 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.191e-05/0.1206, allocations: 115.3 kB / 0.5101 GB, free: 4.492 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006501/0.1212, allocations: 0.592 MB / 0.5107 GB, free: 3.898 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.1213, allocations: 0 / 0.5107 GB, free: 3.898 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1213, allocations: 0 / 0.5107 GB, free: 3.898 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.188e-05/0.1213, allocations: 0 / 0.5107 GB, free: 3.898 MB / 382.1 MB 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.0007518/0.122, allocations: 0.5994 MB / 0.5113 GB, free: 3.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.1221, allocations: 12.03 kB / 0.5113 GB, free: 3.238 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002887/0.1224, allocations: 48.61 kB / 0.5113 GB, free: 3.191 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004177/0.1228, allocations: 336.2 kB / 0.5116 GB, free: 2.824 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.1228, allocations: 8.375 kB / 0.5116 GB, free: 2.816 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.532e-05/0.1228, allocations: 19.94 kB / 0.5117 GB, free: 2.797 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003034/0.1232, allocations: 145.6 kB / 0.5118 GB, free: 2.648 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.1232, allocations: 0 / 0.5118 GB, free: 2.648 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.714e-05/0.1232, allocations: 8 kB / 0.5118 GB, free: 2.641 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.1232, allocations: 0 / 0.5118 GB, free: 2.641 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003085/0.1235, allocations: 131.9 kB / 0.5119 GB, free: 2.512 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006012/0.1241, allocations: 496.3 kB / 0.5124 GB, free: 1.977 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002964/0.1244, allocations: 130.5 kB / 0.5125 GB, free: 1.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001545/0.1246, allocations: 68.81 kB / 0.5126 GB, free: 1.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.1246, allocations: 8.125 kB / 0.5126 GB, free: 1.762 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.446e-05/0.1247, allocations: 34.56 kB / 0.5126 GB, free: 1.719 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.1247, allocations: 0 / 0.5126 GB, free: 1.719 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006045/0.1253, allocations: 237.4 kB / 0.5129 GB, free: 1.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.866e-05/0.1253, allocations: 51.41 kB / 0.5129 GB, free: 1.418 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002339/0.1255, allocations: 336.5 kB / 0.5132 GB, free: 1.078 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.1256, allocations: 33.64 kB / 0.5133 GB, free: 1.039 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.859e-05/0.1256, allocations: 152 kB / 0.5134 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.611e-05/0.1257, allocations: 35.53 kB / 0.5134 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.471e-05/0.1257, allocations: 49.69 kB / 0.5135 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.15e-05/0.1258, allocations: 342.8 kB / 0.5138 GB, free: 464 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002039/0.126, allocations: 112.8 kB / 0.5139 GB, free: 348 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002107/0.1262, allocations: 170.2 kB / 0.5141 GB, free: 156 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004766/0.1267, allocations: 270.6 kB / 0.5143 GB, free: 15.86 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.1267, allocations: 0 / 0.5143 GB, free: 15.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006364/0.1274, allocations: 345 kB / 0.5147 GB, free: 15.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.1274, allocations: 4 kB / 0.5147 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.1274, allocations: 4 kB / 0.5147 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.1274, allocations: 7.938 kB / 0.5147 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002353/0.1277, allocations: 47.89 kB / 0.5147 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.1277, allocations: 4 kB / 0.5147 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001771/0.1279, allocations: 31.98 kB / 0.5148 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.094e-05/0.1279, allocations: 12 kB / 0.5148 GB, free: 15.41 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003069/0.1282, allocations: 204 kB / 0.515 GB, free: 15.21 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002457/0.1285, allocations: 146.8 kB / 0.5151 GB, free: 15.04 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004527/0.1289, allocations: 237.4 kB / 0.5153 GB, free: 14.78 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.006e-06/0.1289, allocations: 3.938 kB / 0.5153 GB, free: 14.78 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0005744/0.1295, allocations: 289.1 kB / 0.5156 GB, free: 14.49 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.1295, allocations: 7.984 kB / 0.5156 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.1296, allocations: 4 kB / 0.5156 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.687e-06/0.1296, allocations: 0 / 0.5156 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001932/0.1298, allocations: 43.97 kB / 0.5157 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.1298, allocations: 11.88 kB / 0.5157 GB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001701/0.13, allocations: 24.05 kB / 0.5157 GB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.022e-05/0.13, allocations: 8 kB / 0.5157 GB, free: 14.39 MB / 398.1 MB 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.0001081/0.1301, allocations: 188.2 kB / 0.5159 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.866e-05/0.1302, allocations: 23.72 kB / 0.5159 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004992/0.1307, allocations: 200.2 kB / 0.5161 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.1307, allocations: 8.031 kB / 0.5161 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1307, allocations: 3.938 kB / 0.5161 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1307, allocations: 0 / 0.5161 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003087/0.131, allocations: 277.4 kB / 0.5164 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.131, allocations: 0 / 0.5164 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/0.1312, allocations: 27.91 kB / 0.5164 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.1312, allocations: 4 kB / 0.5164 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.1312, allocations: 8 kB / 0.5164 GB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.1312, allocations: 3.938 kB / 0.5164 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1312, allocations: 0 / 0.5164 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004373/0.1317, allocations: 271.1 kB / 0.5167 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.848e-05/0.1318, allocations: 104.7 kB / 0.5168 GB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.262e-05/0.1318, allocations: 11.98 kB / 0.5168 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001504/0.132, allocations: 7.938 kB / 0.5168 GB, free: 13.17 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.275e-05/0.132, allocations: 7.984 kB / 0.5168 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.132, allocations: 7.938 kB / 0.5168 GB, free: 13.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002465/0.1323, allocations: 243 kB / 0.5171 GB, free: 12.92 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1323, allocations: 4 kB / 0.5171 GB, free: 12.91 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005904/0.1329, allocations: 143.9 kB / 0.5172 GB, free: 12.77 MB / 398.1 MB 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.0004781/0.1334, allocations: 195.2 kB / 0.5174 GB, free: 12.57 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008137/0.1342, allocations: 331.5 kB / 0.5177 GB, free: 12.25 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.1342, allocations: 0 / 0.5177 GB, free: 12.25 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001819/0.1344, allocations: 64.83 kB / 0.5178 GB, free: 12.19 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005265/0.1349, allocations: 112.6 kB / 0.5179 GB, free: 12.08 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009333/0.1359, allocations: 475.4 kB / 0.5183 GB, free: 11.59 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006109/0.1365, allocations: 0.7755 MB / 0.5191 GB, free: 10.79 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002738/0.1368, allocations: 78.88 kB / 0.5192 GB, free: 10.71 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.195e-05/0.1369, allocations: 31.42 kB / 0.5192 GB, free: 10.68 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1369, allocations: 0 / 0.5192 GB, free: 10.68 MB / 398.1 MB Notification: Performance of Templates: time 0.01371/0.1506, allocations: 6.689 MB / 0.5257 GB, free: 4.051 MB / 398.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & ./Annex60_1.0.0_Annex60.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)