Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface") translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001547/0.001547, allocations: 108 kB / 15.6 MB, free: 132 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.001655/0.001655, allocations: 190.1 kB / 16.53 MB, free: 6.391 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.37/1.37, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.764/2.764, allocations: 472.6 MB / 0.7451 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002229/0.002229, allocations: 63.12 kB / 0.912 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3257, allocations: 159.9 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.003682/0.3294, allocations: 2.309 MB / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005963/0.3354, allocations: 3.791 MB / 1.074 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002092/0.3356, allocations: 7.938 kB / 1.074 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.005211/0.3409, allocations: 3.011 MB / 1.077 GB, free: 1.305 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0007618/0.3416, allocations: 394.5 kB / 1.077 GB, free: 0.918 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001089/0.3427, allocations: 0.5068 MB / 1.078 GB, free: 420 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.004188/0.3469, allocations: 3.09 MB / 1.081 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.3471, allocations: 48.67 kB / 1.081 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003621/0.3475, allocations: 199.3 kB / 1.081 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003347/0.3478, allocations: 215.2 kB / 1.081 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 6.255e-05/0.3479, allocations: 16 kB / 1.081 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001159/0.349, allocations: 0.7447 MB / 1.082 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002206/0.3493, allocations: 215.4 kB / 1.082 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002701/0.3496, allocations: 234.6 kB / 1.083 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001504/0.3511, allocations: 1.005 MB / 1.084 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.3511, allocations: 4 kB / 1.084 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.044e-06/0.3511, allocations: 0 / 1.084 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.007e-05/0.3511, allocations: 0 / 1.084 GB, free: 10.64 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.001716/0.3528, allocations: 0.8844 MB / 1.084 GB, free: 9.711 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.3529, allocations: 12.03 kB / 1.084 GB, free: 9.699 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001316/0.3542, allocations: 211.9 kB / 1.085 GB, free: 9.492 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002013/0.3562, allocations: 0.9521 MB / 1.086 GB, free: 8.5 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.871e-05/0.3563, allocations: 12 kB / 1.086 GB, free: 8.488 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.587e-05/0.3564, allocations: 12 kB / 1.086 GB, free: 8.477 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005739/0.3569, allocations: 262.9 kB / 1.086 GB, free: 8.215 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.357, allocations: 0 / 1.086 GB, free: 8.215 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.492e-05/0.357, allocations: 4 kB / 1.086 GB, free: 8.211 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.357, allocations: 4 kB / 1.086 GB, free: 8.207 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007006/0.3577, allocations: 239.8 kB / 1.086 GB, free: 7.973 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001403/0.3591, allocations: 0.8276 MB / 1.087 GB, free: 7.094 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007681/0.3599, allocations: 314.5 kB / 1.087 GB, free: 6.777 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003409/0.3603, allocations: 128.8 kB / 1.087 GB, free: 6.648 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.921e-05/0.3603, allocations: 0 / 1.087 GB, free: 6.648 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.3603, allocations: 38.56 kB / 1.087 GB, free: 6.602 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=10): time 1.432e-06/0.3603, allocations: 0 / 1.087 GB, free: 6.602 MB / 0.8419 GB Notification: Performance of matching and sorting (n=10): time 0.001244/0.3616, allocations: 436.7 kB / 1.088 GB, free: 6.168 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.3616, allocations: 55.39 kB / 1.088 GB, free: 6.102 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007844/0.3624, allocations: 0.7342 MB / 1.089 GB, free: 5.359 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.293e-05/0.3625, allocations: 33.7 kB / 1.089 GB, free: 5.32 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001901/0.3627, allocations: 224.7 kB / 1.089 GB, free: 5.098 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.287e-05/0.3627, allocations: 43.53 kB / 1.089 GB, free: 5.055 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002091/0.3629, allocations: 158 kB / 1.089 GB, free: 4.895 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.3631, allocations: 370.8 kB / 1.089 GB, free: 4.523 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006811/0.3638, allocations: 450.9 kB / 1.09 GB, free: 4.078 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007424/0.3645, allocations: 0.5239 MB / 1.09 GB, free: 3.52 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001277/0.3658, allocations: 0.8702 MB / 1.091 GB, free: 2.625 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.3658, allocations: 0 / 1.091 GB, free: 2.625 MB / 0.8419 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00168/0.3675, allocations: 1.08 MB / 1.092 GB, free: 1.539 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.3676, allocations: 8 kB / 1.092 GB, free: 1.531 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.3676, allocations: 0 / 1.092 GB, free: 1.531 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.3676, allocations: 4.375 kB / 1.092 GB, free: 1.527 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004727/0.3681, allocations: 115.8 kB / 1.092 GB, free: 1.414 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.3681, allocations: 4 kB / 1.092 GB, free: 1.41 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004125/0.3685, allocations: 83.28 kB / 1.092 GB, free: 1.328 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.391e-05/0.3686, allocations: 35.92 kB / 1.092 GB, free: 1.293 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007545/0.3693, allocations: 0.5403 MB / 1.093 GB, free: 0.75 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006386/0.37, allocations: 472.4 kB / 1.093 GB, free: 264 kB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001118/0.3711, allocations: 0.7198 MB / 1.094 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.295e-06/0.3711, allocations: 0 / 1.094 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.00144/0.3726, allocations: 0.9262 MB / 1.095 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 9.588e-06/0.3726, allocations: 4 kB / 1.095 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.3726, allocations: 4 kB / 1.095 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.601e-06/0.3726, allocations: 7.938 kB / 1.095 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004148/0.373, allocations: 107.8 kB / 1.095 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.373, allocations: 7.984 kB / 1.095 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003894/0.3734, allocations: 63.56 kB / 1.095 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.173e-05/0.3735, allocations: 27.98 kB / 1.095 GB, free: 14.36 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.0001388/0.3736, allocations: 196.1 kB / 1.095 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.88e-05/0.3737, allocations: 47.34 kB / 1.095 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009649/0.3747, allocations: 358.6 kB / 1.096 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.3747, allocations: 4 kB / 1.096 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.299e-06/0.3747, allocations: 0 / 1.096 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3747, allocations: 0 / 1.096 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004321/0.3752, allocations: 405.2 kB / 1.096 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3752, allocations: 0 / 1.096 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002531/0.3754, allocations: 51.95 kB / 1.096 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3755, allocations: 3.938 kB / 1.096 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/0.3755, allocations: 4 kB / 1.096 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3755, allocations: 0 / 1.096 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.3755, allocations: 0 / 1.096 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008046/0.3763, allocations: 430.6 kB / 1.097 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001533/0.3765, allocations: 156.2 kB / 1.097 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.219e-05/0.3765, allocations: 0 / 1.097 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002783/0.3768, allocations: 23.97 kB / 1.097 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.247e-05/0.3769, allocations: 11.98 kB / 1.097 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.14e-05/0.3769, allocations: 12 kB / 1.097 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0005174/0.3774, allocations: 0.4951 MB / 1.097 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3774, allocations: 0 / 1.097 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0008928/0.3783, allocations: 315.9 kB / 1.098 GB, free: 11.79 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.0009585/0.3793, allocations: 370.8 kB / 1.098 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002072/0.3814, allocations: 1.149 MB / 1.099 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3814, allocations: 0 / 1.099 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003702/0.3818, allocations: 131.9 kB / 1.099 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008501/0.3826, allocations: 208 kB / 1.099 GB, free: 9.945 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001494/0.3842, allocations: 0.9428 MB / 1.1 GB, free: 8.973 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000508/0.3847, allocations: 0.9049 MB / 1.101 GB, free: 8.039 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0006628/0.3853, allocations: 196.1 kB / 1.101 GB, free: 7.848 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000176/0.3855, allocations: 55.41 kB / 1.101 GB, free: 7.793 MB / 0.8575 GB Notification: Performance of SimCode: time 3.11e-07/0.3855, allocations: 0 / 1.101 GB, free: 7.793 MB / 0.8575 GB Notification: Performance of Templates: time 0.02082/0.4064, allocations: 12.3 MB / 1.113 GB, free: 11.62 MB / 0.8731 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & ./Buildings_3.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)