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: "" <> buildModelFMU(IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="IBPSA_latest_IBPSA_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.0009912/0.0009913, allocations: 97.64 kB / 16.02 MB, free: 80 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.001198/0.001198, allocations: 179.7 kB / 16.92 MB, free: 6.922 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.379/1.379, allocations: 223.3 MB / 241 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6959/0.6959, allocations: 115.5 MB / 407.6 MB, free: 2.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000341/0.0003411, allocations: 8 kB / 496 MB, free: 6.246 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.1681, allocations: 77.53 MB / 0.56 GB, free: 8.918 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.002805/0.171, allocations: 1.992 MB / 0.562 GB, free: 6.91 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006076/0.1771, allocations: 3.813 MB / 0.5657 GB, free: 3.082 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002946/0.1774, allocations: 7.938 kB / 0.5657 GB, free: 3.074 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005626/0.1831, allocations: 2.975 MB / 0.5686 GB, free: 100 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001023/0.1841, allocations: 354.8 kB / 0.569 GB, free: 15.75 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001131/0.1852, allocations: 461.2 kB / 0.5694 GB, free: 15.3 MB / 446.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.004805/0.1901, allocations: 3.374 MB / 0.5727 GB, free: 11.92 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001568/0.1903, allocations: 48.67 kB / 0.5727 GB, free: 11.88 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003713/0.1906, allocations: 187.2 kB / 0.5729 GB, free: 11.69 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003697/0.191, allocations: 227.1 kB / 0.5731 GB, free: 11.47 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.785e-05/0.1911, allocations: 12 kB / 0.5732 GB, free: 11.46 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001417/0.1925, allocations: 0.768 MB / 0.5739 GB, free: 10.69 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002497/0.1928, allocations: 199.5 kB / 0.5741 GB, free: 10.49 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002797/0.1931, allocations: 264.2 kB / 0.5743 GB, free: 10.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001686/0.1948, allocations: 1.04 MB / 0.5754 GB, free: 9.184 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1948, allocations: 0 / 0.5754 GB, free: 9.184 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1948, allocations: 0 / 0.5754 GB, free: 9.184 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.743e-05/0.1948, allocations: 0 / 0.5754 GB, free: 9.184 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.001587/0.1964, allocations: 0.8401 MB / 0.5762 GB, free: 8.293 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.1965, allocations: 8.031 kB / 0.5762 GB, free: 8.285 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.979e-05/0.1965, allocations: 42.69 kB / 0.5762 GB, free: 8.234 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001342/0.1979, allocations: 216 kB / 0.5764 GB, free: 8.023 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006116/0.204, allocations: 3.565 MB / 0.5799 GB, free: 4.414 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.938e-05/0.2041, allocations: 12 kB / 0.5799 GB, free: 4.402 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.673e-05/0.2041, allocations: 12 kB / 0.5799 GB, free: 4.391 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006033/0.2047, allocations: 265.4 kB / 0.5802 GB, free: 4.125 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.2048, allocations: 0 / 0.5802 GB, free: 4.125 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.276e-05/0.2048, allocations: 0 / 0.5802 GB, free: 4.125 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/0.2048, allocations: 7.984 kB / 0.5802 GB, free: 4.117 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007062/0.2055, allocations: 255.8 kB / 0.5804 GB, free: 3.867 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001502/0.207, allocations: 0.8317 MB / 0.5813 GB, free: 2.984 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007818/0.2078, allocations: 306.4 kB / 0.5815 GB, free: 2.676 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003547/0.2082, allocations: 128.8 kB / 0.5817 GB, free: 2.547 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.164e-05/0.2082, allocations: 7.984 kB / 0.5817 GB, free: 2.539 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.2083, allocations: 34.56 kB / 0.5817 GB, free: 2.496 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.363e-06/0.2083, allocations: 0 / 0.5817 GB, free: 2.496 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.001282/0.2096, allocations: 464.6 kB / 0.5822 GB, free: 2.035 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/0.2096, allocations: 55.34 kB / 0.5822 GB, free: 1.969 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009238/0.2106, allocations: 0.7577 MB / 0.5829 GB, free: 1.203 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.918e-05/0.2106, allocations: 29.7 kB / 0.583 GB, free: 1.168 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002581/0.2109, allocations: 236.7 kB / 0.5832 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.345e-05/0.2109, allocations: 43.45 kB / 0.5832 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.211, allocations: 85.66 kB / 0.5833 GB, free: 0.8008 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.2112, allocations: 374.8 kB / 0.5837 GB, free: 436 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2898/0.501, allocations: 439.4 kB / 0.5841 GB, free: 31.37 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001098/0.5022, allocations: 0.5257 MB / 0.5846 GB, free: 31.29 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001473/0.5037, allocations: 0.8865 MB / 0.5855 GB, free: 31.21 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.5037, allocations: 4.781 kB / 0.5855 GB, free: 31.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001965/0.5057, allocations: 1.087 MB / 0.5865 GB, free: 31.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.757e-05/0.5057, allocations: 143.8 kB / 0.5867 GB, free: 31.01 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.5058, allocations: 1.812 kB / 0.5867 GB, free: 31.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.5058, allocations: 4.469 kB / 0.5867 GB, free: 31.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000515/0.5063, allocations: 117 kB / 0.5868 GB, free: 31.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.5063, allocations: 3.453 kB / 0.5868 GB, free: 31.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004679/0.5068, allocations: 75.41 kB / 0.5869 GB, free: 31.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.088e-05/0.5069, allocations: 35.61 kB / 0.5869 GB, free: 31.01 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.977e-06/0.5069, allocations: 7.094 kB / 0.5869 GB, free: 31.01 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001762/0.5087, allocations: 0.8513 MB / 0.5877 GB, free: 30.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.5087, allocations: 6.188 kB / 0.5878 GB, free: 30.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.907e-06/0.5087, allocations: 7.5 kB / 0.5878 GB, free: 30.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004411/0.5092, allocations: 114.7 kB / 0.5879 GB, free: 30.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.335e-06/0.5092, allocations: 4.562 kB / 0.5879 GB, free: 30.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003695/0.5095, allocations: 60.27 kB / 0.5879 GB, free: 30.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.168e-05/0.5096, allocations: 27.09 kB / 0.588 GB, free: 30.96 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.5099, allocations: 313.2 kB / 0.5883 GB, free: 30.72 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.008e-05/0.51, allocations: 56.44 kB / 0.5883 GB, free: 30.69 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001019/0.5111, allocations: 369.5 kB / 0.5887 GB, free: 30.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.5111, allocations: 1.75 kB / 0.5887 GB, free: 30.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.5111, allocations: 0.5625 kB / 0.5887 GB, free: 30.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.5111, allocations: 0.6094 kB / 0.5887 GB, free: 30.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004797/0.5116, allocations: 420.2 kB / 0.5891 GB, free: 30.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.5116, allocations: 1.484 kB / 0.5891 GB, free: 30.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002582/0.5119, allocations: 45.92 kB / 0.5891 GB, free: 30.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.5119, allocations: 1.719 kB / 0.5891 GB, free: 30.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.5119, allocations: 3.406 kB / 0.5891 GB, free: 30.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.5119, allocations: 3.75 kB / 0.5891 GB, free: 30.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.5119, allocations: 0.6562 kB / 0.5891 GB, free: 30.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008392/0.5128, allocations: 440.6 kB / 0.5895 GB, free: 30.08 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001382/0.5129, allocations: 149.1 kB / 0.5897 GB, free: 29.95 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.078e-05/0.513, allocations: 6.109 kB / 0.5897 GB, free: 29.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000293/0.5133, allocations: 25.73 kB / 0.5897 GB, free: 29.94 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.159e-05/0.5133, allocations: 9.156 kB / 0.5897 GB, free: 29.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-05/0.5134, allocations: 11.83 kB / 0.5897 GB, free: 29.94 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006413/0.514, allocations: 0.503 MB / 0.5902 GB, free: 29.72 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.514, allocations: 0 / 0.5902 GB, free: 29.72 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001081/0.5151, allocations: 323.5 kB / 0.5905 GB, free: 29.7 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.00184/0.517, allocations: 1.228 MB / 0.5917 GB, free: 28.95 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002175/0.5191, allocations: 1.168 MB / 0.5929 GB, free: 28.57 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.5192, allocations: 0 / 0.5929 GB, free: 28.57 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000392/0.5196, allocations: 135.9 kB / 0.593 GB, free: 28.54 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009725/0.5205, allocations: 186.5 kB / 0.5932 GB, free: 28.51 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01041/0.531, allocations: 6.223 MB / 0.5993 GB, free: 25.42 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004042/0.5314, allocations: 0.8936 MB / 0.6001 GB, free: 24.69 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008625/0.5323, allocations: 193.5 kB / 0.6003 GB, free: 24.63 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000319/0.5326, allocations: 197.2 kB / 0.6005 GB, free: 24.49 MB / 446.1 MB Notification: Performance of SimCode: time 1.343e-06/0.5326, allocations: 1.188 kB / 0.6005 GB, free: 24.49 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03764/0.5703, allocations: 16.75 MB / 0.6169 GB, free: 17.24 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001688/0.5705, allocations: 211.3 kB / 0.6171 GB, free: 16.98 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.326/2.896, allocations: 14.31 kB / 0.6171 GB, free: 16.98 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.fmu > IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)