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.001122/0.001122, allocations: 108 kB / 15.61 MB, free: 152 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.001124/0.001124, allocations: 196.7 kB / 16.53 MB, free: 6.664 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.323/1.323, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7518/0.7518, allocations: 132.2 MB / 422.6 MB, free: 1.789 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001227, allocations: 63.94 kB / 0.5019 GB, free: 3.793 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3601/0.3613, allocations: 80.21 MB / 0.5802 GB, free: 4.586 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.002876/0.3642, allocations: 2.032 MB / 0.5822 GB, free: 3.168 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002807/0.3671, allocations: 2.018 MB / 0.5842 GB, free: 1.805 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001492/0.3672, allocations: 8.344 kB / 0.5842 GB, free: 1.801 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006768/0.3679, allocations: 256.5 kB / 0.5844 GB, free: 1.703 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006398/0.3686, allocations: 297.3 kB / 0.5847 GB, free: 1.57 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008173/0.3694, allocations: 493.2 kB / 0.5852 GB, free: 1.352 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005505/0.37, allocations: 456.9 kB / 0.5856 GB, free: 1.164 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.3701, allocations: 37.45 kB / 0.5856 GB, free: 1.145 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001989/0.3703, allocations: 157.8 kB / 0.5858 GB, free: 1.086 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002528/0.3705, allocations: 169.8 kB / 0.5859 GB, free: 1.016 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.361e-05/0.3706, allocations: 14.38 kB / 0.586 GB, free: 1.016 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006047/0.3712, allocations: 447.8 kB / 0.5864 GB, free: 0.875 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.947e-05/0.3713, allocations: 96.09 kB / 0.5865 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.3714, allocations: 115.1 kB / 0.5866 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006841/0.3721, allocations: 0.5869 MB / 0.5872 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.3721, allocations: 0 / 0.5872 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3721, allocations: 0 / 0.5872 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.043e-05/0.3721, allocations: 1.406 kB / 0.5872 GB, free: 0.5547 MB / 430.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.0007358/0.3729, allocations: 0.5938 MB / 0.5877 GB, free: 40 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.3729, allocations: 9.844 kB / 0.5877 GB, free: 40 kB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.778e-05/0.373, allocations: 47.05 kB / 0.5878 GB, free: 15.99 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002966/0.3733, allocations: 49.97 kB / 0.5878 GB, free: 15.97 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004258/0.3737, allocations: 325.2 kB / 0.5881 GB, free: 15.71 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.3737, allocations: 12.31 kB / 0.5882 GB, free: 15.7 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.861e-05/0.3738, allocations: 11.81 kB / 0.5882 GB, free: 15.7 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003535/0.3741, allocations: 154.9 kB / 0.5883 GB, free: 15.63 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.3741, allocations: 0 / 0.5883 GB, free: 15.63 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.3742, allocations: 5.312 kB / 0.5883 GB, free: 15.63 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.3742, allocations: 1.375 kB / 0.5883 GB, free: 15.63 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003847/0.3746, allocations: 127.6 kB / 0.5884 GB, free: 15.6 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007029/0.3753, allocations: 0.4921 MB / 0.5889 GB, free: 15.23 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003522/0.3756, allocations: 132.7 kB / 0.5891 GB, free: 15.17 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001919/0.3758, allocations: 60.38 kB / 0.5891 GB, free: 15.15 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.3759, allocations: 5.312 kB / 0.5891 GB, free: 15.14 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/0.3759, allocations: 36 kB / 0.5892 GB, free: 15.1 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 2.275e-06/0.3759, allocations: 1.062 kB / 0.5892 GB, free: 15.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007059/0.3766, allocations: 240 kB / 0.5894 GB, free: 15 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.79e-05/0.3767, allocations: 53.97 kB / 0.5894 GB, free: 14.94 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003539/0.377, allocations: 334 kB / 0.5898 GB, free: 14.77 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.377, allocations: 30.45 kB / 0.5898 GB, free: 14.73 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.3772, allocations: 152.8 kB / 0.5899 GB, free: 14.6 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.374e-05/0.3772, allocations: 30.39 kB / 0.59 GB, free: 14.58 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.722e-05/0.3773, allocations: 52.5 kB / 0.59 GB, free: 14.55 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.3774, allocations: 335.5 kB / 0.5903 GB, free: 14.23 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002709/0.3777, allocations: 125.5 kB / 0.5904 GB, free: 14.18 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002944/0.378, allocations: 161.7 kB / 0.5906 GB, free: 14.09 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005502/0.3785, allocations: 279.7 kB / 0.5909 GB, free: 13.95 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3785, allocations: 0 / 0.5909 GB, free: 13.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006638/0.3792, allocations: 329.8 kB / 0.5912 GB, free: 13.82 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.3792, allocations: 6.359 kB / 0.5912 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.3793, allocations: 2.031 kB / 0.5912 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.3793, allocations: 6.688 kB / 0.5912 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000237/0.3795, allocations: 52.22 kB / 0.5912 GB, free: 13.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.3795, allocations: 2.688 kB / 0.5912 GB, free: 13.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001721/0.3797, allocations: 27.8 kB / 0.5913 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.023e-05/0.3797, allocations: 14.08 kB / 0.5913 GB, free: 13.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003113/0.3801, allocations: 214.1 kB / 0.5915 GB, free: 13.67 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002601/0.3803, allocations: 143.5 kB / 0.5916 GB, free: 13.58 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004677/0.3808, allocations: 241.5 kB / 0.5919 GB, free: 13.45 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.503e-06/0.3808, allocations: 0.6875 kB / 0.5919 GB, free: 13.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0006043/0.3814, allocations: 291 kB / 0.5921 GB, free: 13.34 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.074e-06/0.3815, allocations: 6.031 kB / 0.5921 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.3815, allocations: 2.875 kB / 0.5921 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.857e-06/0.3815, allocations: 2.812 kB / 0.5921 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001944/0.3817, allocations: 47.61 kB / 0.5922 GB, free: 13.33 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.157e-06/0.3817, allocations: 4.312 kB / 0.5922 GB, free: 13.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001579/0.3818, allocations: 22.17 kB / 0.5922 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.199e-05/0.3819, allocations: 12.8 kB / 0.5922 GB, free: 13.32 MB / 446.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 9.636e-05/0.382, allocations: 190.8 kB / 0.5924 GB, free: 13.13 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.836e-05/0.382, allocations: 23.36 kB / 0.5924 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005164/0.3825, allocations: 210.1 kB / 0.5926 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.3826, allocations: 5.922 kB / 0.5926 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3826, allocations: 1.312 kB / 0.5926 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.3826, allocations: 0.5156 kB / 0.5926 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002928/0.3829, allocations: 273.5 kB / 0.5929 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3829, allocations: 0 / 0.5929 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001457/0.383, allocations: 28.44 kB / 0.5929 GB, free: 12.78 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.383, allocations: 1.734 kB / 0.5929 GB, free: 12.78 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.3831, allocations: 5.531 kB / 0.5929 GB, free: 12.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.3831, allocations: 2 kB / 0.5929 GB, free: 12.78 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3831, allocations: 4.094 kB / 0.5929 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004528/0.3835, allocations: 279 kB / 0.5932 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.064e-05/0.3836, allocations: 115.2 kB / 0.5933 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.65e-05/0.3837, allocations: 4.594 kB / 0.5933 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001558/0.3838, allocations: 12.55 kB / 0.5933 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.11e-05/0.3839, allocations: 11.33 kB / 0.5933 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.3839, allocations: 3.438 kB / 0.5934 GB, free: 12.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002103/0.3841, allocations: 237.8 kB / 0.5936 GB, free: 12.34 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3841, allocations: 0 / 0.5936 GB, free: 12.34 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005934/0.3847, allocations: 153 kB / 0.5937 GB, free: 12.31 MB / 446.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.001099/0.3858, allocations: 0.9054 MB / 0.5946 GB, free: 11.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008001/0.3866, allocations: 329.5 kB / 0.5949 GB, free: 11.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3867, allocations: 5.688 kB / 0.5949 GB, free: 11.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001963/0.3869, allocations: 66.78 kB / 0.595 GB, free: 11.46 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005058/0.3874, allocations: 105.9 kB / 0.5951 GB, free: 11.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003841/0.3912, allocations: 3.016 MB / 0.598 GB, free: 9.305 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/0.3916, allocations: 0.7778 MB / 0.5988 GB, free: 8.555 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002845/0.3919, allocations: 79.48 kB / 0.5989 GB, free: 8.516 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000148/0.392, allocations: 86.38 kB / 0.599 GB, free: 8.449 MB / 446.1 MB Notification: Performance of SimCode: time 3.3e-07/0.392, allocations: 0 / 0.599 GB, free: 8.449 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02762/0.4196, allocations: 9.238 MB / 0.608 GB, free: 3.965 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.48/10.9, allocations: 5.656 kB / 0.608 GB, free: 3.965 MB / 446.1 MB (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)