Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.807/4.807, allocations: 0.5623 GB / 0.5769 GB, free: 3.355 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002411/0.002411, allocations: 357.8 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.911/3.911, allocations: 410.7 MB / 1.112 GB, free: 5.949 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001794/0.001794, allocations: 183.9 kB / 1.225 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0007798/0.00078, allocations: 12 kB / 1.348 GB, free: 8.273 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6162/0.617, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001709/0.6187, allocations: 0.9726 MB / 1.462 GB, free: 283.4 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.000815/0.6196, allocations: 334.1 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.996e-05/0.6197, allocations: 0 / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.536e-05/0.6197, allocations: 3.938 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.372e-05/0.6198, allocations: 0.7812 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004612/0.6202, allocations: 72.31 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 5.151e-05/0.6203, allocations: 8.969 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.127e-05/0.6204, allocations: 0 / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 2.155e-05/0.6204, allocations: 4 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.443e-05/0.6205, allocations: 1.031 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.242e-05/0.6205, allocations: 0 / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000445/0.621, allocations: 167.7 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.168e-05/0.621, allocations: 8.484 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.181e-05/0.621, allocations: 31.2 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001649/0.6212, allocations: 42.05 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.768e-06/0.6212, allocations: 0 / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.255e-06/0.6213, allocations: 0 / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.192e-05/0.6213, allocations: 0.6875 kB / 1.462 GB, free: 282.7 MB / 0.8542 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.000348/0.6216, allocations: 335.9 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.6217, allocations: 16.11 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.5e-05/0.6218, allocations: 11.94 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.6219, allocations: 169.1 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.6219, allocations: 0 / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.622, allocations: 0 / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.6221, allocations: 29.7 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.6221, allocations: 1.094 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.647e-06/0.6221, allocations: 0 / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.6221, allocations: 0 / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.696e-05/0.6222, allocations: 13.55 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000161/0.6224, allocations: 150.7 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 7.019e-05/0.6225, allocations: 27.58 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.297e-05/0.6225, allocations: 12.91 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.692e-05/0.6226, allocations: 1.312 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.6226, allocations: 30.56 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 2.602e-06/0.6226, allocations: 0.6562 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0001956/0.6228, allocations: 42.58 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/0.6229, allocations: 59.34 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.252e-05/0.623, allocations: 99.62 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/0.623, allocations: 25.7 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.168e-05/0.623, allocations: 80.14 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.654e-05/0.6231, allocations: 8.469 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.855e-06/0.6231, allocations: 2.969 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.107e-05/0.6232, allocations: 310.8 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.005e-05/0.6232, allocations: 0 / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.918e-05/0.6232, allocations: 8 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.944e-05/0.6233, allocations: 7.953 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.701e-06/0.6233, allocations: 0 / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001273/0.6234, allocations: 38.5 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.6235, allocations: 7.438 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.126e-06/0.6235, allocations: 1.219 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.6235, allocations: 0 / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002438/0.6238, allocations: 11.98 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003799/0.6242, allocations: 0.5889 MB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.027e-05/0.6243, allocations: 16.47 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.978e-06/0.6243, allocations: 0 / 1.464 GB, free: 280.4 MB / 0.8542 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 7.67e-05/0.6244, allocations: 106.4 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.793e-05/0.6244, allocations: 1.625 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001461/0.6246, allocations: 48.75 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.481e-06/0.6246, allocations: 4 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.459e-06/0.6246, allocations: 0.6875 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.475e-06/0.6246, allocations: 0.6094 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001052/0.6248, allocations: 158.5 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.143e-06/0.6248, allocations: 3.938 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001472/0.6249, allocations: 10.41 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.099e-06/0.625, allocations: 3.984 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.724e-06/0.625, allocations: 0 / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003273/0.6253, allocations: 0.5864 MB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.983e-06/0.6254, allocations: 1.656 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001033/0.6255, allocations: 65.11 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.722e-05/0.6255, allocations: 82.72 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.904e-05/0.6256, allocations: 0 / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.566e-05/0.6256, allocations: 0.7188 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.992e-05/0.6256, allocations: 7.953 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.738e-06/0.6257, allocations: 4.625 kB / 1.465 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.104e-05/0.6257, allocations: 76.53 kB / 1.465 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.288e-06/0.6257, allocations: 0 / 1.465 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005036/0.6262, allocations: 8.656 kB / 1.465 GB, free: 279.2 MB / 0.8542 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002055/0.6265, allocations: 116.8 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002723/0.6268, allocations: 19.98 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.794e-06/0.6268, allocations: 0.8125 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001661/0.627, allocations: 20.83 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002858/0.6273, allocations: 3.375 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003909/0.6277, allocations: 108.9 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001356/0.6279, allocations: 0.6788 MB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.777e-05/0.6279, allocations: 3.906 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.733e-05/0.6279, allocations: 7.438 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of SimCode: time 1.991e-06/0.628, allocations: 0 / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.004133/0.6321, allocations: 423.9 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB