Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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: "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="Buildings_8_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="Buildings_8_Buildings_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.001061/0.001061, allocations: 98.77 kB / 15.05 MB, free: 1.105 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.001216/0.001216, allocations: 177.3 kB / 15.94 MB, free: 228 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.456/1.456, allocations: 205.4 MB / 222.1 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.635/1.635, allocations: 292.6 MB / 0.5497 GB, free: 14.6 MB / 462.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: Performance of FrontEnd - loaded program: time 0.0005025/0.0005025, allocations: 15.31 kB / 0.6737 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.2733, allocations: 116.3 MB / 0.7872 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.002305/0.2757, allocations: 1.722 MB / 0.7889 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00292/0.2786, allocations: 1.85 MB / 0.7907 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001128/0.2788, allocations: 4 kB / 0.7907 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004234/0.2792, allocations: 159.4 kB / 0.7909 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005921/0.2798, allocations: 230.6 kB / 0.7911 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007145/0.2805, allocations: 371.2 kB / 0.7914 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004676/0.281, allocations: 283.5 kB / 0.7917 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.2811, allocations: 32.66 kB / 0.7917 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001946/0.2813, allocations: 127.6 kB / 0.7919 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000188/0.2815, allocations: 119.6 kB / 0.792 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.445e-05/0.2816, allocations: 12 kB / 0.792 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004864/0.2821, allocations: 303.5 kB / 0.7923 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.2822, allocations: 79.78 kB / 0.7924 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.079e-05/0.2822, allocations: 69.58 kB / 0.7924 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004947/0.2827, allocations: 403 kB / 0.7928 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.2827, allocations: 0 / 0.7928 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.372e-06/0.2828, allocations: 3.938 kB / 0.7928 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.2828, allocations: 0 / 0.7928 GB, free: 6.117 MB / 0.6075 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.0008082/0.2836, allocations: 0.5644 MB / 0.7934 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.2836, allocations: 8.031 kB / 0.7934 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.746e-05/0.2837, allocations: 38.56 kB / 0.7934 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002753/0.284, allocations: 51.52 kB / 0.7935 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004533/0.2844, allocations: 327 kB / 0.7938 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.828e-06/0.2844, allocations: 8 kB / 0.7938 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.859e-05/0.2845, allocations: 12 kB / 0.7938 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003767/0.2849, allocations: 160.7 kB / 0.7939 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.2849, allocations: 0 / 0.7939 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.2849, allocations: 4 kB / 0.7939 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.2849, allocations: 7.938 kB / 0.794 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003639/0.2853, allocations: 131.9 kB / 0.7941 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007759/0.2861, allocations: 0.4965 MB / 0.7946 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003606/0.2864, allocations: 142.4 kB / 0.7947 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.511e-05/0.2865, allocations: 7.938 kB / 0.7947 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.2865, allocations: 38.56 kB / 0.7947 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.633e-06/0.2865, allocations: 4 kB / 0.7947 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0007081/0.2872, allocations: 245.4 kB / 0.795 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.828e-05/0.2873, allocations: 55.41 kB / 0.795 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003673/0.2877, allocations: 332.4 kB / 0.7954 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.443e-05/0.2877, allocations: 29.7 kB / 0.7954 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/0.2879, allocations: 148 kB / 0.7955 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.645e-05/0.2879, allocations: 27.56 kB / 0.7955 GB, free: 3.105 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.409e-05/0.2879, allocations: 8 kB / 0.7956 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.2881, allocations: 338.8 kB / 0.7959 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002146/0.2883, allocations: 79.94 kB / 0.796 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002518/0.2886, allocations: 141.5 kB / 0.7961 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002346/0.2888, allocations: 95.91 kB / 0.7962 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/0.2888, allocations: 0 / 0.7962 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005758/0.2894, allocations: 284.4 kB / 0.7965 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003483/0.2898, allocations: 0.6958 MB / 0.7971 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.2898, allocations: 0 / 0.7971 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.2898, allocations: 4 kB / 0.7971 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002613/0.2901, allocations: 51.89 kB / 0.7972 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.2901, allocations: 11.89 kB / 0.7972 GB, free: 1.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000183/0.2903, allocations: 35.77 kB / 0.7972 GB, free: 1.293 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.292e-05/0.2903, allocations: 12 kB / 0.7972 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.017e-06/0.2903, allocations: 4 kB / 0.7972 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005426/0.2909, allocations: 255.9 kB / 0.7975 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.856e-06/0.2909, allocations: 0 / 0.7975 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.029e-06/0.2909, allocations: 4 kB / 0.7975 GB, free: 1.023 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000187/0.2911, allocations: 43.91 kB / 0.7975 GB, free: 0.9805 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.2911, allocations: 4 kB / 0.7975 GB, free: 0.9766 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001587/0.2913, allocations: 35.75 kB / 0.7976 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.191e-05/0.2913, allocations: 12 kB / 0.7976 GB, free: 0.9297 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001869/0.2915, allocations: 229 kB / 0.7978 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.605e-05/0.2916, allocations: 27.62 kB / 0.7978 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005211/0.2921, allocations: 216.2 kB / 0.798 GB, free: 460 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.2921, allocations: 0 / 0.798 GB, free: 460 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.2921, allocations: 0 / 0.798 GB, free: 460 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.2921, allocations: 0 / 0.798 GB, free: 460 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003035/0.2924, allocations: 273.4 kB / 0.7983 GB, free: 136 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2924, allocations: 7.938 kB / 0.7983 GB, free: 128 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001413/0.2926, allocations: 31.97 kB / 0.7983 GB, free: 96 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.2926, allocations: 0 / 0.7983 GB, free: 96 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.2926, allocations: 4 kB / 0.7983 GB, free: 92 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.2926, allocations: 0 / 0.7983 GB, free: 92 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2926, allocations: 0 / 0.7983 GB, free: 92 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004947/0.2931, allocations: 287.2 kB / 0.7986 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/0.2932, allocations: 124.6 kB / 0.7987 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.87e-05/0.2933, allocations: 7.984 kB / 0.7987 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.2934, allocations: 12 kB / 0.7987 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.471e-05/0.2935, allocations: 11.98 kB / 0.7988 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.2935, allocations: 4 kB / 0.7988 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002246/0.2937, allocations: 235 kB / 0.799 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.2937, allocations: 0 / 0.799 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005899/0.2943, allocations: 144 kB / 0.7991 GB, free: 15.25 MB / 0.6231 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 (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 0.001128/0.2955, allocations: 0.9189 MB / 0.8 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007432/0.2962, allocations: 312 kB / 0.8003 GB, free: 14 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.2962, allocations: 0.875 kB / 0.8003 GB, free: 14 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001859/0.2964, allocations: 71.95 kB / 0.8004 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004516/0.2969, allocations: 101.8 kB / 0.8005 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001674/0.2986, allocations: 1.919 MB / 0.8024 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003604/0.2989, allocations: 0.7794 MB / 0.8031 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002821/0.2992, allocations: 78.88 kB / 0.8032 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001456/0.2994, allocations: 87.41 kB / 0.8033 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of SimCode: time 3.21e-07/0.2994, allocations: 0 / 0.8033 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02087/0.3203, allocations: 8.764 MB / 0.8118 GB, free: 2.328 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002856/0.3206, allocations: 209.1 kB / 0.812 GB, free: 2.078 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.906/2.226, allocations: 4 kB / 0.812 GB, free: 2.074 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.fmu > Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1) Environment - environmentSimulation: