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.001386/0.001385, allocations: 109.6 kB / 15.99 MB, free: 6.359 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.001421/0.001421, allocations: 193.7 kB / 16.91 MB, free: 6.195 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.29/1.29, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7145/0.7145, allocations: 115.3 MB / 406.1 MB, free: 6.367 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 59.91 kB / 493.2 MB, free: 0.5703 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.322, allocations: 76.18 MB / 0.556 GB, free: 35.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.003425/0.3255, allocations: 2.338 MB / 0.5583 GB, free: 33.96 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004905/0.3304, allocations: 3.764 MB / 0.562 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000369/0.3308, allocations: 9.469 kB / 0.562 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006348/0.3372, allocations: 3.064 MB / 0.565 GB, free: 30.6 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001133/0.3384, allocations: 367.6 kB / 0.5653 GB, free: 30.43 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001087/0.3395, allocations: 477.2 kB / 0.5658 GB, free: 30.21 MB / 446.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1089:9-1089: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.004484/0.344, allocations: 3.282 MB / 0.569 GB, free: 29.29 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.3441, allocations: 37.39 kB / 0.569 GB, free: 29.29 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003041/0.3444, allocations: 218 kB / 0.5692 GB, free: 29.2 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002964/0.3447, allocations: 234.5 kB / 0.5695 GB, free: 29.11 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.96e-05/0.3448, allocations: 18.09 kB / 0.5695 GB, free: 29.11 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001518/0.3463, allocations: 0.7464 MB / 0.5702 GB, free: 28.86 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002325/0.3465, allocations: 220.6 kB / 0.5704 GB, free: 28.79 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001945/0.3467, allocations: 251.9 kB / 0.5707 GB, free: 28.63 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001511/0.3483, allocations: 1.066 MB / 0.5717 GB, free: 28.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3483, allocations: 0 / 0.5717 GB, free: 28.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3483, allocations: 0 / 0.5717 GB, free: 28.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.265e-06/0.3483, allocations: 1.625 kB / 0.5717 GB, free: 28.25 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.001424/0.3497, allocations: 0.9193 MB / 0.5726 GB, free: 27.54 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.3498, allocations: 10.38 kB / 0.5726 GB, free: 27.54 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.833e-05/0.3498, allocations: 39.59 kB / 0.5727 GB, free: 27.5 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001242/0.3511, allocations: 214.3 kB / 0.5729 GB, free: 27.46 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0062/0.3573, allocations: 3.566 MB / 0.5763 GB, free: 26.24 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.127e-05/0.3574, allocations: 11.86 kB / 0.5764 GB, free: 26.24 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.26e-05/0.3574, allocations: 13.5 kB / 0.5764 GB, free: 26.23 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005736/0.358, allocations: 264.8 kB / 0.5766 GB, free: 26.14 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.358, allocations: 4.75 kB / 0.5766 GB, free: 26.14 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.44e-05/0.3581, allocations: 1.281 kB / 0.5766 GB, free: 26.14 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.425e-06/0.3581, allocations: 2.531 kB / 0.5766 GB, free: 26.14 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006823/0.3588, allocations: 238.4 kB / 0.5769 GB, free: 26.09 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001431/0.3602, allocations: 0.8262 MB / 0.5777 GB, free: 25.62 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007597/0.361, allocations: 313.1 kB / 0.578 GB, free: 25.52 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003263/0.3613, allocations: 127.2 kB / 0.5781 GB, free: 25.48 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.895e-05/0.3614, allocations: 3.453 kB / 0.5781 GB, free: 25.48 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.687e-05/0.3614, allocations: 31.12 kB / 0.5781 GB, free: 25.44 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.973e-06/0.3614, allocations: 1.062 kB / 0.5781 GB, free: 25.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.001166/0.3626, allocations: 448.1 kB / 0.5785 GB, free: 25.27 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.661e-05/0.3626, allocations: 56.84 kB / 0.5786 GB, free: 25.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007103/0.3633, allocations: 0.7522 MB / 0.5793 GB, free: 24.76 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.192e-05/0.3633, allocations: 31.17 kB / 0.5794 GB, free: 24.73 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001342/0.3635, allocations: 235.4 kB / 0.5796 GB, free: 24.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.694e-05/0.3635, allocations: 46.12 kB / 0.5796 GB, free: 24.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001921/0.3637, allocations: 159.7 kB / 0.5798 GB, free: 24.39 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.959e-05/0.3638, allocations: 373.1 kB / 0.5801 GB, free: 24.03 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006317/0.3645, allocations: 443 kB / 0.5806 GB, free: 23.83 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006505/0.3651, allocations: 0.527 MB / 0.5811 GB, free: 23.53 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/0.3663, allocations: 0.8775 MB / 0.5819 GB, free: 23.09 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.3663, allocations: 5.5 kB / 0.5819 GB, free: 23.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001539/0.3678, allocations: 1.069 MB / 0.583 GB, free: 22.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.3679, allocations: 5.375 kB / 0.583 GB, free: 22.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.3679, allocations: 1.812 kB / 0.583 GB, free: 22.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.3679, allocations: 4.406 kB / 0.583 GB, free: 22.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004685/0.3684, allocations: 119.3 kB / 0.5831 GB, free: 22.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.3684, allocations: 3.562 kB / 0.5831 GB, free: 22.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004457/0.3688, allocations: 76 kB / 0.5832 GB, free: 22.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.752e-05/0.3689, allocations: 35.14 kB / 0.5832 GB, free: 22.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007102/0.3696, allocations: 0.5415 MB / 0.5837 GB, free: 22.19 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005995/0.3702, allocations: 466.8 kB / 0.5842 GB, free: 21.91 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00112/0.3714, allocations: 0.7297 MB / 0.5849 GB, free: 21.54 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.507e-06/0.3714, allocations: 1.344 kB / 0.5849 GB, free: 21.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.001411/0.3728, allocations: 0.9265 MB / 0.5858 GB, free: 21.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.3728, allocations: 5.531 kB / 0.5858 GB, free: 21.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.3728, allocations: 2.281 kB / 0.5858 GB, free: 21.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.68e-06/0.3728, allocations: 3.656 kB / 0.5858 GB, free: 21.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004106/0.3732, allocations: 108.7 kB / 0.5859 GB, free: 21.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.3733, allocations: 11.75 kB / 0.5859 GB, free: 21.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000415/0.3737, allocations: 57.25 kB / 0.586 GB, free: 21.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.671e-05/0.3737, allocations: 27.27 kB / 0.586 GB, free: 21.02 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.0001244/0.3739, allocations: 197.4 kB / 0.5862 GB, free: 20.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.12e-05/0.3739, allocations: 53.03 kB / 0.5863 GB, free: 20.79 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000921/0.3749, allocations: 370.7 kB / 0.5866 GB, free: 20.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.3749, allocations: 1.188 kB / 0.5866 GB, free: 20.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.3749, allocations: 5.078 kB / 0.5866 GB, free: 20.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3749, allocations: 0 / 0.5866 GB, free: 20.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000459/0.3754, allocations: 415.9 kB / 0.587 GB, free: 20.24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3754, allocations: 8 kB / 0.587 GB, free: 20.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002386/0.3756, allocations: 37.62 kB / 0.5871 GB, free: 20.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.3756, allocations: 1.359 kB / 0.5871 GB, free: 20.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/0.3756, allocations: 14.8 kB / 0.5871 GB, free: 20.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3757, allocations: 1.031 kB / 0.5871 GB, free: 20.21 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3757, allocations: 0 / 0.5871 GB, free: 20.21 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007289/0.3764, allocations: 435.9 kB / 0.5875 GB, free: 19.94 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001323/0.3765, allocations: 145.8 kB / 0.5876 GB, free: 19.79 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.509e-05/0.3766, allocations: 4 kB / 0.5876 GB, free: 19.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002683/0.3769, allocations: 19.98 kB / 0.5876 GB, free: 19.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.243e-05/0.3769, allocations: 15.98 kB / 0.5877 GB, free: 19.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.982e-05/0.377, allocations: 11.98 kB / 0.5877 GB, free: 19.74 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004214/0.3774, allocations: 0.499 MB / 0.5882 GB, free: 19.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3774, allocations: 0 / 0.5882 GB, free: 19.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009808/0.3784, allocations: 311.9 kB / 0.5885 GB, free: 18.94 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.001434/0.3798, allocations: 1.232 MB / 0.5897 GB, free: 17.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0016/0.3814, allocations: 1.149 MB / 0.5908 GB, free: 16.54 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3814, allocations: 0.6875 kB / 0.5908 GB, free: 16.54 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002995/0.3818, allocations: 135.8 kB / 0.5909 GB, free: 16.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000772/0.3825, allocations: 205.4 kB / 0.5911 GB, free: 16.22 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007183/0.3897, allocations: 6.178 MB / 0.5971 GB, free: 9.922 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.3901, allocations: 0.9051 MB / 0.598 GB, free: 8.988 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000655/0.3907, allocations: 184.9 kB / 0.5982 GB, free: 8.805 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002666/0.391, allocations: 195.4 kB / 0.5984 GB, free: 8.613 MB / 446.1 MB Notification: Performance of SimCode: time 5.01e-07/0.391, allocations: 3.938 kB / 0.5984 GB, free: 8.609 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02998/0.421, allocations: 17.25 MB / 0.6152 GB, free: 7.68 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002305/0.4213, allocations: 214 kB / 0.6154 GB, free: 7.422 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.151/2.573, allocations: 4 kB / 0.6154 GB, free: 7.418 MB / 462.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)