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: translateModel(IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface") translateModel(IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0009477/0.0009479, allocations: 92.95 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 177.8 kB / 16.92 MB, free: 6.645 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.372/1.372, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7059/0.7059, allocations: 115.4 MB / 407.5 MB, free: 2.848 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003588/0.0003589, allocations: 12.19 kB / 495.7 MB, free: 6.516 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1648, allocations: 77.5 MB / 0.5598 GB, free: 9.207 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.00289/0.1678, allocations: 2 MB / 0.5617 GB, free: 7.191 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006904/0.1747, allocations: 3.806 MB / 0.5655 GB, free: 3.371 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002939/0.175, allocations: 7.938 kB / 0.5655 GB, free: 3.363 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005846/0.1809, allocations: 2.972 MB / 0.5684 GB, free: 396 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001074/0.182, allocations: 370.7 kB / 0.5687 GB, free: 24 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001237/0.1832, allocations: 450.2 kB / 0.5692 GB, free: 15.59 MB / 446.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.004969/0.1882, allocations: 3.379 MB / 0.5725 GB, free: 12.2 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001537/0.1884, allocations: 36.75 kB / 0.5725 GB, free: 12.17 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003174/0.1887, allocations: 187.2 kB / 0.5727 GB, free: 11.98 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000328/0.189, allocations: 219.2 kB / 0.5729 GB, free: 11.77 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.589e-05/0.1891, allocations: 16 kB / 0.5729 GB, free: 11.75 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001633/0.1907, allocations: 0.7641 MB / 0.5736 GB, free: 10.99 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002501/0.191, allocations: 199.4 kB / 0.5738 GB, free: 10.79 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002918/0.1913, allocations: 256.3 kB / 0.5741 GB, free: 10.54 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001476/0.1928, allocations: 1.001 MB / 0.5751 GB, free: 9.531 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.1928, allocations: 0 / 0.5751 GB, free: 9.531 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1928, allocations: 4 kB / 0.5751 GB, free: 9.527 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.1928, allocations: 0 / 0.5751 GB, free: 9.527 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.001352/0.1942, allocations: 0.8151 MB / 0.5759 GB, free: 8.664 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.1942, allocations: 8.031 kB / 0.5759 GB, free: 8.656 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001262/0.1955, allocations: 220 kB / 0.5761 GB, free: 8.441 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001906/0.1974, allocations: 0.9482 MB / 0.577 GB, free: 7.453 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.912e-05/0.1975, allocations: 12 kB / 0.577 GB, free: 7.441 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.327e-05/0.1975, allocations: 12 kB / 0.577 GB, free: 7.43 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005884/0.1981, allocations: 269.4 kB / 0.5773 GB, free: 7.16 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.1981, allocations: 0 / 0.5773 GB, free: 7.16 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.583e-05/0.1982, allocations: 4 kB / 0.5773 GB, free: 7.156 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.1982, allocations: 4 kB / 0.5773 GB, free: 7.152 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007129/0.1989, allocations: 247.8 kB / 0.5775 GB, free: 6.91 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001393/0.2003, allocations: 0.8276 MB / 0.5783 GB, free: 6.031 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008012/0.2011, allocations: 318.5 kB / 0.5786 GB, free: 5.711 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003557/0.2015, allocations: 128.7 kB / 0.5788 GB, free: 5.582 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.025e-05/0.2015, allocations: 11.98 kB / 0.5788 GB, free: 5.57 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.2016, allocations: 38.55 kB / 0.5788 GB, free: 5.523 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.573e-06/0.2016, allocations: 0 / 0.5788 GB, free: 5.523 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.001289/0.2029, allocations: 460.6 kB / 0.5792 GB, free: 5.066 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.268e-05/0.2029, allocations: 51.41 kB / 0.5793 GB, free: 5.004 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008952/0.2038, allocations: 0.742 MB / 0.58 GB, free: 4.254 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.441e-05/0.2039, allocations: 25.7 kB / 0.58 GB, free: 4.223 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002056/0.2041, allocations: 224.7 kB / 0.5803 GB, free: 4 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.02e-05/0.2041, allocations: 47.44 kB / 0.5803 GB, free: 3.953 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.2042, allocations: 89.66 kB / 0.5804 GB, free: 3.859 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.2044, allocations: 370.8 kB / 0.5807 GB, free: 3.488 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007153/0.2051, allocations: 441.2 kB / 0.5812 GB, free: 3.055 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008045/0.2059, allocations: 0.5316 MB / 0.5817 GB, free: 2.492 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001461/0.2074, allocations: 0.882 MB / 0.5825 GB, free: 1.582 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.2074, allocations: 0 / 0.5825 GB, free: 1.582 MB / 446.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001751/0.2092, allocations: 1.08 MB / 0.5836 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001194/0.2093, allocations: 148.1 kB / 0.5837 GB, free: 332 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.2093, allocations: 4 kB / 0.5837 GB, free: 328 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.2094, allocations: 4 kB / 0.5837 GB, free: 324 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004983/0.2099, allocations: 111.8 kB / 0.5838 GB, free: 212 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.2099, allocations: 8 kB / 0.5839 GB, free: 204 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004663/0.2104, allocations: 71.97 kB / 0.5839 GB, free: 132 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-05/0.2104, allocations: 39.98 kB / 0.584 GB, free: 92 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.484e-06/0.2105, allocations: 4 kB / 0.584 GB, free: 88 kB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.2987/0.5091, allocations: 0.8583 MB / 0.5848 GB, free: 31.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.5092, allocations: 1.75 kB / 0.5848 GB, free: 31.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.867e-06/0.5092, allocations: 5.594 kB / 0.5848 GB, free: 31.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004652/0.5097, allocations: 111.9 kB / 0.5849 GB, free: 31.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.5097, allocations: 4.422 kB / 0.5849 GB, free: 31.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004143/0.5101, allocations: 65.52 kB / 0.585 GB, free: 31.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.421e-05/0.5102, allocations: 26.72 kB / 0.585 GB, free: 31.43 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.000316/0.5105, allocations: 312.2 kB / 0.5853 GB, free: 31.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.677e-05/0.5106, allocations: 50.25 kB / 0.5854 GB, free: 31.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001016/0.5116, allocations: 367.9 kB / 0.5857 GB, free: 31.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.5116, allocations: 2.547 kB / 0.5857 GB, free: 31.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.5116, allocations: 0 / 0.5857 GB, free: 31.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.5117, allocations: 1.531 kB / 0.5857 GB, free: 31.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005608/0.5122, allocations: 403 kB / 0.5861 GB, free: 31.01 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.5122, allocations: 1.375 kB / 0.5861 GB, free: 31.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002595/0.5125, allocations: 46.38 kB / 0.5861 GB, free: 31.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.5125, allocations: 1.453 kB / 0.5861 GB, free: 31.01 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.811e-05/0.5125, allocations: 8.594 kB / 0.5862 GB, free: 31.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.5125, allocations: 0 / 0.5862 GB, free: 31.01 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.5125, allocations: 0.9688 kB / 0.5862 GB, free: 31.01 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008607/0.5134, allocations: 445.5 kB / 0.5866 GB, free: 30.86 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001293/0.5136, allocations: 147.4 kB / 0.5867 GB, free: 30.73 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.825e-05/0.5136, allocations: 1.766 kB / 0.5867 GB, free: 30.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002877/0.5139, allocations: 26.36 kB / 0.5867 GB, free: 30.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.923e-05/0.514, allocations: 13.5 kB / 0.5868 GB, free: 30.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-05/0.514, allocations: 8.797 kB / 0.5868 GB, free: 30.73 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006593/0.5147, allocations: 0.4894 MB / 0.5872 GB, free: 30.64 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5147, allocations: 4.469 kB / 0.5872 GB, free: 30.64 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001031/0.5157, allocations: 315 kB / 0.5875 GB, free: 30.64 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.0007484/0.5165, allocations: 367.3 kB / 0.5879 GB, free: 30.55 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00216/0.5186, allocations: 1.168 MB / 0.589 GB, free: 30.49 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.5187, allocations: 0 / 0.589 GB, free: 30.49 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003836/0.519, allocations: 139.4 kB / 0.5892 GB, free: 30.46 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009102/0.52, allocations: 179.5 kB / 0.5893 GB, free: 30.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001735/0.5217, allocations: 1.08 MB / 0.5904 GB, free: 29.86 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004152/0.5221, allocations: 0.9065 MB / 0.5913 GB, free: 29.12 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007127/0.5229, allocations: 192.9 kB / 0.5915 GB, free: 29.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001844/0.5231, allocations: 54.5 kB / 0.5915 GB, free: 29.05 MB / 446.1 MB Notification: Performance of SimCode: time 6.31e-07/0.5231, allocations: 1.375 kB / 0.5915 GB, free: 29.05 MB / 446.1 MB Notification: Performance of Templates: time 0.02101/0.5441, allocations: 11.8 MB / 0.603 GB, free: 26.09 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.makefile (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 & ./IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)