Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 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.PowerInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Movers.BaseClasses.Validation.PowerInterface") translateModel(Annex60.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.00112/0.001121, allocations: 91.06 kB / 15.06 MB, free: 1.098 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.001324/0.001324, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.564/1.564, allocations: 205.4 MB / 222.1 MB, free: 5.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4185/0.4185, allocations: 55.03 MB / 325.4 MB, free: 0.6797 MB / 254.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.0006602/0.0006603, allocations: 16 kB / 396.7 MB, free: 11.7 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.3415, allocations: 60.71 MB / 457.4 MB, free: 38.12 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.001703/0.3433, allocations: 1.294 MB / 458.7 MB, free: 38.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005391/0.3439, allocations: 264.7 kB / 458.9 MB, free: 38.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.942e-05/0.3439, allocations: 0 / 458.9 MB, free: 38.04 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.352e-05/0.344, allocations: 4.844 kB / 458.9 MB, free: 38.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.395e-05/0.3441, allocations: 17 kB / 458.9 MB, free: 38.04 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002828/0.3444, allocations: 49.16 kB / 459 MB, free: 38.03 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001238/0.3445, allocations: 95.34 kB / 459.1 MB, free: 38.01 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/0.3447, allocations: 25.38 kB / 459.1 MB, free: 38.01 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.173e-05/0.3447, allocations: 25.3 kB / 459.1 MB, free: 38.01 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.72e-05/0.3448, allocations: 38.98 kB / 459.2 MB, free: 38 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.3448, allocations: 6.562 kB / 459.2 MB, free: 38 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.599e-05/0.3449, allocations: 23.36 kB / 459.2 MB, free: 38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.798e-05/0.345, allocations: 13 kB / 459.2 MB, free: 38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.097e-05/0.345, allocations: 41.64 kB / 459.3 MB, free: 37.96 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000131/0.3451, allocations: 65.8 kB / 459.3 MB, free: 37.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.3451, allocations: 0 / 459.3 MB, free: 37.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3452, allocations: 1 kB / 459.3 MB, free: 37.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.3452, allocations: 0.5625 kB / 459.3 MB, free: 37.96 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005246/0.3457, allocations: 396.2 kB / 459.7 MB, free: 37.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.3457, allocations: 9 kB / 459.7 MB, free: 37.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000838/0.3466, allocations: 137.6 kB / 459.8 MB, free: 37.58 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001663/0.3468, allocations: 202.1 kB / 460 MB, free: 37.38 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.3468, allocations: 7.094 kB / 460.1 MB, free: 37.38 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.3468, allocations: 7.266 kB / 460.1 MB, free: 37.38 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004552/0.3473, allocations: 158.5 kB / 460.2 MB, free: 37.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.3473, allocations: 1 kB / 460.2 MB, free: 37.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/0.3473, allocations: 3.812 kB / 460.2 MB, free: 37.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.3473, allocations: 2.531 kB / 460.2 MB, free: 37.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005903/0.3479, allocations: 177.3 kB / 460.4 MB, free: 37.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00082/0.3488, allocations: 455.5 kB / 460.8 MB, free: 37.05 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005973/0.3494, allocations: 164.7 kB / 461 MB, free: 37.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003396/0.3497, allocations: 85.55 kB / 461.1 MB, free: 37.01 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.3498, allocations: 5.781 kB / 461.1 MB, free: 37.01 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.646e-05/0.3498, allocations: 30.56 kB / 461.1 MB, free: 36.97 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.884e-06/0.3498, allocations: 0 / 461.1 MB, free: 36.97 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.001069/0.3509, allocations: 271.9 kB / 461.4 MB, free: 36.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/0.3509, allocations: 58.55 kB / 461.4 MB, free: 36.86 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.351, allocations: 164 kB / 461.6 MB, free: 36.76 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.3511, allocations: 25.7 kB / 461.6 MB, free: 36.73 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.658e-05/0.3511, allocations: 102.9 kB / 461.7 MB, free: 36.64 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.834e-05/0.3512, allocations: 18.94 kB / 461.7 MB, free: 36.62 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.436e-06/0.3512, allocations: 2.781 kB / 461.8 MB, free: 36.62 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.56e-05/0.3513, allocations: 320.6 kB / 462.1 MB, free: 36.31 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003042/0.3516, allocations: 80.67 kB / 462.1 MB, free: 36.31 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002875/0.3519, allocations: 82.08 kB / 462.2 MB, free: 36.3 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002864/0.3522, allocations: 75.16 kB / 462.3 MB, free: 36.3 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3522, allocations: 4 kB / 462.3 MB, free: 36.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0006538/0.3528, allocations: 215.2 kB / 462.5 MB, free: 36.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.008e-05/0.3529, allocations: 92.69 kB / 462.6 MB, free: 36.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.3529, allocations: 0 / 462.6 MB, free: 36.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.3529, allocations: 0 / 462.6 MB, free: 36.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002339/0.3531, allocations: 52.25 kB / 462.7 MB, free: 36.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.3532, allocations: 7.266 kB / 462.7 MB, free: 36.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001804/0.3533, allocations: 24.48 kB / 462.7 MB, free: 36.15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.629e-05/0.3534, allocations: 7.062 kB / 462.7 MB, free: 36.15 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.48e-06/0.3534, allocations: 10.53 kB / 462.7 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001884/0.3536, allocations: 69.14 kB / 462.8 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-06/0.3536, allocations: 0 / 462.8 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-06/0.3536, allocations: 0 / 462.8 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.731e-05/0.3537, allocations: 18.83 kB / 462.8 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.403e-06/0.3537, allocations: 4 kB / 462.8 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.255e-05/0.3537, allocations: 19.22 kB / 462.8 MB, free: 36.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-06/0.3538, allocations: 3.531 kB / 462.8 MB, free: 36.13 MB / 382.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.352e-05/0.3538, allocations: 198.5 kB / 463 MB, free: 35.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.289e-05/0.3539, allocations: 8.844 kB / 463 MB, free: 35.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.085e-05/0.3539, allocations: 18.94 kB / 463 MB, free: 35.92 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.3539, allocations: 2.969 kB / 463 MB, free: 35.92 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.3539, allocations: 0 / 463 MB, free: 35.92 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.155e-06/0.3539, allocations: 0 / 463 MB, free: 35.92 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000892/0.3548, allocations: 0.4903 MB / 463.5 MB, free: 35.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3549, allocations: 0 / 463.5 MB, free: 35.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002022/0.3551, allocations: 42.86 kB / 463.6 MB, free: 35.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3551, allocations: 0 / 463.6 MB, free: 35.59 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.3551, allocations: 6.328 kB / 463.6 MB, free: 35.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.3551, allocations: 2.031 kB / 463.6 MB, free: 35.59 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3551, allocations: 0 / 463.6 MB, free: 35.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000667/0.3558, allocations: 320.7 kB / 463.9 MB, free: 35.42 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.934e-05/0.3558, allocations: 86.91 kB / 464 MB, free: 35.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.346e-05/0.3559, allocations: 2.312 kB / 464 MB, free: 35.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002055/0.3561, allocations: 27.27 kB / 464 MB, free: 35.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.525e-05/0.3561, allocations: 10.91 kB / 464 MB, free: 35.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.3561, allocations: 2.844 kB / 464 MB, free: 35.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.825e-05/0.3562, allocations: 125.2 kB / 464.1 MB, free: 35.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3562, allocations: 1.219 kB / 464.1 MB, free: 35.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002924/0.3565, allocations: 30.06 kB / 464.2 MB, free: 35.24 MB / 382.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.619e-05/0.3566, allocations: 101.2 kB / 464.3 MB, free: 35.15 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007418/0.3574, allocations: 217.8 kB / 464.5 MB, free: 35.13 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3574, allocations: 0 / 464.5 MB, free: 35.13 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003265/0.3577, allocations: 87.78 kB / 464.6 MB, free: 35.12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003107/0.358, allocations: 13.12 kB / 464.6 MB, free: 35.12 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000836/0.3589, allocations: 321.2 kB / 464.9 MB, free: 34.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001257/0.359, allocations: 0.6996 MB / 465.6 MB, free: 34.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.535e-05/0.3591, allocations: 13.52 kB / 465.6 MB, free: 34.24 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.856e-05/0.3592, allocations: 20.53 kB / 465.6 MB, free: 34.23 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3592, allocations: 1.031 kB / 465.6 MB, free: 34.23 MB / 382.1 MB Notification: Performance of Templates: time 0.00327/0.3625, allocations: 1.269 MB / 466.9 MB, free: 34.16 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Movers.BaseClasses.Validation.PowerInterface.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & ./Annex60_1.0.0_Annex60.Fluid.Movers.BaseClasses.Validation.PowerInterface -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1) Environment - environmentSimulation: