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.006943/0.006943, allocations: 95.02 kB / 15.73 MB, free: 6.039 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.001854/0.001854, allocations: 199 kB / 16.68 MB, free: 5.969 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.442/1.442, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002124/0.002124, allocations: 279 kB / 290.8 MB, free: 1.945 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9476/0.9476, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001626/0.001626, allocations: 95.84 kB / 0.6814 GB, free: 15.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1533, allocations: 86.97 MB / 0.7664 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.003625/0.1569, allocations: 2.305 MB / 0.7686 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00594/0.1629, allocations: 3.784 MB / 0.7723 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002156/0.1631, allocations: 7.938 kB / 0.7723 GB, free: 2.328 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002453/0.1656, allocations: 1.059 MB / 0.7734 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0006929/0.1663, allocations: 426.4 kB / 0.7738 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009235/0.1672, allocations: 0.5068 MB / 0.7743 GB, free: 352 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.3249/0.4922, allocations: 3.138 MB / 0.7773 GB, free: 9.133 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.4923, allocations: 39.41 kB / 0.7774 GB, free: 9.129 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003011/0.4926, allocations: 223.3 kB / 0.7776 GB, free: 9.121 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002842/0.4929, allocations: 218.3 kB / 0.7778 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.081e-05/0.493, allocations: 20.66 kB / 0.7778 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001113/0.4941, allocations: 0.7446 MB / 0.7785 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001837/0.4943, allocations: 225.2 kB / 0.7788 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001811/0.4945, allocations: 243.1 kB / 0.779 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001055/0.4955, allocations: 1.025 MB / 0.78 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.4955, allocations: 1.828 kB / 0.78 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.463e-06/0.4956, allocations: 1.031 kB / 0.78 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.4956, allocations: 0 / 0.78 GB, free: 8.852 MB / 0.5606 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.001176/0.4967, allocations: 0.9178 MB / 0.7809 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.4968, allocations: 9.844 kB / 0.7809 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001152/0.4979, allocations: 210.6 kB / 0.7811 GB, free: 8.16 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001666/0.4996, allocations: 0.9721 MB / 0.782 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.4997, allocations: 12.12 kB / 0.7821 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.624e-05/0.4997, allocations: 16.05 kB / 0.7821 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005469/0.5002, allocations: 247.8 kB / 0.7823 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.5003, allocations: 1.406 kB / 0.7823 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.389e-05/0.5003, allocations: 13.06 kB / 0.7823 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.5003, allocations: 6.031 kB / 0.7823 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006398/0.501, allocations: 236 kB / 0.7826 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00113/0.5021, allocations: 0.825 MB / 0.7834 GB, free: 7.426 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006147/0.5027, allocations: 301.2 kB / 0.7836 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002942/0.503, allocations: 127.1 kB / 0.7838 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.88e-05/0.5031, allocations: 9.609 kB / 0.7838 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.531e-05/0.5031, allocations: 35.39 kB / 0.7838 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.263e-06/0.5031, allocations: 0 / 0.7838 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.001085/0.5042, allocations: 440.7 kB / 0.7842 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.271e-05/0.5042, allocations: 54.69 kB / 0.7843 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007651/0.505, allocations: 0.7466 MB / 0.785 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.598e-05/0.505, allocations: 28.14 kB / 0.785 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000154/0.5052, allocations: 223.8 kB / 0.7852 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.065e-05/0.5052, allocations: 51.11 kB / 0.7853 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002/0.5054, allocations: 162 kB / 0.7855 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.81e-05/0.5055, allocations: 369.6 kB / 0.7858 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006062/0.5061, allocations: 442.6 kB / 0.7862 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006513/0.5068, allocations: 0.5267 MB / 0.7867 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/0.508, allocations: 0.8615 MB / 0.7876 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.508, allocations: 0 / 0.7876 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001633/0.5096, allocations: 1.067 MB / 0.7886 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.5096, allocations: 16.75 kB / 0.7886 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.5096, allocations: 0 / 0.7886 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/0.5097, allocations: 4.312 kB / 0.7886 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004507/0.5101, allocations: 113.7 kB / 0.7888 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.5102, allocations: 4.938 kB / 0.7888 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000442/0.5106, allocations: 78.38 kB / 0.7888 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.993e-05/0.5107, allocations: 32.59 kB / 0.7889 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007103/0.5114, allocations: 0.54 MB / 0.7894 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005742/0.512, allocations: 463.2 kB / 0.7898 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009913/0.513, allocations: 0.7237 MB / 0.7905 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.555e-06/0.513, allocations: 1.406 kB / 0.7905 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.001477/0.5145, allocations: 0.9164 MB / 0.7914 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.5145, allocations: 6.719 kB / 0.7914 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.5145, allocations: 6.062 kB / 0.7914 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.294e-06/0.5145, allocations: 8.438 kB / 0.7915 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004258/0.515, allocations: 106.9 kB / 0.7916 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.515, allocations: 10.88 kB / 0.7916 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004299/0.5154, allocations: 64.81 kB / 0.7916 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.337e-05/0.5155, allocations: 27.41 kB / 0.7917 GB, free: 3.785 MB / 0.5606 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.0001321/0.5156, allocations: 195.6 kB / 0.7918 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.83e-05/0.5157, allocations: 57.05 kB / 0.7919 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009545/0.5167, allocations: 348.9 kB / 0.7922 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.5167, allocations: 1.438 kB / 0.7922 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.5167, allocations: 384 / 0.7922 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.5167, allocations: 1.984 kB / 0.7922 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004758/0.5172, allocations: 417.1 kB / 0.7926 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.5172, allocations: 0 / 0.7926 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002272/0.5174, allocations: 41.25 kB / 0.7927 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.5174, allocations: 6.156 kB / 0.7927 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.883e-05/0.5174, allocations: 9.312 kB / 0.7927 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.5175, allocations: 3.938 kB / 0.7927 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.5175, allocations: 0.9062 kB / 0.7927 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007201/0.5182, allocations: 417.3 kB / 0.7931 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001279/0.5183, allocations: 154 kB / 0.7932 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.221e-05/0.5184, allocations: 5.312 kB / 0.7932 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002779/0.5187, allocations: 24.06 kB / 0.7933 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.831e-05/0.5187, allocations: 8.625 kB / 0.7933 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.079e-05/0.5187, allocations: 8.062 kB / 0.7933 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006784/0.5194, allocations: 0.5013 MB / 0.7938 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.262e-06/0.5194, allocations: 1.062 kB / 0.7938 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001282/0.5207, allocations: 322.3 kB / 0.7941 GB, free: 2.531 MB / 0.5606 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.0008113/0.5215, allocations: 369.8 kB / 0.7944 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001868/0.5234, allocations: 1.143 MB / 0.7955 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.5234, allocations: 0 / 0.7955 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003264/0.5238, allocations: 132.6 kB / 0.7957 GB, free: 1.996 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008369/0.5246, allocations: 201.9 kB / 0.7959 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001454/0.5261, allocations: 0.9471 MB / 0.7968 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003815/0.5265, allocations: 0.897 MB / 0.7977 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005716/0.5271, allocations: 197.7 kB / 0.7979 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001624/0.5272, allocations: 53.52 kB / 0.7979 GB, free: 0.668 MB / 0.5606 GB Notification: Performance of SimCode: time 1.192e-06/0.5272, allocations: 5.562 kB / 0.7979 GB, free: 0.6641 MB / 0.5606 GB Notification: Performance of Templates: time 0.01959/0.5468, allocations: 12.38 MB / 0.81 GB, free: 13.56 MB / 0.5762 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)