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.006088/0.006088, allocations: 100.7 kB / 15.87 MB, free: 6.293 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.001408/0.001408, allocations: 200.1 kB / 16.79 MB, free: 6.223 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.347/1.347, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6637/0.6637, allocations: 115.3 MB / 406 MB, free: 2.758 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 59.62 kB / 493 MB, free: 6.715 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1299, allocations: 76.17 MB / 0.5558 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.004359/0.1343, allocations: 2.348 MB / 0.5581 GB, free: 8.367 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006469/0.1408, allocations: 3.875 MB / 0.5619 GB, free: 4.48 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000297/0.1411, allocations: 4 kB / 0.5619 GB, free: 4.477 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006037/0.1472, allocations: 2.979 MB / 0.5648 GB, free: 1.496 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001009/0.1482, allocations: 358.8 kB / 0.5652 GB, free: 1.145 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00109/0.1493, allocations: 459.2 kB / 0.5656 GB, free: 0.6953 MB / 430.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1088:9-1088: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.004828/0.1542, allocations: 3.377 MB / 0.5689 GB, free: 13.31 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.1543, allocations: 48.67 kB / 0.569 GB, free: 13.27 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003586/0.1547, allocations: 179.3 kB / 0.5691 GB, free: 13.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003667/0.1551, allocations: 235.1 kB / 0.5694 GB, free: 12.86 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.888e-05/0.1552, allocations: 12 kB / 0.5694 GB, free: 12.85 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001422/0.1566, allocations: 0.7642 MB / 0.5701 GB, free: 12.08 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002415/0.1568, allocations: 207.4 kB / 0.5703 GB, free: 11.88 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002916/0.1571, allocations: 242.5 kB / 0.5705 GB, free: 11.64 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001531/0.1587, allocations: 1.044 MB / 0.5716 GB, free: 10.59 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1587, allocations: 0 / 0.5716 GB, free: 10.59 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1587, allocations: 0 / 0.5716 GB, free: 10.59 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.082e-05/0.1587, allocations: 0 / 0.5716 GB, free: 10.59 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.001773/0.1605, allocations: 0.9177 MB / 0.5725 GB, free: 9.625 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.1606, allocations: 12.03 kB / 0.5725 GB, free: 9.613 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.474e-05/0.1606, allocations: 42.67 kB / 0.5725 GB, free: 9.562 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001373/0.162, allocations: 216 kB / 0.5727 GB, free: 9.352 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005862/0.1679, allocations: 3.561 MB / 0.5762 GB, free: 5.746 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.07e-05/0.1679, allocations: 16 kB / 0.5762 GB, free: 5.73 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.299e-05/0.168, allocations: 12 kB / 0.5762 GB, free: 5.719 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006129/0.1686, allocations: 257.4 kB / 0.5765 GB, free: 5.461 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.1686, allocations: 4 kB / 0.5765 GB, free: 5.457 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.247e-05/0.1687, allocations: 0 / 0.5765 GB, free: 5.457 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.1687, allocations: 4 kB / 0.5765 GB, free: 5.453 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006831/0.1694, allocations: 235.8 kB / 0.5767 GB, free: 5.223 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001385/0.1708, allocations: 0.8394 MB / 0.5775 GB, free: 4.332 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007574/0.1715, allocations: 306.4 kB / 0.5778 GB, free: 4.023 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003362/0.1719, allocations: 128.8 kB / 0.5779 GB, free: 3.895 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.015e-05/0.1719, allocations: 4 kB / 0.5779 GB, free: 3.891 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.1719, allocations: 34.56 kB / 0.578 GB, free: 3.848 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.713e-06/0.172, allocations: 4 kB / 0.578 GB, free: 3.844 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.001234/0.1732, allocations: 440.7 kB / 0.5784 GB, free: 3.406 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/0.1732, allocations: 55.41 kB / 0.5784 GB, free: 3.34 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008065/0.1741, allocations: 0.7499 MB / 0.5792 GB, free: 2.582 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.389e-05/0.1741, allocations: 33.7 kB / 0.5792 GB, free: 2.543 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001779/0.1743, allocations: 244.6 kB / 0.5794 GB, free: 2.301 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.584e-05/0.1743, allocations: 35.55 kB / 0.5795 GB, free: 2.266 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002163/0.1746, allocations: 161.9 kB / 0.5796 GB, free: 2.098 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.1747, allocations: 366.8 kB / 0.58 GB, free: 1.73 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006671/0.1754, allocations: 446.9 kB / 0.5804 GB, free: 1.293 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007229/0.1761, allocations: 0.5277 MB / 0.5809 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2287/0.4049, allocations: 0.8675 MB / 0.5818 GB, free: 32.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.175e-05/0.4049, allocations: 9.922 kB / 0.5818 GB, free: 32.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001977/0.4069, allocations: 1.071 MB / 0.5828 GB, free: 32.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/0.4069, allocations: 6.047 kB / 0.5828 GB, free: 32.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.4069, allocations: 5.75 kB / 0.5828 GB, free: 32.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.407, allocations: 5.906 kB / 0.5828 GB, free: 32.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005061/0.4075, allocations: 115 kB / 0.583 GB, free: 32.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.4075, allocations: 5.031 kB / 0.583 GB, free: 32.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004795/0.408, allocations: 69.48 kB / 0.583 GB, free: 32.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.431e-05/0.4081, allocations: 31.98 kB / 0.5831 GB, free: 32.25 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000846/0.4089, allocations: 0.5451 MB / 0.5836 GB, free: 32.17 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000709/0.4096, allocations: 467.4 kB / 0.584 GB, free: 32.08 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001191/0.4108, allocations: 0.7387 MB / 0.5848 GB, free: 32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.986e-06/0.4109, allocations: 3.188 kB / 0.5848 GB, free: 32 MB / 446.1 MB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.0016/0.4125, allocations: 0.9182 MB / 0.5857 GB, free: 31.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.4125, allocations: 6.031 kB / 0.5857 GB, free: 31.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.4125, allocations: 6.781 kB / 0.5857 GB, free: 31.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.163e-06/0.4125, allocations: 4 kB / 0.5857 GB, free: 31.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000453/0.413, allocations: 107.2 kB / 0.5858 GB, free: 31.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.413, allocations: 5.438 kB / 0.5858 GB, free: 31.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004146/0.4134, allocations: 63.22 kB / 0.5858 GB, free: 31.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.077e-05/0.4135, allocations: 23.83 kB / 0.5859 GB, free: 31.71 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.0001298/0.4136, allocations: 205.1 kB / 0.5861 GB, free: 31.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.322e-05/0.4137, allocations: 52.5 kB / 0.5861 GB, free: 31.47 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001028/0.4147, allocations: 357.9 kB / 0.5864 GB, free: 31.36 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.4147, allocations: 1.688 kB / 0.5865 GB, free: 31.36 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4148, allocations: 0.6562 kB / 0.5865 GB, free: 31.36 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.4148, allocations: 1.359 kB / 0.5865 GB, free: 31.36 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004723/0.4152, allocations: 417.8 kB / 0.5869 GB, free: 31.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.4153, allocations: 0.8125 kB / 0.5869 GB, free: 31.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002643/0.4155, allocations: 47.77 kB / 0.5869 GB, free: 31.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.4155, allocations: 1.375 kB / 0.5869 GB, free: 31.09 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.074e-05/0.4156, allocations: 3.594 kB / 0.5869 GB, free: 31.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.4156, allocations: 1.375 kB / 0.5869 GB, free: 31.09 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.4156, allocations: 0.5156 kB / 0.5869 GB, free: 31.09 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008244/0.4164, allocations: 436.5 kB / 0.5873 GB, free: 30.86 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001442/0.4166, allocations: 146.6 kB / 0.5875 GB, free: 30.73 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.953e-05/0.4166, allocations: 1.984 kB / 0.5875 GB, free: 30.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003201/0.417, allocations: 26.78 kB / 0.5875 GB, free: 30.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.839e-05/0.417, allocations: 13.39 kB / 0.5875 GB, free: 30.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-05/0.4171, allocations: 9.016 kB / 0.5875 GB, free: 30.73 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006045/0.4177, allocations: 0.5115 MB / 0.588 GB, free: 30.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4177, allocations: 3.969 kB / 0.588 GB, free: 30.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001089/0.4188, allocations: 311.5 kB / 0.5883 GB, free: 30.48 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.001815/0.4206, allocations: 1.225 MB / 0.5895 GB, free: 29.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002129/0.4227, allocations: 1.141 MB / 0.5906 GB, free: 29.36 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.4228, allocations: 0 / 0.5906 GB, free: 29.36 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003699/0.4231, allocations: 139.1 kB / 0.5908 GB, free: 29.33 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009415/0.4241, allocations: 188.5 kB / 0.5909 GB, free: 29.29 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00978/0.4339, allocations: 6.178 MB / 0.597 GB, free: 26.24 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004088/0.4343, allocations: 0.8983 MB / 0.5978 GB, free: 25.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008355/0.4352, allocations: 193.7 kB / 0.598 GB, free: 25.45 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003205/0.4355, allocations: 193.6 kB / 0.5982 GB, free: 25.31 MB / 446.1 MB Notification: Performance of SimCode: time 9.72e-07/0.4355, allocations: 0 / 0.5982 GB, free: 25.31 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03287/0.4684, allocations: 16.91 MB / 0.6147 GB, free: 17.98 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001317/0.4685, allocations: 214 kB / 0.6149 GB, free: 17.73 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.204/2.672, allocations: 0 / 0.6149 GB, free: 17.73 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)