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.0009319/0.0009317, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007421/0.007421, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.354/1.354, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00245/0.00245, allocations: 262.2 kB / 291.7 MB, free: 1.871 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9661/0.9661, allocations: 169.5 MB / 0.5004 GB, free: 14.06 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003945/0.0003946, allocations: 16.67 kB / 0.5987 GB, free: 28.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1645, allocations: 88.55 MB / 0.6851 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.002333/0.1669, allocations: 1.994 MB / 0.6871 GB, free: 13.03 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005499/0.1724, allocations: 3.821 MB / 0.6908 GB, free: 9.211 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002502/0.1727, allocations: 12.81 kB / 0.6908 GB, free: 9.199 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006202/0.1789, allocations: 2.97 MB / 0.6937 GB, free: 6.23 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001026/0.1799, allocations: 358.8 kB / 0.6941 GB, free: 5.879 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001108/0.181, allocations: 455.2 kB / 0.6945 GB, free: 5.434 MB / 494.1 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 1.0}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.004202/0.1853, allocations: 3.377 MB / 0.6978 GB, free: 2.051 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.1854, allocations: 40.72 kB / 0.6978 GB, free: 2.012 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002427/0.1857, allocations: 183.3 kB / 0.698 GB, free: 1.832 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003061/0.186, allocations: 227 kB / 0.6982 GB, free: 1.609 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.35e-05/0.186, allocations: 12 kB / 0.6982 GB, free: 1.598 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001279/0.1873, allocations: 0.7681 MB / 0.699 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002106/0.1875, allocations: 207.3 kB / 0.6992 GB, free: 0.625 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002223/0.1878, allocations: 252.3 kB / 0.6994 GB, free: 380 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001112/0.1889, allocations: 0.9968 MB / 0.7004 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1889, allocations: 0 / 0.7004 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1889, allocations: 0 / 0.7004 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.1889, allocations: 0 / 0.7004 GB, free: 15.37 MB / 0.4981 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.001314/0.1902, allocations: 0.813 MB / 0.7012 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.1903, allocations: 11.97 kB / 0.7012 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001205/0.1915, allocations: 216 kB / 0.7014 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001668/0.1932, allocations: 0.9559 MB / 0.7023 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.924e-05/0.1932, allocations: 19.97 kB / 0.7024 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.776e-05/0.1933, allocations: 16 kB / 0.7024 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006146/0.1939, allocations: 258.2 kB / 0.7026 GB, free: 13 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.1939, allocations: 4 kB / 0.7026 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.669e-05/0.194, allocations: 8 kB / 0.7026 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.194, allocations: 4 kB / 0.7026 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007113/0.1947, allocations: 251.4 kB / 0.7029 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001185/0.1959, allocations: 0.82 MB / 0.7037 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007429/0.1966, allocations: 318.6 kB / 0.704 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003491/0.197, allocations: 132.8 kB / 0.7041 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.197, allocations: 0 / 0.7041 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.1971, allocations: 30.56 kB / 0.7041 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.112e-06/0.1971, allocations: 3.938 kB / 0.7041 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.001246/0.1983, allocations: 468.6 kB / 0.7046 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.1984, allocations: 55.41 kB / 0.7046 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007671/0.1991, allocations: 0.7341 MB / 0.7054 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.296e-05/0.1992, allocations: 29.7 kB / 0.7054 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001796/0.1994, allocations: 232.8 kB / 0.7056 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.901e-05/0.1994, allocations: 35.45 kB / 0.7056 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.95e-05/0.1995, allocations: 85.67 kB / 0.7057 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.1997, allocations: 370.8 kB / 0.7061 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006702/0.2004, allocations: 445.2 kB / 0.7065 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007636/0.2011, allocations: 0.5356 MB / 0.707 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001376/0.2025, allocations: 0.8858 MB / 0.7079 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.2025, allocations: 0 / 0.7079 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001714/0.2043, allocations: 1.084 MB / 0.709 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.975e-05/0.2044, allocations: 144.1 kB / 0.7091 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.2044, allocations: 3.938 kB / 0.7091 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.503e-05/0.2044, allocations: 4 kB / 0.7091 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004935/0.2049, allocations: 119.9 kB / 0.7092 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/0.2049, allocations: 4 kB / 0.7092 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004107/0.2054, allocations: 76 kB / 0.7093 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.164e-05/0.2054, allocations: 35.98 kB / 0.7093 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.612e-06/0.2054, allocations: 4 kB / 0.7093 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001407/0.2069, allocations: 0.8549 MB / 0.7102 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.347e-06/0.2069, allocations: 4 kB / 0.7102 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.16e-06/0.2069, allocations: 4 kB / 0.7102 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004164/0.2073, allocations: 111.8 kB / 0.7103 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.2073, allocations: 7.984 kB / 0.7103 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003274/0.2076, allocations: 67.5 kB / 0.7103 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.104e-05/0.2077, allocations: 24.38 kB / 0.7104 GB, free: 4.848 MB / 0.4981 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.0002636/0.208, allocations: 309.6 kB / 0.7107 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.917e-05/0.208, allocations: 51.28 kB / 0.7107 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009636/0.209, allocations: 378.5 kB / 0.7111 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.209, allocations: 4 kB / 0.7111 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.209, allocations: 0 / 0.7111 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.209, allocations: 0 / 0.7111 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004446/0.2095, allocations: 397.3 kB / 0.7115 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.2095, allocations: 8 kB / 0.7115 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002701/0.2098, allocations: 47.89 kB / 0.7115 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.2098, allocations: 0 / 0.7115 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.799e-05/0.2098, allocations: 4 kB / 0.7115 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.2098, allocations: 8 kB / 0.7115 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2098, allocations: 0 / 0.7115 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008238/0.2107, allocations: 434.7 kB / 0.7119 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001368/0.2108, allocations: 148.3 kB / 0.7121 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.948e-05/0.2109, allocations: 7.984 kB / 0.7121 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002754/0.2112, allocations: 23.98 kB / 0.7121 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.317e-05/0.2112, allocations: 11.98 kB / 0.7121 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.972e-05/0.2112, allocations: 12 kB / 0.7121 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005107/0.2118, allocations: 0.4912 MB / 0.7126 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2118, allocations: 0 / 0.7126 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009095/0.2127, allocations: 307.9 kB / 0.7129 GB, free: 2.152 MB / 0.4981 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.0007398/0.2134, allocations: 382.9 kB / 0.7133 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001958/0.2154, allocations: 1.166 MB / 0.7144 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2154, allocations: 0 / 0.7144 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003695/0.2158, allocations: 144.3 kB / 0.7145 GB, free: 472 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008342/0.2166, allocations: 186 kB / 0.7147 GB, free: 284 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00153/0.2182, allocations: 1.071 MB / 0.7158 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004492/0.2186, allocations: 0.8937 MB / 0.7166 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006368/0.2193, allocations: 196.3 kB / 0.7168 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000167/0.2194, allocations: 51.39 kB / 0.7169 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.2195, allocations: 0 / 0.7169 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of Templates: time 0.01803/0.2375, allocations: 11.84 MB / 0.7284 GB, free: 2.312 MB / 0.5137 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)