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.001207/0.001207, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.46/1.46, allocations: 205.1 MB / 222.4 MB, free: 4.59 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3874/0.3874, allocations: 54.95 MB / 324.7 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.001734/0.001734, allocations: 75.88 kB / 395.3 MB, free: 11.84 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1316, allocations: 59.6 MB / 454.9 MB, free: 184 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.2207/0.3524, allocations: 2.053 MB / 457 MB, free: 38.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002513/0.3549, allocations: 1.967 MB / 459 MB, free: 38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001471/0.3551, allocations: 3.062 kB / 459 MB, free: 38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006678/0.3558, allocations: 263.8 kB / 459.2 MB, free: 37.96 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006035/0.3564, allocations: 291.3 kB / 459.5 MB, free: 37.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008143/0.3572, allocations: 492.3 kB / 460 MB, free: 37.87 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004727/0.3577, allocations: 460.5 kB / 460.4 MB, free: 37.83 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.3578, allocations: 35.45 kB / 460.5 MB, free: 37.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001544/0.358, allocations: 168.4 kB / 460.6 MB, free: 37.79 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000211/0.3582, allocations: 165 kB / 460.8 MB, free: 37.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.885e-05/0.3583, allocations: 16.28 kB / 460.8 MB, free: 37.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005165/0.3588, allocations: 442.1 kB / 461.2 MB, free: 37.71 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.802e-05/0.3589, allocations: 96.61 kB / 461.3 MB, free: 37.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.761e-05/0.359, allocations: 115.9 kB / 461.4 MB, free: 37.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005615/0.3595, allocations: 0.5742 MB / 462 MB, free: 37.49 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.3596, allocations: 4 kB / 462 MB, free: 37.49 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3596, allocations: 3.938 kB / 462 MB, free: 37.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.3596, allocations: 4.219 kB / 462 MB, free: 37.48 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.0007341/0.3603, allocations: 0.5864 MB / 462.6 MB, free: 36.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.3604, allocations: 12.22 kB / 462.6 MB, free: 36.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003042/0.3607, allocations: 50.44 kB / 462.7 MB, free: 36.96 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003571/0.361, allocations: 335.7 kB / 463 MB, free: 36.7 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.3611, allocations: 8.531 kB / 463 MB, free: 36.69 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.341e-05/0.3611, allocations: 16.69 kB / 463 MB, free: 36.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003087/0.3614, allocations: 152.3 kB / 463.2 MB, free: 36.62 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.3614, allocations: 0 / 463.2 MB, free: 36.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.798e-05/0.3615, allocations: 2.938 kB / 463.2 MB, free: 36.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.3615, allocations: 1.609 kB / 463.2 MB, free: 36.62 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003398/0.3618, allocations: 140.4 kB / 463.3 MB, free: 36.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005798/0.3624, allocations: 488.3 kB / 463.8 MB, free: 36.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003135/0.3627, allocations: 131.6 kB / 463.9 MB, free: 36.17 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001666/0.3629, allocations: 69.36 kB / 464 MB, free: 36.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.664e-05/0.3629, allocations: 3.984 kB / 464 MB, free: 36.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.792e-05/0.363, allocations: 34.88 kB / 464 MB, free: 36.1 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.363, allocations: 0 / 464 MB, free: 36.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006572/0.3636, allocations: 243.8 kB / 464.3 MB, free: 36 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.457e-05/0.3637, allocations: 51.41 kB / 464.3 MB, free: 35.94 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002537/0.3639, allocations: 331.3 kB / 464.6 MB, free: 35.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.364, allocations: 33.48 kB / 464.7 MB, free: 35.74 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.296e-05/0.364, allocations: 153.1 kB / 464.8 MB, free: 35.61 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.692e-05/0.3641, allocations: 28.88 kB / 464.9 MB, free: 35.58 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.011e-05/0.3642, allocations: 51.28 kB / 464.9 MB, free: 35.55 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.311e-05/0.3642, allocations: 342.1 kB / 465.2 MB, free: 35.23 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000228/0.3645, allocations: 117 kB / 465.4 MB, free: 35.2 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002387/0.3647, allocations: 166.8 kB / 465.5 MB, free: 35.1 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004502/0.3652, allocations: 277.3 kB / 465.8 MB, free: 34.96 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3652, allocations: 0 / 465.8 MB, free: 34.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005698/0.3657, allocations: 338.4 kB / 466.1 MB, free: 34.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.3658, allocations: 5.656 kB / 466.1 MB, free: 34.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.3658, allocations: 3.531 kB / 466.1 MB, free: 34.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.3658, allocations: 7.75 kB / 466.1 MB, free: 34.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002253/0.366, allocations: 49.84 kB / 466.2 MB, free: 34.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.3661, allocations: 6.75 kB / 466.2 MB, free: 34.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001674/0.3662, allocations: 30.03 kB / 466.2 MB, free: 34.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.752e-05/0.3663, allocations: 14.34 kB / 466.2 MB, free: 34.81 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002706/0.3665, allocations: 208.8 kB / 466.4 MB, free: 34.69 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002163/0.3668, allocations: 156.8 kB / 466.6 MB, free: 34.59 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003835/0.3672, allocations: 225.4 kB / 466.8 MB, free: 34.47 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.013e-06/0.3672, allocations: 2.938 kB / 466.8 MB, free: 34.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0005161/0.3677, allocations: 290.5 kB / 467.1 MB, free: 34.36 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.835e-06/0.3677, allocations: 8.156 kB / 467.1 MB, free: 34.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.855e-06/0.3677, allocations: 3.5 kB / 467.1 MB, free: 34.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.515e-06/0.3677, allocations: 0 / 467.1 MB, free: 34.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001836/0.3679, allocations: 42.53 kB / 467.1 MB, free: 34.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.3679, allocations: 10.45 kB / 467.2 MB, free: 34.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001503/0.3681, allocations: 24.31 kB / 467.2 MB, free: 34.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.981e-05/0.3681, allocations: 11.36 kB / 467.2 MB, free: 34.34 MB / 382.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 8.102e-05/0.3682, allocations: 190.6 kB / 467.4 MB, free: 34.15 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.634e-05/0.3682, allocations: 32.44 kB / 467.4 MB, free: 34.13 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004764/0.3687, allocations: 203.8 kB / 467.6 MB, free: 34.04 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.3687, allocations: 4.547 kB / 467.6 MB, free: 34.04 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3688, allocations: 6.281 kB / 467.6 MB, free: 34.04 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.3688, allocations: 0 / 467.6 MB, free: 34.04 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002349/0.369, allocations: 267.2 kB / 467.9 MB, free: 33.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.369, allocations: 0 / 467.9 MB, free: 33.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001375/0.3692, allocations: 26.16 kB / 467.9 MB, free: 33.81 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3692, allocations: 0 / 467.9 MB, free: 33.81 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.3692, allocations: 10.59 kB / 467.9 MB, free: 33.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.3692, allocations: 4.875 kB / 467.9 MB, free: 33.8 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3692, allocations: 0 / 467.9 MB, free: 33.8 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000396/0.3696, allocations: 280.3 kB / 468.2 MB, free: 33.62 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.749e-05/0.3697, allocations: 101.2 kB / 468.3 MB, free: 33.51 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.683e-05/0.3697, allocations: 3.734 kB / 468.3 MB, free: 33.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.3699, allocations: 12.97 kB / 468.3 MB, free: 33.51 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.164e-05/0.3699, allocations: 6.938 kB / 468.3 MB, free: 33.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.3699, allocations: 6.859 kB / 468.3 MB, free: 33.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001834/0.3701, allocations: 237.4 kB / 468.6 MB, free: 33.38 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3701, allocations: 0 / 468.6 MB, free: 33.38 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005639/0.3707, allocations: 155.1 kB / 468.7 MB, free: 33.35 MB / 382.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.0003562/0.371, allocations: 204.1 kB / 468.9 MB, free: 33.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007311/0.3718, allocations: 327.1 kB / 469.2 MB, free: 33.14 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.3718, allocations: 0 / 469.2 MB, free: 33.14 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000172/0.372, allocations: 74.83 kB / 469.3 MB, free: 33.12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000498/0.3725, allocations: 100.7 kB / 469.4 MB, free: 33.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007093/0.3732, allocations: 492.2 kB / 469.9 MB, free: 32.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001757/0.3734, allocations: 0.7678 MB / 470.6 MB, free: 32.12 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002553/0.3737, allocations: 80.09 kB / 470.7 MB, free: 32.1 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.613e-05/0.3737, allocations: 26.59 kB / 470.7 MB, free: 32.1 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3737, allocations: 0 / 470.7 MB, free: 32.1 MB / 382.1 MB Notification: Performance of Templates: time 0.00951/0.3833, allocations: 6.55 MB / 477.3 MB, free: 31.7 MB / 382.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)