Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface") translateModel(BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 105.6 kB / 16.27 MB, free: 6.414 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.001485/0.001485, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.312/1.312, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002599/0.002599, allocations: 289.4 kB / 291.3 MB, free: 14.51 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.146/1.146, allocations: 178.5 MB / 0.5079 GB, free: 12.78 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002678/0.002678, allocations: 103.8 kB / 0.6071 GB, free: 9.234 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.188/0.1907, allocations: 89.13 MB / 0.6942 GB, free: 20 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.004033/0.1948, allocations: 2.302 MB / 0.6964 GB, free: 13.69 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006455/0.2013, allocations: 3.78 MB / 0.7001 GB, free: 9.898 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002242/0.2015, allocations: 4 kB / 0.7001 GB, free: 9.895 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.005765/0.2074, allocations: 3.018 MB / 0.703 GB, free: 6.875 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0008712/0.2082, allocations: 398.5 kB / 0.7034 GB, free: 6.484 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00122/0.2095, allocations: 0.499 MB / 0.7039 GB, free: 5.984 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004312/0.2138, allocations: 3.105 MB / 0.7069 GB, free: 2.875 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.2139, allocations: 48.72 kB / 0.707 GB, free: 2.828 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002715/0.2142, allocations: 199.3 kB / 0.7072 GB, free: 2.633 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002876/0.2145, allocations: 207.2 kB / 0.7074 GB, free: 2.43 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.275e-05/0.2146, allocations: 20 kB / 0.7074 GB, free: 2.41 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001166/0.2157, allocations: 0.7448 MB / 0.7081 GB, free: 1.664 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002174/0.216, allocations: 207.4 kB / 0.7083 GB, free: 1.461 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002345/0.2162, allocations: 234.6 kB / 0.7085 GB, free: 1.23 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00123/0.2175, allocations: 1.005 MB / 0.7095 GB, free: 228 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.2175, allocations: 0 / 0.7095 GB, free: 228 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.562e-06/0.2175, allocations: 0 / 0.7095 GB, free: 228 kB / 0.545 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.2175, allocations: 0 / 0.7095 GB, free: 228 kB / 0.545 GB 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.2748/0.4923, allocations: 0.8806 MB / 0.7104 GB, free: 50.77 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.4923, allocations: 9.562 kB / 0.7104 GB, free: 50.77 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001185/0.4935, allocations: 209.4 kB / 0.7106 GB, free: 50.74 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001607/0.4951, allocations: 0.959 MB / 0.7115 GB, free: 50.46 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.555e-05/0.4952, allocations: 10.44 kB / 0.7115 GB, free: 50.46 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.312e-05/0.4952, allocations: 16.16 kB / 0.7116 GB, free: 50.46 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005258/0.4958, allocations: 253.6 kB / 0.7118 GB, free: 50.43 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.4958, allocations: 1.5 kB / 0.7118 GB, free: 50.43 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.248e-05/0.4958, allocations: 7.688 kB / 0.7118 GB, free: 50.43 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.4958, allocations: 2.125 kB / 0.7118 GB, free: 50.43 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006556/0.4965, allocations: 242 kB / 0.712 GB, free: 50.42 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001159/0.4976, allocations: 0.8286 MB / 0.7129 GB, free: 50.12 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006329/0.4983, allocations: 305.8 kB / 0.7131 GB, free: 50.09 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002942/0.4986, allocations: 134.4 kB / 0.7133 GB, free: 50.09 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.4986, allocations: 1.328 kB / 0.7133 GB, free: 50.09 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.234e-05/0.4986, allocations: 34.16 kB / 0.7133 GB, free: 50.05 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.823e-06/0.4986, allocations: 2.75 kB / 0.7133 GB, free: 50.05 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.001063/0.4997, allocations: 439.9 kB / 0.7137 GB, free: 49.99 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.053e-05/0.4997, allocations: 60.64 kB / 0.7138 GB, free: 49.93 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005579/0.5003, allocations: 0.7409 MB / 0.7145 GB, free: 49.75 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.5003, allocations: 29.7 kB / 0.7145 GB, free: 49.71 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.5005, allocations: 232 kB / 0.7148 GB, free: 49.53 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.421e-05/0.5005, allocations: 33.42 kB / 0.7148 GB, free: 49.51 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001687/0.5007, allocations: 167.2 kB / 0.7149 GB, free: 49.44 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 7.08e-05/0.5008, allocations: 367.5 kB / 0.7153 GB, free: 49.1 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005345/0.5013, allocations: 444.2 kB / 0.7157 GB, free: 48.96 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005729/0.5019, allocations: 0.5274 MB / 0.7162 GB, free: 48.73 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/0.5029, allocations: 0.8692 MB / 0.7171 GB, free: 48.39 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.5029, allocations: 0 / 0.7171 GB, free: 48.39 MB / 0.545 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001293/0.5042, allocations: 1.074 MB / 0.7181 GB, free: 48.02 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.5042, allocations: 5.594 kB / 0.7181 GB, free: 48.02 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.5043, allocations: 2.562 kB / 0.7181 GB, free: 48.02 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.5043, allocations: 5.375 kB / 0.7181 GB, free: 48.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004343/0.5047, allocations: 117.5 kB / 0.7183 GB, free: 48.02 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.5047, allocations: 4.219 kB / 0.7183 GB, free: 48.02 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003584/0.5051, allocations: 77.62 kB / 0.7183 GB, free: 47.98 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.509e-05/0.5052, allocations: 37.16 kB / 0.7184 GB, free: 47.97 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006144/0.5058, allocations: 0.5384 MB / 0.7189 GB, free: 47.73 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005232/0.5063, allocations: 465.8 kB / 0.7193 GB, free: 47.52 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009308/0.5072, allocations: 0.7306 MB / 0.7201 GB, free: 47.22 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.843e-06/0.5073, allocations: 0 / 0.7201 GB, free: 47.22 MB / 0.545 GB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.001218/0.5085, allocations: 0.9212 MB / 0.721 GB, free: 46.9 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/0.5085, allocations: 6.375 kB / 0.721 GB, free: 46.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.5085, allocations: 0 / 0.721 GB, free: 46.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.972e-06/0.5085, allocations: 10.92 kB / 0.721 GB, free: 46.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003869/0.5089, allocations: 107.9 kB / 0.7211 GB, free: 46.89 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.5089, allocations: 3.594 kB / 0.7211 GB, free: 46.89 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003673/0.5093, allocations: 61.86 kB / 0.7211 GB, free: 46.87 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.842e-05/0.5093, allocations: 33.17 kB / 0.7212 GB, free: 46.86 MB / 0.545 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 (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.0001317/0.5095, allocations: 192.1 kB / 0.7214 GB, free: 46.67 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.733e-05/0.5096, allocations: 52.47 kB / 0.7214 GB, free: 46.64 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008669/0.5104, allocations: 368.1 kB / 0.7218 GB, free: 46.51 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.798e-06/0.5104, allocations: 0 / 0.7218 GB, free: 46.51 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.5105, allocations: 3.75 kB / 0.7218 GB, free: 46.51 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.5105, allocations: 3.938 kB / 0.7218 GB, free: 46.51 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003632/0.5108, allocations: 401.8 kB / 0.7221 GB, free: 46.24 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.5108, allocations: 0 / 0.7221 GB, free: 46.24 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002296/0.5111, allocations: 40.56 kB / 0.7222 GB, free: 46.24 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.5111, allocations: 0.625 kB / 0.7222 GB, free: 46.24 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.5111, allocations: 10.53 kB / 0.7222 GB, free: 46.24 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.5111, allocations: 0 / 0.7222 GB, free: 46.24 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.5111, allocations: 4.922 kB / 0.7222 GB, free: 46.23 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006925/0.5118, allocations: 428.9 kB / 0.7226 GB, free: 46.02 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001198/0.5119, allocations: 148.1 kB / 0.7227 GB, free: 45.88 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.433e-05/0.512, allocations: 0 / 0.7227 GB, free: 45.88 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002683/0.5123, allocations: 30.42 kB / 0.7228 GB, free: 45.87 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.879e-05/0.5124, allocations: 10.38 kB / 0.7228 GB, free: 45.87 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.919e-05/0.5124, allocations: 15.09 kB / 0.7228 GB, free: 45.87 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004322/0.5128, allocations: 498.5 kB / 0.7233 GB, free: 45.66 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5128, allocations: 3.188 kB / 0.7233 GB, free: 45.66 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008972/0.5137, allocations: 318.7 kB / 0.7236 GB, free: 45.62 MB / 0.545 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 (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.0006272/0.5144, allocations: 374.6 kB / 0.7239 GB, free: 45.51 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001663/0.516, allocations: 1.145 MB / 0.7251 GB, free: 45.14 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.516, allocations: 0 / 0.7251 GB, free: 45.14 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000318/0.5164, allocations: 145.2 kB / 0.7252 GB, free: 45.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007905/0.5172, allocations: 195.6 kB / 0.7254 GB, free: 45.06 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/0.5185, allocations: 0.9733 MB / 0.7263 GB, free: 44.56 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/0.5188, allocations: 0.888 MB / 0.7272 GB, free: 43.82 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001813/0.5189, allocations: 61.34 kB / 0.7273 GB, free: 43.81 MB / 0.545 GB Notification: Performance of SimCode: time 4.1e-07/0.5189, allocations: 0 / 0.7273 GB, free: 43.81 MB / 0.545 GB Notification: Performance of Templates: time 0.01278/0.5317, allocations: 9.934 MB / 0.737 GB, free: 42.81 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & ./BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)