Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007544/0.0007545, 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.00475/0.00475, allocations: 170 kB / 16.27 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.382/1.382, allocations: 205.4 MB / 222.4 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.53/1.53, allocations: 252 MB / 0.5105 GB, free: 4.703 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005793/0.0005795, allocations: 19.92 kB / 0.6249 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5248/0.5254, allocations: 106.3 MB / 0.7287 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.00139/0.5268, allocations: 1.025 MB / 0.7297 GB, free: 10.4 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0009426/0.5278, allocations: 0.5918 MB / 0.7303 GB, free: 9.809 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.631e-05/0.5278, allocations: 0 / 0.7303 GB, free: 9.809 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.113e-05/0.5278, allocations: 3.984 kB / 0.7303 GB, free: 9.805 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.508e-05/0.5279, allocations: 7.922 kB / 0.7303 GB, free: 9.797 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004147/0.5283, allocations: 115.6 kB / 0.7304 GB, free: 9.684 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.05e-05/0.5284, allocations: 19.92 kB / 0.7304 GB, free: 9.664 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.356e-05/0.5284, allocations: 4 kB / 0.7304 GB, free: 9.66 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.255e-05/0.5284, allocations: 11.94 kB / 0.7305 GB, free: 9.648 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.745e-05/0.5285, allocations: 11.98 kB / 0.7305 GB, free: 9.637 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.215e-05/0.5285, allocations: 0 / 0.7305 GB, free: 9.637 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004708/0.529, allocations: 339.3 kB / 0.7308 GB, free: 9.305 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.544e-05/0.529, allocations: 8 kB / 0.7308 GB, free: 9.297 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.319e-05/0.5291, allocations: 33.62 kB / 0.7308 GB, free: 9.258 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002329/0.5293, allocations: 149.7 kB / 0.731 GB, free: 9.113 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.5293, allocations: 3.938 kB / 0.731 GB, free: 9.109 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.963e-06/0.5293, allocations: 0 / 0.731 GB, free: 9.109 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.5293, allocations: 0 / 0.731 GB, free: 9.109 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004112/0.5298, allocations: 359.4 kB / 0.7313 GB, free: 8.707 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.5298, allocations: 12.03 kB / 0.7313 GB, free: 8.695 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.528e-05/0.5298, allocations: 0.9375 kB / 0.7313 GB, free: 8.695 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.5299, allocations: 164.3 kB / 0.7315 GB, free: 8.496 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.53, allocations: 4.375 kB / 0.7315 GB, free: 8.492 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.53, allocations: 384 / 0.7315 GB, free: 8.492 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.5301, allocations: 50.12 kB / 0.7315 GB, free: 8.438 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.5301, allocations: 192 / 0.7315 GB, free: 8.438 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.5301, allocations: 3.938 kB / 0.7315 GB, free: 8.434 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.5301, allocations: 4 kB / 0.7316 GB, free: 8.43 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.927e-05/0.5302, allocations: 15.98 kB / 0.7316 GB, free: 8.414 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003195/0.5305, allocations: 252.9 kB / 0.7318 GB, free: 8.117 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001837/0.5307, allocations: 54.5 kB / 0.7319 GB, free: 8.055 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.391e-05/0.5308, allocations: 16.86 kB / 0.7319 GB, free: 8.035 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/0.5308, allocations: 0 / 0.7319 GB, free: 8.035 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.5308, allocations: 42.56 kB / 0.7319 GB, free: 7.984 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.5308, allocations: 0 / 0.7319 GB, free: 7.984 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.0001692/0.531, allocations: 49.69 kB / 0.732 GB, free: 7.93 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.531, allocations: 55.39 kB / 0.732 GB, free: 7.863 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.745e-05/0.5311, allocations: 102 kB / 0.7321 GB, free: 7.754 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.5312, allocations: 29.7 kB / 0.7321 GB, free: 7.719 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.394e-05/0.5312, allocations: 84.08 kB / 0.7322 GB, free: 7.633 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.364e-05/0.5312, allocations: 11.81 kB / 0.7322 GB, free: 7.621 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-05/0.5313, allocations: 21.7 kB / 0.7323 GB, free: 7.594 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.5314, allocations: 314.8 kB / 0.7326 GB, free: 7.277 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.722e-05/0.5314, allocations: 4 kB / 0.7326 GB, free: 7.273 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.842e-05/0.5314, allocations: 21.7 kB / 0.7326 GB, free: 7.246 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.448e-05/0.5315, allocations: 25.72 kB / 0.7326 GB, free: 7.215 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.5315, allocations: 0 / 0.7326 GB, free: 7.215 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.805e-05/0.5316, allocations: 69.56 kB / 0.7327 GB, free: 7.141 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.5316, allocations: 4 kB / 0.7327 GB, free: 7.137 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.5316, allocations: 0 / 0.7327 GB, free: 7.137 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.5316, allocations: 4 kB / 0.7327 GB, free: 7.133 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.098e-05/0.5317, allocations: 4 kB / 0.7327 GB, free: 7.129 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.928e-06/0.5317, allocations: 4 kB / 0.7327 GB, free: 7.125 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.697e-05/0.5317, allocations: 11.83 kB / 0.7327 GB, free: 7.113 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-06/0.5317, allocations: 0 / 0.7327 GB, free: 7.113 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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 prepare postOptimizeDAE: time 0.0001143/0.5318, allocations: 121.7 kB / 0.7328 GB, free: 6.984 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.1e-05/0.5319, allocations: 4.031 kB / 0.7328 GB, free: 6.98 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001365/0.532, allocations: 65.23 kB / 0.7329 GB, free: 6.906 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.532, allocations: 0 / 0.7329 GB, free: 6.906 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.532, allocations: 4 kB / 0.7329 GB, free: 6.902 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.532, allocations: 3.938 kB / 0.7329 GB, free: 6.898 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001541/0.5322, allocations: 165.6 kB / 0.733 GB, free: 6.688 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.5322, allocations: 0 / 0.733 GB, free: 6.688 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.488e-05/0.5323, allocations: 7.984 kB / 0.7331 GB, free: 6.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.5323, allocations: 0 / 0.7331 GB, free: 6.68 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.5323, allocations: 4 kB / 0.7331 GB, free: 6.676 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.5323, allocations: 4 kB / 0.7331 GB, free: 6.672 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.5323, allocations: 0 / 0.7331 GB, free: 6.672 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001173/0.5324, allocations: 151.4 kB / 0.7332 GB, free: 6.508 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.817e-05/0.5325, allocations: 81.02 kB / 0.7333 GB, free: 6.41 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.13e-05/0.5325, allocations: 0 / 0.7333 GB, free: 6.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.693e-05/0.5325, allocations: 4 kB / 0.7333 GB, free: 6.406 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.944e-05/0.5326, allocations: 7.984 kB / 0.7333 GB, free: 6.398 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.5326, allocations: 4 kB / 0.7333 GB, free: 6.395 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.687e-05/0.5326, allocations: 79.28 kB / 0.7334 GB, free: 6.316 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5326, allocations: 0 / 0.7334 GB, free: 6.316 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002272/0.5328, allocations: 16 kB / 0.7334 GB, free: 6.301 MB / 0.545 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 (4): * Single equations (assignments): 4 * 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.0001777/0.533, allocations: 123.2 kB / 0.7335 GB, free: 6.168 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.407e-05/0.5331, allocations: 28.39 kB / 0.7335 GB, free: 6.141 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.5331, allocations: 0 / 0.7335 GB, free: 6.141 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.67e-05/0.5331, allocations: 8 kB / 0.7335 GB, free: 6.133 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/0.5334, allocations: 15.98 kB / 0.7336 GB, free: 6.117 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000265/0.5336, allocations: 135.7 kB / 0.7337 GB, free: 5.957 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002414/0.5339, allocations: 0.6772 MB / 0.7343 GB, free: 5.254 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.114e-05/0.5339, allocations: 11.94 kB / 0.7344 GB, free: 5.242 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.608e-05/0.5339, allocations: 11.44 kB / 0.7344 GB, free: 5.23 MB / 0.545 GB Notification: Performance of SimCode: time 3e-07/0.534, allocations: 0 / 0.7344 GB, free: 5.23 MB / 0.545 GB Notification: Performance of Templates: time 0.002517/0.5365, allocations: 0.4897 MB / 0.7348 GB, free: 4.75 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) Environment - environmentSimulation: