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.001619/0.001619, allocations: 108 kB / 15.6 MB, free: 132 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.001896/0.001896, allocations: 195.3 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.363/1.363, allocations: 205.1 MB / 222.4 MB, free: 4.574 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.667/1.667, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001627/0.001628, allocations: 66.78 kB / 0.6716 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2098, allocations: 114.5 MB / 0.7835 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.003148/0.213, allocations: 2.076 MB / 0.7855 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002789/0.2158, allocations: 2.022 MB / 0.7875 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001201/0.2159, allocations: 7.938 kB / 0.7875 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006338/0.2166, allocations: 255.2 kB / 0.7877 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006174/0.2172, allocations: 291 kB / 0.788 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007776/0.218, allocations: 490.8 kB / 0.7885 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004774/0.2185, allocations: 458.8 kB / 0.7889 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.58e-05/0.2186, allocations: 40.38 kB / 0.7889 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000182/0.2188, allocations: 163.6 kB / 0.7891 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002303/0.219, allocations: 167.3 kB / 0.7893 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.063e-05/0.2191, allocations: 12 kB / 0.7893 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005597/0.2196, allocations: 443.2 kB / 0.7897 GB, free: 7 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.947e-05/0.2197, allocations: 103.7 kB / 0.7898 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.923e-05/0.2198, allocations: 115.3 kB / 0.7899 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000602/0.2204, allocations: 0.5765 MB / 0.7905 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2205, allocations: 0 / 0.7905 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2205, allocations: 0 / 0.7905 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.672e-06/0.2205, allocations: 4 kB / 0.7905 GB, free: 6.203 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.001006/0.2215, allocations: 0.5955 MB / 0.7911 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.2215, allocations: 12.03 kB / 0.7911 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.527e-05/0.2216, allocations: 34.75 kB / 0.7911 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002832/0.2219, allocations: 48.62 kB / 0.7911 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000397/0.2223, allocations: 340.2 kB / 0.7915 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.2223, allocations: 8.375 kB / 0.7915 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.564e-05/0.2223, allocations: 12.38 kB / 0.7915 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003251/0.2226, allocations: 149.5 kB / 0.7916 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.2227, allocations: 0 / 0.7916 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.971e-05/0.2227, allocations: 8 kB / 0.7916 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.187e-06/0.2227, allocations: 4 kB / 0.7916 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000363/0.2231, allocations: 131.8 kB / 0.7918 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006652/0.2237, allocations: 488.4 kB / 0.7922 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003304/0.2241, allocations: 138.4 kB / 0.7924 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001794/0.2243, allocations: 68.75 kB / 0.7924 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.2243, allocations: 4 kB / 0.7924 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.777e-05/0.2243, allocations: 30.56 kB / 0.7925 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.2243, allocations: 4 kB / 0.7925 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0006602/0.225, allocations: 229.4 kB / 0.7927 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/0.225, allocations: 59.34 kB / 0.7927 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002958/0.2253, allocations: 336.4 kB / 0.7931 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.2254, allocations: 37.69 kB / 0.7931 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.281e-05/0.2255, allocations: 148.1 kB / 0.7932 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.182e-05/0.2255, allocations: 31.55 kB / 0.7933 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.516e-05/0.2256, allocations: 53.62 kB / 0.7933 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.845e-05/0.2257, allocations: 338.8 kB / 0.7936 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002475/0.2259, allocations: 112.8 kB / 0.7938 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002703/0.2262, allocations: 173.2 kB / 0.7939 GB, free: 2.414 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004989/0.2267, allocations: 271.6 kB / 0.7942 GB, free: 2.125 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.2267, allocations: 4 kB / 0.7942 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006324/0.2274, allocations: 332 kB / 0.7945 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.2274, allocations: 6.656 kB / 0.7945 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.2274, allocations: 4.219 kB / 0.7945 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.2274, allocations: 8 kB / 0.7945 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002328/0.2277, allocations: 51.89 kB / 0.7946 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.517e-06/0.2277, allocations: 7.938 kB / 0.7946 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001628/0.2279, allocations: 19.83 kB / 0.7946 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.98e-05/0.2279, allocations: 16 kB / 0.7946 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000291/0.2282, allocations: 208 kB / 0.7948 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002361/0.2284, allocations: 146.8 kB / 0.7949 GB, free: 1.309 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004372/0.2289, allocations: 238.6 kB / 0.7952 GB, free: 1.051 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.493e-06/0.2289, allocations: 4 kB / 0.7952 GB, free: 1.047 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0005548/0.2295, allocations: 289 kB / 0.7955 GB, free: 0.7578 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.197e-06/0.2295, allocations: 7.984 kB / 0.7955 GB, free: 0.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.2295, allocations: 4 kB / 0.7955 GB, free: 0.7461 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-06/0.2295, allocations: 4.219 kB / 0.7955 GB, free: 0.7422 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00019/0.2297, allocations: 44.28 kB / 0.7955 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/0.2297, allocations: 4 kB / 0.7955 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001562/0.2299, allocations: 31.75 kB / 0.7955 GB, free: 0.6641 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.2299, allocations: 8 kB / 0.7956 GB, free: 0.6562 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001135/0.23, allocations: 192.8 kB / 0.7957 GB, free: 472 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.109e-05/0.2301, allocations: 27.72 kB / 0.7958 GB, free: 444 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005823/0.2307, allocations: 200.2 kB / 0.796 GB, free: 236 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.2307, allocations: 7.984 kB / 0.796 GB, free: 228 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.2307, allocations: 3.938 kB / 0.796 GB, free: 224 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.2307, allocations: 0 / 0.796 GB, free: 224 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002802/0.231, allocations: 277.4 kB / 0.7962 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.231, allocations: 4 kB / 0.7962 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001533/0.2312, allocations: 27.97 kB / 0.7963 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.2312, allocations: 0 / 0.7963 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.2312, allocations: 4 kB / 0.7963 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.2312, allocations: 0 / 0.7963 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.2312, allocations: 3.938 kB / 0.7963 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004359/0.2316, allocations: 279.1 kB / 0.7965 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.2318, allocations: 108.7 kB / 0.7966 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.644e-05/0.2318, allocations: 7.984 kB / 0.7966 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/0.232, allocations: 8 kB / 0.7967 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.673e-05/0.232, allocations: 11.92 kB / 0.7967 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.232, allocations: 4 kB / 0.7967 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002207/0.2323, allocations: 247 kB / 0.7969 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2323, allocations: 3.938 kB / 0.7969 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005462/0.2328, allocations: 140 kB / 0.797 GB, free: 15.03 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 (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.001102/0.2339, allocations: 0.9112 MB / 0.7979 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007888/0.2347, allocations: 335.6 kB / 0.7983 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.2347, allocations: 0 / 0.7983 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001907/0.2349, allocations: 72.77 kB / 0.7983 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005424/0.2355, allocations: 105.5 kB / 0.7984 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003806/0.2393, allocations: 3.015 MB / 0.8014 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/0.2397, allocations: 0.7717 MB / 0.8021 GB, free: 9.66 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000295/0.24, allocations: 78.86 kB / 0.8022 GB, free: 9.582 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001452/0.2401, allocations: 91.34 kB / 0.8023 GB, free: 9.492 MB / 0.6231 GB Notification: Performance of SimCode: time 3.91e-07/0.2401, allocations: 0 / 0.8023 GB, free: 9.492 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0275/0.2676, allocations: 9.256 MB / 0.8113 GB, free: 432 kB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.676/7.944, allocations: 11.28 kB / 0.8113 GB, free: 424 kB / 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/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)