Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface") translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.001294/0.001294, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001491/0.001491, allocations: 195.4 kB / 16.14 MB, free: 6.688 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.366/1.366, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.872/2.872, allocations: 472.6 MB / 0.7447 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 62.28 kB / 0.9114 GB, free: 33.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3496, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.004161/0.3538, allocations: 2.349 MB / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.006726/0.3606, allocations: 3.897 MB / 1.074 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003417/0.3609, allocations: 4 kB / 1.074 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.006496/0.3675, allocations: 2.968 MB / 1.077 GB, free: 1.688 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0009737/0.3685, allocations: 362.8 kB / 1.077 GB, free: 1.332 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001326/0.3698, allocations: 451.3 kB / 1.077 GB, free: 0.8906 MB / 0.8262 GB [/var/lib/jenkins/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.005364/0.3752, allocations: 3.385 MB / 1.081 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.3753, allocations: 32.75 kB / 1.081 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004004/0.3758, allocations: 191.2 kB / 1.081 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000407/0.3762, allocations: 231.1 kB / 1.081 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 6.981e-05/0.3763, allocations: 12 kB / 1.081 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001515/0.3778, allocations: 0.7719 MB / 1.082 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.000277/0.3781, allocations: 195.5 kB / 1.082 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003182/0.3784, allocations: 234.6 kB / 1.082 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001617/0.38, allocations: 1.012 MB / 1.083 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.38, allocations: 0 / 1.083 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of FrontEnd: time 8.51e-07/0.38, allocations: 0 / 1.083 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.902e-05/0.3801, allocations: 0 / 1.083 GB, free: 10.83 MB / 0.8419 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.00187/0.3819, allocations: 0.8905 MB / 1.084 GB, free: 9.887 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.382, allocations: 11.97 kB / 1.084 GB, free: 9.875 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001334/0.3833, allocations: 204 kB / 1.084 GB, free: 9.676 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002071/0.3854, allocations: 0.9639 MB / 1.085 GB, free: 8.672 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.269e-05/0.3855, allocations: 8 kB / 1.085 GB, free: 8.664 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.217e-05/0.3855, allocations: 16 kB / 1.085 GB, free: 8.648 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005974/0.3861, allocations: 260.4 kB / 1.085 GB, free: 8.391 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.3862, allocations: 0 / 1.085 GB, free: 8.391 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.528e-05/0.3862, allocations: 0 / 1.085 GB, free: 8.391 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.878e-06/0.3862, allocations: 4 kB / 1.085 GB, free: 8.387 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007029/0.3869, allocations: 243.8 kB / 1.086 GB, free: 8.148 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001703/0.3886, allocations: 0.8275 MB / 1.087 GB, free: 7.27 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008721/0.3895, allocations: 314.6 kB / 1.087 GB, free: 6.953 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003488/0.3899, allocations: 124.8 kB / 1.087 GB, free: 6.828 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.274e-05/0.3899, allocations: 4 kB / 1.087 GB, free: 6.824 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.39, allocations: 42.48 kB / 1.087 GB, free: 6.773 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=10): time 1.442e-06/0.39, allocations: 0 / 1.087 GB, free: 6.773 MB / 0.8419 GB Notification: Performance of matching and sorting (n=10): time 0.001244/0.3912, allocations: 440.7 kB / 1.087 GB, free: 6.336 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.3913, allocations: 59.34 kB / 1.087 GB, free: 6.266 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008431/0.3921, allocations: 0.7303 MB / 1.088 GB, free: 5.527 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.003e-05/0.3922, allocations: 25.7 kB / 1.088 GB, free: 5.496 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002015/0.3924, allocations: 236.6 kB / 1.088 GB, free: 5.262 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.781e-05/0.3924, allocations: 43.91 kB / 1.088 GB, free: 5.219 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002609/0.3927, allocations: 154 kB / 1.089 GB, free: 5.062 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001833/0.3929, allocations: 374.8 kB / 1.089 GB, free: 4.688 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000752/0.3937, allocations: 442.9 kB / 1.089 GB, free: 4.25 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008408/0.3945, allocations: 0.5355 MB / 1.09 GB, free: 3.684 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001519/0.396, allocations: 0.8702 MB / 1.091 GB, free: 2.785 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/0.3961, allocations: 0 / 1.091 GB, free: 2.785 MB / 0.8419 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001843/0.3979, allocations: 1.072 MB / 1.092 GB, free: 1.707 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.398, allocations: 4.219 kB / 1.092 GB, free: 1.703 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.398, allocations: 8 kB / 1.092 GB, free: 1.695 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.398, allocations: 4 kB / 1.092 GB, free: 1.691 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005142/0.3985, allocations: 107.9 kB / 1.092 GB, free: 1.586 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.3985, allocations: 4 kB / 1.092 GB, free: 1.582 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000484/0.399, allocations: 79.34 kB / 1.092 GB, free: 1.504 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.898e-05/0.3991, allocations: 31.98 kB / 1.092 GB, free: 1.473 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008603/0.4, allocations: 0.5403 MB / 1.093 GB, free: 0.9297 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007259/0.4007, allocations: 472.4 kB / 1.093 GB, free: 444 kB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001223/0.4019, allocations: 0.7276 MB / 1.094 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.047e-06/0.402, allocations: 0 / 1.094 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.001639/0.4036, allocations: 0.9143 MB / 1.095 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.4036, allocations: 10.09 kB / 1.095 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.4037, allocations: 4 kB / 1.095 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.456e-06/0.4037, allocations: 4 kB / 1.095 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004619/0.4041, allocations: 111.8 kB / 1.095 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/0.4042, allocations: 4 kB / 1.095 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004814/0.4046, allocations: 63.56 kB / 1.095 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.329e-05/0.4047, allocations: 27.98 kB / 1.095 GB, free: 14.55 MB / 0.8575 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.0001822/0.4049, allocations: 200.7 kB / 1.095 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/0.405, allocations: 51.34 kB / 1.095 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0011/0.4061, allocations: 358.6 kB / 1.095 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.4061, allocations: 7.938 kB / 1.095 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.4062, allocations: 4 kB / 1.095 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.4062, allocations: 3.984 kB / 1.095 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005507/0.4067, allocations: 405.2 kB / 1.096 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.4067, allocations: 0 / 1.096 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002702/0.407, allocations: 43.95 kB / 1.096 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.407, allocations: 0 / 1.096 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.922e-05/0.4071, allocations: 4 kB / 1.096 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.4071, allocations: 0 / 1.096 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4071, allocations: 7.875 kB / 1.096 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008463/0.4079, allocations: 430.7 kB / 1.096 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001745/0.4081, allocations: 152.3 kB / 1.096 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.411e-05/0.4082, allocations: 4 kB / 1.096 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003075/0.4085, allocations: 23.97 kB / 1.096 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.534e-05/0.4086, allocations: 7.984 kB / 1.096 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.216e-05/0.4086, allocations: 8 kB / 1.096 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.00059/0.4092, allocations: 0.4951 MB / 1.097 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.81e-07/0.4092, allocations: 4 kB / 1.097 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0009468/0.4101, allocations: 311.9 kB / 1.097 GB, free: 11.97 MB / 0.8575 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.0009146/0.4111, allocations: 370.8 kB / 1.098 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002018/0.4131, allocations: 1.138 MB / 1.099 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.4131, allocations: 4.312 kB / 1.099 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003579/0.4135, allocations: 131.9 kB / 1.099 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009202/0.4144, allocations: 194.2 kB / 1.099 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001903/0.4163, allocations: 1.05 MB / 1.1 GB, free: 9.055 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006103/0.417, allocations: 0.8975 MB / 1.101 GB, free: 8.129 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.000772/0.4177, allocations: 200 kB / 1.101 GB, free: 7.934 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001962/0.4179, allocations: 59.41 kB / 1.101 GB, free: 7.875 MB / 0.8575 GB Notification: Performance of SimCode: time 2.5e-07/0.4179, allocations: 0 / 1.101 GB, free: 7.875 MB / 0.8575 GB Notification: Performance of Templates: time 0.02124/0.4392, allocations: 11.91 MB / 1.113 GB, free: 12.07 MB / 0.8731 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.makefile (rm -f Buildings_1.6_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & ./Buildings_1.6_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)