Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="IBPSA_latest_IBPSA_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.001101/0.001101, allocations: 98.98 kB / 16.27 MB, free: 5.965 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.00113/0.00113, allocations: 190.3 kB / 17.2 MB, free: 5.594 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.339/1.339, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7601/0.7601, allocations: 122.9 MB / 413.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 63.91 kB / 0.4912 GB, free: 7.352 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3428, allocations: 77.92 MB / 0.5673 GB, free: 32.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.003664/0.3465, allocations: 2.285 MB / 0.5695 GB, free: 30.97 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005346/0.3519, allocations: 3.781 MB / 0.5732 GB, free: 28.44 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003683/0.3523, allocations: 4.938 kB / 0.5732 GB, free: 28.44 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006501/0.3588, allocations: 2.999 MB / 0.5761 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001057/0.3599, allocations: 403.4 kB / 0.5765 GB, free: 27.45 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001267/0.3612, allocations: 0.5143 MB / 0.577 GB, free: 27.21 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004409/0.3656, allocations: 3.091 MB / 0.5801 GB, free: 26.03 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.3657, allocations: 43.92 kB / 0.5801 GB, free: 26.02 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003293/0.3661, allocations: 199 kB / 0.5803 GB, free: 25.91 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003216/0.3664, allocations: 210.2 kB / 0.5805 GB, free: 25.79 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.017e-05/0.3665, allocations: 17.72 kB / 0.5805 GB, free: 25.79 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001703/0.3682, allocations: 0.7428 MB / 0.5812 GB, free: 25.37 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002989/0.3685, allocations: 210.2 kB / 0.5814 GB, free: 25.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000471/0.369, allocations: 255.8 kB / 0.5817 GB, free: 25.08 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001914/0.3709, allocations: 1.041 MB / 0.5827 GB, free: 24.4 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3709, allocations: 0.5938 kB / 0.5827 GB, free: 24.4 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3709, allocations: 3.938 kB / 0.5827 GB, free: 24.4 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.371, allocations: 3.094 kB / 0.5827 GB, free: 24.4 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.001397/0.3724, allocations: 0.9148 MB / 0.5836 GB, free: 23.62 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.3724, allocations: 10.81 kB / 0.5836 GB, free: 23.62 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.578e-05/0.3724, allocations: 45.3 kB / 0.5836 GB, free: 23.57 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001223/0.3737, allocations: 208.7 kB / 0.5838 GB, free: 23.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005634/0.3793, allocations: 3.566 MB / 0.5873 GB, free: 21.22 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.523e-05/0.3794, allocations: 18.66 kB / 0.5873 GB, free: 21.21 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.601e-05/0.3794, allocations: 12.81 kB / 0.5874 GB, free: 21.2 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005235/0.38, allocations: 256.5 kB / 0.5876 GB, free: 21.07 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.38, allocations: 0 / 0.5876 GB, free: 21.07 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.433e-05/0.38, allocations: 9.266 kB / 0.5876 GB, free: 21.06 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.38, allocations: 6.219 kB / 0.5876 GB, free: 21.05 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006648/0.3807, allocations: 245.9 kB / 0.5878 GB, free: 20.95 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0012/0.3819, allocations: 0.8332 MB / 0.5887 GB, free: 20.34 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007509/0.3827, allocations: 303.6 kB / 0.5889 GB, free: 20.2 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003541/0.383, allocations: 123.8 kB / 0.5891 GB, free: 20.15 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.371e-05/0.3831, allocations: 9.141 kB / 0.5891 GB, free: 20.14 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.955e-05/0.3831, allocations: 35.81 kB / 0.5891 GB, free: 20.1 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.703e-06/0.3831, allocations: 0 / 0.5891 GB, free: 20.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.001282/0.3844, allocations: 451.9 kB / 0.5895 GB, free: 19.89 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.5e-05/0.3845, allocations: 52.56 kB / 0.5896 GB, free: 19.82 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006419/0.3851, allocations: 0.7581 MB / 0.5903 GB, free: 19.06 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/0.3851, allocations: 25.7 kB / 0.5904 GB, free: 19.03 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/0.3853, allocations: 240.8 kB / 0.5906 GB, free: 18.79 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.849e-05/0.3853, allocations: 39.44 kB / 0.5906 GB, free: 18.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001862/0.3855, allocations: 162 kB / 0.5908 GB, free: 18.59 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.887e-05/0.3856, allocations: 370.8 kB / 0.5911 GB, free: 18.22 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005626/0.3862, allocations: 442.9 kB / 0.5916 GB, free: 17.79 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007744/0.387, allocations: 0.5277 MB / 0.5921 GB, free: 17.22 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001749/0.3887, allocations: 0.8742 MB / 0.5929 GB, free: 16.32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.3888, allocations: 3.938 kB / 0.5929 GB, free: 16.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002163/0.3909, allocations: 1.072 MB / 0.594 GB, free: 15.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.391, allocations: 10.19 kB / 0.594 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/0.391, allocations: 0 / 0.594 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.391, allocations: 4 kB / 0.594 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000645/0.3917, allocations: 111.9 kB / 0.5941 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/0.3917, allocations: 11.94 kB / 0.5941 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006123/0.3923, allocations: 75.34 kB / 0.5942 GB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.905e-05/0.3924, allocations: 31.98 kB / 0.5942 GB, free: 15 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009583/0.3934, allocations: 0.5443 MB / 0.5947 GB, free: 14.45 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008001/0.3942, allocations: 464.5 kB / 0.5952 GB, free: 13.96 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001397/0.3956, allocations: 0.7353 MB / 0.5959 GB, free: 13.21 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.386e-06/0.3956, allocations: 0 / 0.5959 GB, free: 13.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.001862/0.3975, allocations: 0.9265 MB / 0.5968 GB, free: 12.27 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.3975, allocations: 4 kB / 0.5968 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.3975, allocations: 4 kB / 0.5968 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.855e-06/0.3975, allocations: 7.984 kB / 0.5968 GB, free: 12.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006041/0.3982, allocations: 107.9 kB / 0.5969 GB, free: 12.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.3982, allocations: 4.375 kB / 0.5969 GB, free: 12.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006246/0.3988, allocations: 51.66 kB / 0.597 GB, free: 12.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.934e-05/0.3989, allocations: 27.98 kB / 0.597 GB, free: 12.07 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 (52): * Single equations (assignments): 50 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0001319/0.399, allocations: 200.1 kB / 0.5972 GB, free: 11.87 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.3991, allocations: 63.19 kB / 0.5973 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001265/0.4004, allocations: 354.8 kB / 0.5976 GB, free: 11.45 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.4004, allocations: 0 / 0.5976 GB, free: 11.45 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.4004, allocations: 0 / 0.5976 GB, free: 11.45 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.4005, allocations: 4 kB / 0.5976 GB, free: 11.45 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005374/0.401, allocations: 425.2 kB / 0.598 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.401, allocations: 4 kB / 0.598 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003423/0.4014, allocations: 47.89 kB / 0.5981 GB, free: 10.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.4014, allocations: 0 / 0.5981 GB, free: 10.93 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.19e-05/0.4014, allocations: 0 / 0.5981 GB, free: 10.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.4014, allocations: 4 kB / 0.5981 GB, free: 10.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.4014, allocations: 0 / 0.5981 GB, free: 10.93 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/0.4025, allocations: 427.9 kB / 0.5985 GB, free: 10.49 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001781/0.4027, allocations: 148.3 kB / 0.5986 GB, free: 10.33 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.4028, allocations: 0 / 0.5986 GB, free: 10.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004326/0.4032, allocations: 27.97 kB / 0.5986 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.903e-05/0.4033, allocations: 11.98 kB / 0.5986 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.64e-05/0.4033, allocations: 8 kB / 0.5987 GB, free: 10.28 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006711/0.404, allocations: 0.5106 MB / 0.5991 GB, free: 9.773 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.404, allocations: 0 / 0.5991 GB, free: 9.773 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001235/0.4052, allocations: 315.9 kB / 0.5995 GB, free: 9.465 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 (11): * Single equations (assignments): 11 * 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.002113/0.4074, allocations: 1.221 MB / 0.6006 GB, free: 8.215 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002407/0.4098, allocations: 1.153 MB / 0.6018 GB, free: 7.062 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.4098, allocations: 0 / 0.6018 GB, free: 7.062 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004635/0.4103, allocations: 140 kB / 0.6019 GB, free: 6.926 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001188/0.4115, allocations: 200 kB / 0.6021 GB, free: 6.742 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009319/0.4208, allocations: 6.103 MB / 0.6081 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004938/0.4213, allocations: 0.8895 MB / 0.6089 GB, free: 15.59 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001098/0.4224, allocations: 196.2 kB / 0.6091 GB, free: 15.4 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004666/0.4229, allocations: 195.4 kB / 0.6093 GB, free: 15.21 MB / 462.1 MB Notification: Performance of SimCode: time 9.41e-07/0.4229, allocations: 0 / 0.6093 GB, free: 15.21 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05052/0.4735, allocations: 17.41 MB / 0.6263 GB, free: 14.07 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.331/8.804, allocations: 12.38 kB / 0.6263 GB, free: 14.06 MB / 478.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.fmu > IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)