Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: "" <> buildModelFMU(IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00989/0.00989, allocations: 101.3 kB / 15.73 MB, free: 6.043 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.002135/0.002136, allocations: 197.2 kB / 16.68 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.339/2.339, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.467/1.467, allocations: 132.2 MB / 422.7 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 62.34 kB / 0.5808 GB, free: 24.04 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2512/0.2531, allocations: 80.2 MB / 0.6592 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.007022/0.2602, allocations: 2.028 MB / 0.6612 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006127/0.2664, allocations: 2.03 MB / 0.6631 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004568/0.267, allocations: 4 kB / 0.6631 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001507/0.2686, allocations: 255 kB / 0.6634 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001656/0.2703, allocations: 292.1 kB / 0.6637 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002332/0.2726, allocations: 497.7 kB / 0.6641 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001376/0.274, allocations: 458.8 kB / 0.6646 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002335/0.2743, allocations: 44.38 kB / 0.6646 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000613/0.2749, allocations: 167.5 kB / 0.6648 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005645/0.2755, allocations: 163.5 kB / 0.6649 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.558e-05/0.2756, allocations: 15.94 kB / 0.6649 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001392/0.277, allocations: 451.2 kB / 0.6654 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002406/0.2773, allocations: 103.8 kB / 0.6655 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002518/0.2775, allocations: 111.3 kB / 0.6656 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001982/0.2795, allocations: 0.5929 MB / 0.6662 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.2796, allocations: 0 / 0.6662 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.374e-06/0.2796, allocations: 4 kB / 0.6662 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.071e-05/0.2796, allocations: 0 / 0.6662 GB, free: 3.602 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001787/0.2814, allocations: 0.5839 MB / 0.6667 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 7.08e-05/0.2815, allocations: 8.031 kB / 0.6667 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.387e-05/0.2816, allocations: 38.73 kB / 0.6668 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005208/0.2821, allocations: 56.56 kB / 0.6668 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008236/0.283, allocations: 340.3 kB / 0.6672 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.223e-05/0.283, allocations: 15.84 kB / 0.6672 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.016e-05/0.2831, allocations: 8 kB / 0.6672 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000557/0.2836, allocations: 149.6 kB / 0.6673 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.2837, allocations: 4 kB / 0.6673 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.827e-05/0.2837, allocations: 4 kB / 0.6673 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.2837, allocations: 4 kB / 0.6673 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005809/0.2843, allocations: 127.8 kB / 0.6675 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001314/0.2856, allocations: 492.3 kB / 0.6679 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005592/0.2863, allocations: 134.5 kB / 0.6681 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002865/0.2866, allocations: 64.75 kB / 0.6681 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.758e-05/0.2867, allocations: 0 / 0.6681 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.353e-05/0.2867, allocations: 42.56 kB / 0.6682 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.773e-06/0.2868, allocations: 0 / 0.6682 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.001226/0.288, allocations: 237.4 kB / 0.6684 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.015e-05/0.2881, allocations: 51.41 kB / 0.6684 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006345/0.2887, allocations: 340.5 kB / 0.6688 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.21e-05/0.2888, allocations: 29.7 kB / 0.6688 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001708/0.289, allocations: 152 kB / 0.6689 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.464e-05/0.289, allocations: 27.56 kB / 0.669 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001882/0.2892, allocations: 49.69 kB / 0.669 GB, free: 484 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001866/0.2894, allocations: 338.8 kB / 0.6693 GB, free: 136 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003696/0.2898, allocations: 116.8 kB / 0.6694 GB, free: 16 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006308/0.2904, allocations: 168.7 kB / 0.6696 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009377/0.2914, allocations: 277.9 kB / 0.6699 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-06/0.2914, allocations: 4 kB / 0.6699 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001081/0.2925, allocations: 333 kB / 0.6702 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/0.2926, allocations: 8.219 kB / 0.6702 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.232e-05/0.2926, allocations: 11.92 kB / 0.6702 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.921e-05/0.2926, allocations: 4 kB / 0.6702 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003657/0.293, allocations: 47.91 kB / 0.6703 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/0.293, allocations: 0 / 0.6703 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000377/0.2934, allocations: 27.83 kB / 0.6703 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.094e-05/0.2935, allocations: 8 kB / 0.6703 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005326/0.294, allocations: 216 kB / 0.6705 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003731/0.2944, allocations: 142.8 kB / 0.6706 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007395/0.2952, allocations: 238.6 kB / 0.6709 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.839e-06/0.2952, allocations: 4 kB / 0.6709 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.001123/0.2963, allocations: 300.2 kB / 0.6711 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.2964, allocations: 9.562 kB / 0.6712 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.2964, allocations: 224 / 0.6712 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.2964, allocations: 11.94 kB / 0.6712 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002973/0.2967, allocations: 44.28 kB / 0.6712 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.2967, allocations: 4 kB / 0.6712 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002882/0.297, allocations: 19.92 kB / 0.6712 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.748e-05/0.2971, allocations: 8 kB / 0.6712 GB, free: 14.06 MB / 0.5137 GB 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.0002154/0.2973, allocations: 192.1 kB / 0.6714 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.311e-05/0.2974, allocations: 27.62 kB / 0.6715 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008006/0.2982, allocations: 212.1 kB / 0.6717 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.2982, allocations: 0 / 0.6717 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.2983, allocations: 0 / 0.6717 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.2983, allocations: 0 / 0.6717 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005352/0.2988, allocations: 281.4 kB / 0.6719 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.2988, allocations: 0 / 0.6719 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002652/0.2991, allocations: 31.97 kB / 0.672 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.74e-06/0.2991, allocations: 0 / 0.672 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.025e-05/0.2991, allocations: 3.938 kB / 0.672 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.2992, allocations: 4 kB / 0.672 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.2992, allocations: 0 / 0.672 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006877/0.2999, allocations: 275.1 kB / 0.6722 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000174/0.3001, allocations: 120.7 kB / 0.6723 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.783e-05/0.3001, allocations: 3.938 kB / 0.6723 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002303/0.3004, allocations: 7.984 kB / 0.6723 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.007e-05/0.3004, allocations: 12 kB / 0.6724 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-05/0.3005, allocations: 4 kB / 0.6724 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004071/0.3009, allocations: 251 kB / 0.6726 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3009, allocations: 0 / 0.6726 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009837/0.3019, allocations: 140 kB / 0.6727 GB, free: 12.43 MB / 0.5137 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 (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.00193/0.3038, allocations: 0.9111 MB / 0.6736 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00135/0.3052, allocations: 331.5 kB / 0.6739 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.3052, allocations: 0 / 0.6739 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003449/0.3056, allocations: 68.77 kB / 0.674 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/0.3066, allocations: 101.5 kB / 0.6741 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007979/0.3146, allocations: 3.009 MB / 0.677 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006723/0.3154, allocations: 0.7678 MB / 0.6778 GB, free: 7.082 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005255/0.3159, allocations: 78.92 kB / 0.6779 GB, free: 7.004 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000279/0.3162, allocations: 91.33 kB / 0.678 GB, free: 6.914 MB / 0.5137 GB Notification: Performance of SimCode: time 1.824e-06/0.3162, allocations: 4 kB / 0.678 GB, free: 6.91 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05274/0.369, allocations: 9.452 MB / 0.6872 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.79/14.16, allocations: 3.812 kB / 0.6872 GB, free: 13.67 MB / 0.5294 GB (rm -f IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.fmu > IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)