Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007978/0.0007977, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.004628/0.004628, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.411/1.411, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.871/2.871, allocations: 473.4 MB / 0.7469 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004748/0.0004748, allocations: 10.28 kB / 0.9158 GB, free: 33.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.39/0.3905, allocations: 162.2 MB / 1.074 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001353/0.3919, allocations: 0.9828 MB / 1.075 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009982/0.3929, allocations: 0.6017 MB / 1.076 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.63e-05/0.3929, allocations: 0 / 1.076 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.501e-05/0.3929, allocations: 0 / 1.076 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.113e-05/0.393, allocations: 0 / 1.076 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004311/0.3934, allocations: 123.2 kB / 1.076 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.121e-05/0.3935, allocations: 7.938 kB / 1.076 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.754e-05/0.3935, allocations: 0 / 1.076 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.06e-05/0.3936, allocations: 8 kB / 1.076 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.823e-05/0.3936, allocations: 11.92 kB / 1.076 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.111e-05/0.3936, allocations: 0 / 1.076 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004603/0.3941, allocations: 343.3 kB / 1.076 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.054e-05/0.3941, allocations: 0 / 1.076 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.154e-05/0.3942, allocations: 29.7 kB / 1.076 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002285/0.3944, allocations: 139.9 kB / 1.076 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3944, allocations: 0 / 1.076 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.255e-06/0.3944, allocations: 0 / 1.076 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.137e-06/0.3944, allocations: 0 / 1.076 GB, free: 5.281 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000357/0.3948, allocations: 355.5 kB / 1.077 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.3948, allocations: 8.031 kB / 1.077 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.347e-05/0.3949, allocations: 4.938 kB / 1.077 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.395, allocations: 164.4 kB / 1.077 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.395, allocations: 4.375 kB / 1.077 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.865e-06/0.395, allocations: 384 / 1.077 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.796e-05/0.3951, allocations: 38.2 kB / 1.077 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.3951, allocations: 192 / 1.077 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.3951, allocations: 7.875 kB / 1.077 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.3952, allocations: 4 kB / 1.077 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.598e-05/0.3952, allocations: 4 kB / 1.077 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001475/0.3953, allocations: 157.6 kB / 1.077 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.342e-05/0.3954, allocations: 18.61 kB / 1.077 GB, free: 4.379 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.833e-05/0.3954, allocations: 8.922 kB / 1.077 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.747e-05/0.3954, allocations: 0 / 1.077 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/0.3955, allocations: 34.56 kB / 1.077 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.3955, allocations: 3.938 kB / 1.077 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.00014/0.3956, allocations: 49.62 kB / 1.077 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.3956, allocations: 51.41 kB / 1.077 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.476e-05/0.3957, allocations: 93.86 kB / 1.077 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.3957, allocations: 29.7 kB / 1.077 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.234e-05/0.3958, allocations: 84.08 kB / 1.077 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.591e-05/0.3958, allocations: 7.891 kB / 1.077 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.04e-05/0.3958, allocations: 13.97 kB / 1.077 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.781e-05/0.3959, allocations: 310.8 kB / 1.078 GB, free: 3.641 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.629e-05/0.3959, allocations: 8 kB / 1.078 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.763e-06/0.396, allocations: 0 / 1.078 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.003e-05/0.396, allocations: 16.8 kB / 1.078 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.396, allocations: 0 / 1.078 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.784e-05/0.3961, allocations: 41.69 kB / 1.078 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.3961, allocations: 4 kB / 1.078 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.3961, allocations: 8.031 kB / 1.078 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.3961, allocations: 0 / 1.078 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.3963, allocations: 8 kB / 1.078 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000319/0.3966, allocations: 0.5899 MB / 1.078 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.695e-05/0.3966, allocations: 0 / 1.078 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.421e-06/0.3966, allocations: 0 / 1.078 GB, free: 2.934 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.166e-05/0.3967, allocations: 113.9 kB / 1.078 GB, free: 2.812 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.317e-06/0.3967, allocations: 8 kB / 1.078 GB, free: 2.805 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.886e-05/0.3968, allocations: 44.81 kB / 1.079 GB, free: 2.754 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.3968, allocations: 0 / 1.079 GB, free: 2.754 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.3968, allocations: 0 / 1.079 GB, free: 2.754 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.3968, allocations: 0 / 1.079 GB, free: 2.754 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.378e-05/0.3969, allocations: 157.6 kB / 1.079 GB, free: 2.551 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.397, allocations: 3.938 kB / 1.079 GB, free: 2.547 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.453e-05/0.397, allocations: 8 kB / 1.079 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.3971, allocations: 4.031 kB / 1.079 GB, free: 2.535 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.022e-06/0.3971, allocations: 3.938 kB / 1.079 GB, free: 2.531 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002655/0.3973, allocations: 0.5859 MB / 1.079 GB, free: 1.922 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.3974, allocations: 7.922 kB / 1.079 GB, free: 1.914 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.644e-05/0.3974, allocations: 65.27 kB / 1.079 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.001e-05/0.3975, allocations: 77.11 kB / 1.079 GB, free: 1.738 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.3975, allocations: 7.984 kB / 1.079 GB, free: 1.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.48e-05/0.3975, allocations: 0 / 1.079 GB, free: 1.73 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.492e-05/0.3975, allocations: 7.875 kB / 1.079 GB, free: 1.723 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/0.3975, allocations: 4 kB / 1.079 GB, free: 1.719 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.856e-05/0.3976, allocations: 75.28 kB / 1.079 GB, free: 1.645 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3976, allocations: 0 / 1.079 GB, free: 1.645 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001876/0.3978, allocations: 8 kB / 1.08 GB, free: 1.637 MB / 0.8262 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001618/0.3979, allocations: 123.3 kB / 1.08 GB, free: 1.504 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000147/0.3981, allocations: 19.98 kB / 1.08 GB, free: 1.484 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3981, allocations: 0 / 1.08 GB, free: 1.484 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.585e-05/0.3982, allocations: 15.98 kB / 1.08 GB, free: 1.469 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001379/0.3983, allocations: 4.688 kB / 1.08 GB, free: 1.465 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003159/0.3987, allocations: 119.2 kB / 1.08 GB, free: 1.324 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001993/0.3989, allocations: 0.6731 MB / 1.08 GB, free: 0.625 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.635e-05/0.3989, allocations: 3.906 kB / 1.08 GB, free: 0.6211 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.211e-05/0.3989, allocations: 7.438 kB / 1.08 GB, free: 0.6133 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.3989, allocations: 0 / 1.08 GB, free: 0.6133 MB / 0.8262 GB Notification: Performance of Templates: time 0.002444/0.4014, allocations: 427.1 kB / 1.081 GB, free: 232 kB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)