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.001138/0.001138, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001573/0.001574, allocations: 168.7 kB / 15.95 MB, free: 204 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.542/1.542, allocations: 205.4 MB / 222.1 MB, free: 5.875 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.759/1.759, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0005733/0.0005736, allocations: 18.34 kB / 0.6738 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2634, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.002707/0.2661, allocations: 1.738 MB / 0.7891 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003582/0.2698, allocations: 1.869 MB / 0.7909 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002847/0.2701, allocations: 7.938 kB / 0.7909 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006597/0.2708, allocations: 155.2 kB / 0.7911 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00107/0.2718, allocations: 246 kB / 0.7913 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001272/0.2731, allocations: 375.3 kB / 0.7917 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001115/0.2743, allocations: 0.4908 MB / 0.7922 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001827/0.2745, allocations: 28.67 kB / 0.7922 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004129/0.2749, allocations: 163.4 kB / 0.7923 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004543/0.2754, allocations: 163.5 kB / 0.7925 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.245e-05/0.2754, allocations: 4 kB / 0.7925 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000724/0.2762, allocations: 315.5 kB / 0.7928 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001586/0.2763, allocations: 91.69 kB / 0.7929 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.512e-05/0.2764, allocations: 61.58 kB / 0.7929 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007307/0.2772, allocations: 415 kB / 0.7933 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2772, allocations: 0 / 0.7933 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.104e-06/0.2772, allocations: 0 / 0.7933 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.129e-05/0.2772, allocations: 4 kB / 0.7933 GB, free: 5.723 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.001096/0.2783, allocations: 0.5565 MB / 0.7939 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.382e-05/0.2784, allocations: 8.031 kB / 0.7939 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.666e-05/0.2785, allocations: 38.56 kB / 0.7939 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003926/0.2789, allocations: 55.58 kB / 0.794 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005592/0.2794, allocations: 319 kB / 0.7943 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.2795, allocations: 11.94 kB / 0.7943 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.605e-05/0.2795, allocations: 15.98 kB / 0.7943 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000395/0.2799, allocations: 157.6 kB / 0.7945 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.2799, allocations: 0 / 0.7945 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.864e-05/0.2799, allocations: 0 / 0.7945 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.156e-06/0.28, allocations: 4 kB / 0.7945 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003749/0.2803, allocations: 143.8 kB / 0.7946 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008672/0.2812, allocations: 496.4 kB / 0.7951 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003777/0.2816, allocations: 138.5 kB / 0.7952 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001817/0.2818, allocations: 72.77 kB / 0.7953 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.051e-05/0.2818, allocations: 4 kB / 0.7953 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/0.2819, allocations: 30.75 kB / 0.7953 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 2.535e-06/0.2819, allocations: 3.938 kB / 0.7953 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0006996/0.2826, allocations: 253.3 kB / 0.7956 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/0.2826, allocations: 55.34 kB / 0.7956 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003871/0.283, allocations: 332.4 kB / 0.7959 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.802e-05/0.2831, allocations: 29.7 kB / 0.796 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.2832, allocations: 156 kB / 0.7961 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.627e-05/0.2832, allocations: 27.56 kB / 0.7961 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.451e-05/0.2833, allocations: 4 kB / 0.7961 GB, free: 2.645 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.2834, allocations: 338.8 kB / 0.7965 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002607/0.2837, allocations: 79.94 kB / 0.7965 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002312/0.2839, allocations: 145.5 kB / 0.7967 GB, free: 2.062 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000213/0.2841, allocations: 91.89 kB / 0.7968 GB, free: 1.973 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.2842, allocations: 4 kB / 0.7968 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005493/0.2847, allocations: 273.3 kB / 0.797 GB, free: 1.695 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.000107/0.2848, allocations: 140.1 kB / 0.7972 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.2848, allocations: 4 kB / 0.7972 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.2849, allocations: 7.938 kB / 0.7972 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002346/0.2851, allocations: 47.97 kB / 0.7972 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.2851, allocations: 0 / 0.7972 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001824/0.2853, allocations: 31.77 kB / 0.7972 GB, free: 1.441 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.862e-05/0.2854, allocations: 19.98 kB / 0.7973 GB, free: 1.422 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.2854, allocations: 10.77 kB / 0.7973 GB, free: 1.414 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005456/0.2859, allocations: 247.9 kB / 0.7975 GB, free: 1.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.2859, allocations: 0 / 0.7975 GB, free: 1.172 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.458e-06/0.286, allocations: 4 kB / 0.7975 GB, free: 1.168 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001869/0.2861, allocations: 48.28 kB / 0.7976 GB, free: 1.121 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.2862, allocations: 0 / 0.7976 GB, free: 1.121 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001787/0.2863, allocations: 35.8 kB / 0.7976 GB, free: 1.086 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.639e-05/0.2864, allocations: 15.98 kB / 0.7976 GB, free: 1.07 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.0002046/0.2866, allocations: 229 kB / 0.7978 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.228e-05/0.2867, allocations: 31.58 kB / 0.7979 GB, free: 0.8047 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005548/0.2872, allocations: 216.2 kB / 0.7981 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.2872, allocations: 0 / 0.7981 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.2873, allocations: 0 / 0.7981 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.2873, allocations: 4 kB / 0.7981 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004222/0.2877, allocations: 273.4 kB / 0.7983 GB, free: 272 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.2877, allocations: 4 kB / 0.7983 GB, free: 268 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001508/0.2879, allocations: 31.97 kB / 0.7984 GB, free: 236 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/0.2879, allocations: 3.953 kB / 0.7984 GB, free: 232 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.2879, allocations: 0 / 0.7984 GB, free: 232 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.2879, allocations: 0 / 0.7984 GB, free: 232 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.2879, allocations: 0 / 0.7984 GB, free: 232 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000499/0.2884, allocations: 295.1 kB / 0.7986 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.2885, allocations: 112.7 kB / 0.7988 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.006e-05/0.2886, allocations: 7.938 kB / 0.7988 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.2887, allocations: 16 kB / 0.7988 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.583e-05/0.2888, allocations: 7.984 kB / 0.7988 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.2888, allocations: 7.938 kB / 0.7988 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002796/0.2891, allocations: 239 kB / 0.799 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2891, allocations: 4 kB / 0.799 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000626/0.2897, allocations: 140 kB / 0.7992 GB, free: 15.38 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.001197/0.2909, allocations: 0.9307 MB / 0.8001 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007418/0.2917, allocations: 308.8 kB / 0.8004 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.2917, allocations: 0 / 0.8004 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001842/0.2919, allocations: 79.95 kB / 0.8004 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005495/0.2925, allocations: 104.6 kB / 0.8005 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002891/0.2954, allocations: 1.709 MB / 0.8022 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003355/0.2957, allocations: 0.7716 MB / 0.803 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003086/0.296, allocations: 74.94 kB / 0.803 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001541/0.2962, allocations: 87.39 kB / 0.8031 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of SimCode: time 3.51e-07/0.2962, allocations: 4 kB / 0.8031 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02118/0.3174, allocations: 8.952 MB / 0.8119 GB, free: 2.477 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001876/0.3176, allocations: 210.7 kB / 0.8121 GB, free: 2.23 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.047/2.364, allocations: 0 / 0.8121 GB, free: 2.23 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: