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.001179/0.001179, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001274/0.001274, allocations: 192.6 kB / 16.14 MB, free: 6.707 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.317/1.317, allocations: 222.9 MB / 239.8 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7328/0.7328, allocations: 132.2 MB / 422.1 MB, free: 1.961 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 59.59 kB / 0.5012 GB, free: 4.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3538/0.355, allocations: 80.2 MB / 0.5795 GB, free: 4.551 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.002817/0.3578, allocations: 2.084 MB / 0.5815 GB, free: 3.102 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002677/0.3605, allocations: 2.056 MB / 0.5835 GB, free: 1.727 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001361/0.3607, allocations: 7.438 kB / 0.5836 GB, free: 1.723 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007067/0.3614, allocations: 247.4 kB / 0.5838 GB, free: 1.633 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006117/0.362, allocations: 264 kB / 0.584 GB, free: 1.508 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008249/0.3628, allocations: 420.9 kB / 0.5844 GB, free: 1.305 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006574/0.3635, allocations: 0.5803 MB / 0.585 GB, free: 1.102 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.3636, allocations: 41.78 kB / 0.585 GB, free: 1.078 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001921/0.3638, allocations: 143.7 kB / 0.5852 GB, free: 1.031 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002638/0.3641, allocations: 176 kB / 0.5854 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.909e-05/0.3641, allocations: 7.875 kB / 0.5854 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007445/0.3649, allocations: 436.7 kB / 0.5858 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.365, allocations: 95.11 kB / 0.5859 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001049/0.3651, allocations: 111 kB / 0.586 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007145/0.3658, allocations: 0.5689 MB / 0.5865 GB, free: 0.543 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.3658, allocations: 1.469 kB / 0.5865 GB, free: 0.543 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.3658, allocations: 0 / 0.5865 GB, free: 0.543 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.3659, allocations: 0 / 0.5865 GB, free: 0.543 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.0007735/0.3666, allocations: 0.5911 MB / 0.5871 GB, free: 32 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.3667, allocations: 13.06 kB / 0.5871 GB, free: 28 kB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.612e-05/0.3667, allocations: 39.3 kB / 0.5872 GB, free: 15.98 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003057/0.3671, allocations: 49.05 kB / 0.5872 GB, free: 15.97 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004491/0.3675, allocations: 334.6 kB / 0.5875 GB, free: 15.7 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.3675, allocations: 11.72 kB / 0.5875 GB, free: 15.69 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.422e-05/0.3676, allocations: 7.188 kB / 0.5875 GB, free: 15.69 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003738/0.3679, allocations: 155.5 kB / 0.5877 GB, free: 15.62 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.368, allocations: 0 / 0.5877 GB, free: 15.62 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.368, allocations: 0.7812 kB / 0.5877 GB, free: 15.62 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.368, allocations: 2.688 kB / 0.5877 GB, free: 15.62 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003848/0.3684, allocations: 126.4 kB / 0.5878 GB, free: 15.6 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007481/0.3691, allocations: 0.4961 MB / 0.5883 GB, free: 15.22 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003508/0.3695, allocations: 129.2 kB / 0.5884 GB, free: 15.16 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001923/0.3697, allocations: 71.09 kB / 0.5885 GB, free: 15.13 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.3697, allocations: 2.672 kB / 0.5885 GB, free: 15.13 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.3698, allocations: 36.09 kB / 0.5885 GB, free: 15.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.212e-06/0.3698, allocations: 4.656 kB / 0.5885 GB, free: 15.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007058/0.3705, allocations: 236.4 kB / 0.5888 GB, free: 14.99 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/0.3705, allocations: 53.27 kB / 0.5888 GB, free: 14.93 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003815/0.3709, allocations: 337.8 kB / 0.5891 GB, free: 14.75 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.365e-05/0.371, allocations: 30.92 kB / 0.5892 GB, free: 14.72 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.3711, allocations: 149.1 kB / 0.5893 GB, free: 14.59 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.568e-05/0.3711, allocations: 33.55 kB / 0.5893 GB, free: 14.56 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.177e-05/0.3712, allocations: 49.2 kB / 0.5894 GB, free: 14.54 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.3714, allocations: 342.6 kB / 0.5897 GB, free: 14.21 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002689/0.3716, allocations: 118 kB / 0.5898 GB, free: 14.17 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002977/0.3719, allocations: 171.5 kB / 0.59 GB, free: 14.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005394/0.3725, allocations: 271 kB / 0.5902 GB, free: 13.93 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.3725, allocations: 1.375 kB / 0.5902 GB, free: 13.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.00069/0.3732, allocations: 329.2 kB / 0.5906 GB, free: 13.81 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.3732, allocations: 6.688 kB / 0.5906 GB, free: 13.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.3732, allocations: 2.062 kB / 0.5906 GB, free: 13.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.378e-05/0.3733, allocations: 7.062 kB / 0.5906 GB, free: 13.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002422/0.3735, allocations: 46.92 kB / 0.5906 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.3735, allocations: 2.828 kB / 0.5906 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001822/0.3737, allocations: 37.58 kB / 0.5907 GB, free: 13.78 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.462e-05/0.3738, allocations: 12.34 kB / 0.5907 GB, free: 13.78 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003211/0.3741, allocations: 205.6 kB / 0.5909 GB, free: 13.66 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002666/0.3744, allocations: 146.8 kB / 0.591 GB, free: 13.57 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000469/0.3748, allocations: 237.8 kB / 0.5912 GB, free: 13.45 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.693e-06/0.3749, allocations: 0 / 0.5912 GB, free: 13.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0006143/0.3755, allocations: 291.6 kB / 0.5915 GB, free: 13.33 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.397e-06/0.3755, allocations: 5.75 kB / 0.5915 GB, free: 13.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.3755, allocations: 2.594 kB / 0.5915 GB, free: 13.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.951e-06/0.3755, allocations: 3.812 kB / 0.5915 GB, free: 13.33 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002073/0.3757, allocations: 51.55 kB / 0.5916 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.3757, allocations: 2.562 kB / 0.5916 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001611/0.3759, allocations: 24.05 kB / 0.5916 GB, free: 13.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.435e-05/0.3759, allocations: 16.28 kB / 0.5916 GB, free: 13.3 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 0.0001007/0.376, allocations: 183.3 kB / 0.5918 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.975e-05/0.3761, allocations: 23.81 kB / 0.5918 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005164/0.3766, allocations: 214.9 kB / 0.592 GB, free: 13.01 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.3766, allocations: 1.406 kB / 0.592 GB, free: 13.01 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.3767, allocations: 0 / 0.592 GB, free: 13.01 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3767, allocations: 0.8906 kB / 0.592 GB, free: 13.01 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003425/0.377, allocations: 277.1 kB / 0.5923 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.377, allocations: 0.6562 kB / 0.5923 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000151/0.3772, allocations: 27.72 kB / 0.5923 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.3772, allocations: 3.938 kB / 0.5923 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.3772, allocations: 8.5 kB / 0.5923 GB, free: 12.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.3772, allocations: 4.703 kB / 0.5923 GB, free: 12.76 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3772, allocations: 0 / 0.5923 GB, free: 12.76 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004577/0.3777, allocations: 274.9 kB / 0.5926 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.559e-05/0.3778, allocations: 110.7 kB / 0.5927 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.659e-05/0.3778, allocations: 10.8 kB / 0.5927 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001546/0.378, allocations: 7.234 kB / 0.5927 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.597e-05/0.378, allocations: 12.19 kB / 0.5927 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.3781, allocations: 3.469 kB / 0.5927 GB, free: 12.45 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002397/0.3783, allocations: 238.1 kB / 0.5929 GB, free: 12.33 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3783, allocations: 0 / 0.5929 GB, free: 12.33 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000669/0.379, allocations: 148.5 kB / 0.5931 GB, free: 12.3 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.001082/0.3801, allocations: 0.9063 MB / 0.594 GB, free: 11.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007985/0.3809, allocations: 335.1 kB / 0.5943 GB, free: 11.47 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3809, allocations: 0 / 0.5943 GB, free: 11.47 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001987/0.3811, allocations: 68.45 kB / 0.5944 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.0005332/0.3816, allocations: 98.06 kB / 0.5945 GB, free: 11.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004054/0.3857, allocations: 3.064 MB / 0.5974 GB, free: 9.309 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003193/0.386, allocations: 0.7739 MB / 0.5982 GB, free: 8.559 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002986/0.3864, allocations: 77.02 kB / 0.5983 GB, free: 8.523 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001509/0.3865, allocations: 82 kB / 0.5984 GB, free: 8.461 MB / 446.1 MB Notification: Performance of SimCode: time 3.6e-07/0.3865, allocations: 4 kB / 0.5984 GB, free: 8.457 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.413/2.8, allocations: 8.884 MB / 0.607 GB, free: 4.215 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002657/2.8, allocations: 202 kB / 0.6072 GB, free: 3.965 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.251/5.051, allocations: 0 / 0.6072 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)