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: "" <> buildModelFMU(BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="BuildingSystems_BuildingSystems_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.0009405/0.0009405, allocations: 98.03 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.007776/0.007776, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.335/1.335, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001774/0.001774, allocations: 270.2 kB / 291.7 MB, free: 1.883 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9491/0.9491, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003931/0.000393, allocations: 18.47 kB / 0.5988 GB, free: 28.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1522, allocations: 88.54 MB / 0.6852 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.002373/0.1546, allocations: 1.988 MB / 0.6872 GB, free: 12.97 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005686/0.1603, allocations: 3.824 MB / 0.6909 GB, free: 9.148 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001818/0.1605, allocations: 11.88 kB / 0.6909 GB, free: 9.137 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005251/0.1658, allocations: 2.967 MB / 0.6938 GB, free: 6.172 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008691/0.1666, allocations: 361.6 kB / 0.6942 GB, free: 5.82 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001083/0.1677, allocations: 451.3 kB / 0.6946 GB, free: 5.379 MB / 494.1 MB [/var/lib/jenkins1/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.004539/0.1723, allocations: 3.377 MB / 0.6979 GB, free: 1.996 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.1724, allocations: 52.7 kB / 0.6979 GB, free: 1.945 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002848/0.1727, allocations: 183.3 kB / 0.6981 GB, free: 1.766 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002948/0.173, allocations: 223.1 kB / 0.6983 GB, free: 1.547 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.01e-05/0.1731, allocations: 8 kB / 0.6983 GB, free: 1.539 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0014/0.1745, allocations: 0.772 MB / 0.6991 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002168/0.1747, allocations: 207.4 kB / 0.6993 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002473/0.175, allocations: 260.3 kB / 0.6995 GB, free: 308 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001263/0.1762, allocations: 1.04 MB / 0.7006 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1763, allocations: 0 / 0.7006 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.263e-06/0.1763, allocations: 0 / 0.7006 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.1763, allocations: 4 kB / 0.7006 GB, free: 15.25 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.001249/0.1775, allocations: 0.8362 MB / 0.7014 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.1776, allocations: 8.031 kB / 0.7014 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.588e-05/0.1776, allocations: 46.73 kB / 0.7014 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001267/0.1789, allocations: 220 kB / 0.7016 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005726/0.1846, allocations: 3.557 MB / 0.7051 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.643e-05/0.1847, allocations: 12 kB / 0.7051 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.1e-05/0.1848, allocations: 12 kB / 0.7051 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000574/0.1854, allocations: 270.1 kB / 0.7054 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.1854, allocations: 0 / 0.7054 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.459e-05/0.1854, allocations: 7.938 kB / 0.7054 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.1854, allocations: 4 kB / 0.7054 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006974/0.1861, allocations: 251.4 kB / 0.7056 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001359/0.1875, allocations: 0.8318 MB / 0.7065 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007499/0.1883, allocations: 306.4 kB / 0.7067 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000354/0.1886, allocations: 136.8 kB / 0.7069 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.408e-05/0.1887, allocations: 7.984 kB / 0.7069 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.1887, allocations: 34.5 kB / 0.7069 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.382e-06/0.1887, allocations: 0 / 0.7069 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.00126/0.19, allocations: 472.6 kB / 0.7074 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.38e-05/0.19, allocations: 55.41 kB / 0.7074 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008279/0.1909, allocations: 0.7538 MB / 0.7082 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.763e-05/0.1909, allocations: 25.7 kB / 0.7082 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001819/0.1911, allocations: 228.8 kB / 0.7084 GB, free: 7 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.57e-05/0.1912, allocations: 43.45 kB / 0.7084 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.1913, allocations: 89.66 kB / 0.7085 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.1914, allocations: 374.8 kB / 0.7089 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006499/0.1921, allocations: 441.2 kB / 0.7093 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007079/0.1928, allocations: 0.5317 MB / 0.7098 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001258/0.1941, allocations: 0.8819 MB / 0.7107 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.381e-06/0.1941, allocations: 3.938 kB / 0.7107 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001694/0.1958, allocations: 1.088 MB / 0.7118 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.317e-05/0.1959, allocations: 144.1 kB / 0.7119 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.1959, allocations: 0 / 0.7119 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.1959, allocations: 8 kB / 0.7119 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004995/0.1965, allocations: 115.9 kB / 0.712 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.1965, allocations: 7.938 kB / 0.712 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004294/0.1969, allocations: 83.94 kB / 0.7121 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.54e-05/0.197, allocations: 31.98 kB / 0.7121 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.945e-06/0.197, allocations: 7.938 kB / 0.7121 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001392/0.1984, allocations: 0.8549 MB / 0.713 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.1984, allocations: 4 kB / 0.713 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.751e-06/0.1984, allocations: 4 kB / 0.713 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000413/0.1988, allocations: 103.9 kB / 0.7131 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/0.1989, allocations: 7.984 kB / 0.7131 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003623/0.1992, allocations: 67.5 kB / 0.7131 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.141e-05/0.1993, allocations: 24 kB / 0.7132 GB, free: 2.012 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.0003017/0.1996, allocations: 309.6 kB / 0.7135 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.45e-05/0.1997, allocations: 59.56 kB / 0.7135 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009585/0.2006, allocations: 382.7 kB / 0.7139 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.2006, allocations: 0 / 0.7139 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.2007, allocations: 4 kB / 0.7139 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.2007, allocations: 0 / 0.7139 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004568/0.2011, allocations: 417.3 kB / 0.7143 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.2011, allocations: 3.938 kB / 0.7143 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002475/0.2014, allocations: 47.89 kB / 0.7143 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.2014, allocations: 0 / 0.7143 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.2014, allocations: 4 kB / 0.7143 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2014, allocations: 4 kB / 0.7143 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2014, allocations: 0 / 0.7143 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007913/0.2022, allocations: 430.6 kB / 0.7148 GB, free: 308 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001393/0.2024, allocations: 160.2 kB / 0.7149 GB, free: 128 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.414e-05/0.2024, allocations: 0 / 0.7149 GB, free: 128 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002813/0.2027, allocations: 27.97 kB / 0.7149 GB, free: 100 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.619e-05/0.2028, allocations: 7.984 kB / 0.7149 GB, free: 92 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.769e-05/0.2028, allocations: 8 kB / 0.715 GB, free: 84 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005571/0.2034, allocations: 0.5146 MB / 0.7155 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.91e-07/0.2034, allocations: 3.938 kB / 0.7155 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008614/0.2042, allocations: 315.8 kB / 0.7158 GB, free: 15.26 MB / 0.5137 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.001812/0.2061, allocations: 1.234 MB / 0.717 GB, free: 14 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002174/0.2082, allocations: 1.162 MB / 0.7181 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.2083, allocations: 0 / 0.7181 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003605/0.2086, allocations: 140.3 kB / 0.7182 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008479/0.2095, allocations: 186.1 kB / 0.7184 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00893/0.2184, allocations: 6.238 MB / 0.7245 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005293/0.219, allocations: 0.8937 MB / 0.7254 GB, free: 5.242 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007433/0.2197, allocations: 188.2 kB / 0.7256 GB, free: 5.059 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003238/0.2201, allocations: 199.3 kB / 0.7257 GB, free: 4.863 MB / 0.5137 GB Notification: Performance of SimCode: time 7.92e-07/0.2201, allocations: 0 / 0.7257 GB, free: 4.863 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03245/0.2525, allocations: 16.78 MB / 0.7421 GB, free: 4.41 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002458/0.2528, allocations: 227.6 kB / 0.7423 GB, free: 4.152 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.123/2.376, allocations: 0 / 0.7423 GB, free: 4.152 MB / 0.5294 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.fmu > BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)