Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009355/0.0009356, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001145/0.001145, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.408/1.408, allocations: 205.4 MB / 222.1 MB, free: 5.457 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.49/1.49, allocations: 252 MB / 0.5102 GB, free: 4.723 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.000509/0.0005094, allocations: 12 kB / 0.6243 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5226/0.5231, allocations: 106.3 MB / 0.7281 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001629/0.5248, allocations: 0.9798 MB / 0.7291 GB, free: 10.42 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001016/0.5259, allocations: 0.5327 MB / 0.7296 GB, free: 9.887 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.685e-05/0.5259, allocations: 4 kB / 0.7296 GB, free: 9.883 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.92e-05/0.5259, allocations: 0 / 0.7296 GB, free: 9.883 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.325e-05/0.526, allocations: 3.984 kB / 0.7296 GB, free: 9.879 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004597/0.5265, allocations: 115.6 kB / 0.7297 GB, free: 9.766 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.175e-05/0.5265, allocations: 11.92 kB / 0.7297 GB, free: 9.754 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.656e-05/0.5266, allocations: 7.984 kB / 0.7297 GB, free: 9.746 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.172e-05/0.5266, allocations: 0 / 0.7297 GB, free: 9.746 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.571e-05/0.5267, allocations: 11.94 kB / 0.7297 GB, free: 9.734 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.5267, allocations: 0 / 0.7297 GB, free: 9.734 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005004/0.5272, allocations: 335.3 kB / 0.7301 GB, free: 9.406 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.416e-06/0.5272, allocations: 0 / 0.7301 GB, free: 9.406 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.749e-05/0.5273, allocations: 25.7 kB / 0.7301 GB, free: 9.375 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001837/0.5275, allocations: 101.8 kB / 0.7302 GB, free: 9.277 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.5275, allocations: 0 / 0.7302 GB, free: 9.277 MB / 0.545 GB Notification: Performance of FrontEnd: time 4.198e-06/0.5275, allocations: 0 / 0.7302 GB, free: 9.277 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.618e-06/0.5275, allocations: 3.938 kB / 0.7302 GB, free: 9.273 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004377/0.528, allocations: 343.3 kB / 0.7305 GB, free: 8.891 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.528, allocations: 8.031 kB / 0.7305 GB, free: 8.883 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.385e-05/0.528, allocations: 3.984 kB / 0.7305 GB, free: 8.879 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.5282, allocations: 163 kB / 0.7307 GB, free: 8.68 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.5282, allocations: 4 kB / 0.7307 GB, free: 8.676 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.5282, allocations: 4 kB / 0.7307 GB, free: 8.672 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.5283, allocations: 33.7 kB / 0.7307 GB, free: 8.633 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.5284, allocations: 3.938 kB / 0.7307 GB, free: 8.629 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.5284, allocations: 4 kB / 0.7307 GB, free: 8.625 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.5284, allocations: 0 / 0.7307 GB, free: 8.625 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.801e-05/0.5284, allocations: 7.984 kB / 0.7307 GB, free: 8.617 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001683/0.5286, allocations: 153.6 kB / 0.7309 GB, free: 8.418 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.959e-05/0.5286, allocations: 26.61 kB / 0.7309 GB, free: 8.383 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.031e-05/0.5287, allocations: 12.78 kB / 0.7309 GB, free: 8.367 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.949e-05/0.5287, allocations: 3.984 kB / 0.7309 GB, free: 8.363 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.5287, allocations: 42.62 kB / 0.731 GB, free: 8.312 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.5287, allocations: 0 / 0.731 GB, free: 8.312 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0001504/0.5289, allocations: 37.64 kB / 0.731 GB, free: 8.27 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/0.5289, allocations: 51.41 kB / 0.7311 GB, free: 8.207 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.047e-05/0.529, allocations: 106 kB / 0.7312 GB, free: 8.094 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.529, allocations: 25.7 kB / 0.7312 GB, free: 8.062 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.133e-05/0.5291, allocations: 80.14 kB / 0.7313 GB, free: 7.98 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.535e-05/0.5291, allocations: 7.844 kB / 0.7313 GB, free: 7.973 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.345e-06/0.5291, allocations: 0 / 0.7313 GB, free: 7.973 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.5292, allocations: 318.8 kB / 0.7316 GB, free: 7.652 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.026e-05/0.5293, allocations: 0 / 0.7316 GB, free: 7.652 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.376e-06/0.5293, allocations: 4 kB / 0.7316 GB, free: 7.648 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.268e-05/0.5293, allocations: 8.141 kB / 0.7316 GB, free: 7.641 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.5293, allocations: 0 / 0.7316 GB, free: 7.641 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.328e-05/0.5294, allocations: 49.56 kB / 0.7316 GB, free: 7.586 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.5294, allocations: 8 kB / 0.7316 GB, free: 7.578 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.5294, allocations: 0 / 0.7316 GB, free: 7.578 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.5294, allocations: 0 / 0.7316 GB, free: 7.578 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001918/0.5296, allocations: 11.98 kB / 0.7316 GB, free: 7.566 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004057/0.53, allocations: 0.586 MB / 0.7322 GB, free: 6.957 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.097e-05/0.5301, allocations: 3.953 kB / 0.7322 GB, free: 6.953 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.5301, allocations: 0 / 0.7322 GB, free: 6.953 MB / 0.545 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 9.521e-05/0.5302, allocations: 113.8 kB / 0.7323 GB, free: 6.832 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.931e-06/0.5302, allocations: 0 / 0.7323 GB, free: 6.832 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001161/0.5303, allocations: 44.81 kB / 0.7324 GB, free: 6.781 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.5303, allocations: 0 / 0.7324 GB, free: 6.781 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.5303, allocations: 0 / 0.7324 GB, free: 6.781 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.5303, allocations: 4.094 kB / 0.7324 GB, free: 6.777 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001081/0.5305, allocations: 157.6 kB / 0.7325 GB, free: 6.574 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.5305, allocations: 0 / 0.7325 GB, free: 6.574 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.674e-05/0.5305, allocations: 8 kB / 0.7325 GB, free: 6.566 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.5305, allocations: 0 / 0.7325 GB, free: 6.566 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.425e-06/0.5306, allocations: 3.984 kB / 0.7325 GB, free: 6.562 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003154/0.5309, allocations: 0.5898 MB / 0.7331 GB, free: 5.949 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.5309, allocations: 4.094 kB / 0.7331 GB, free: 5.945 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.561e-05/0.531, allocations: 57.17 kB / 0.7332 GB, free: 5.871 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.461e-05/0.531, allocations: 85 kB / 0.7333 GB, free: 5.77 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.531, allocations: 0 / 0.7333 GB, free: 5.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.561e-05/0.531, allocations: 4 kB / 0.7333 GB, free: 5.766 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.665e-05/0.5311, allocations: 3.953 kB / 0.7333 GB, free: 5.762 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.5311, allocations: 3.938 kB / 0.7333 GB, free: 5.758 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.311e-05/0.5311, allocations: 83.31 kB / 0.7333 GB, free: 5.676 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5311, allocations: 4 kB / 0.7333 GB, free: 5.672 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001991/0.5313, allocations: 8 kB / 0.7334 GB, free: 5.664 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 (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.000166/0.5315, allocations: 111.2 kB / 0.7335 GB, free: 5.543 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001654/0.5317, allocations: 19.98 kB / 0.7335 GB, free: 5.523 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.5317, allocations: 0 / 0.7335 GB, free: 5.523 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.865e-05/0.5318, allocations: 24.08 kB / 0.7335 GB, free: 5.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001589/0.5319, allocations: 9.875 kB / 0.7335 GB, free: 5.496 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003474/0.5323, allocations: 96.95 kB / 0.7336 GB, free: 5.379 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002449/0.5325, allocations: 0.677 MB / 0.7343 GB, free: 4.676 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.708e-05/0.5326, allocations: 3.938 kB / 0.7343 GB, free: 4.672 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.323e-05/0.5326, allocations: 11.5 kB / 0.7343 GB, free: 4.66 MB / 0.545 GB Notification: Performance of SimCode: time 2.5e-07/0.5326, allocations: 4 kB / 0.7343 GB, free: 4.656 MB / 0.545 GB Notification: Performance of Templates: time 0.002425/0.535, allocations: 416.2 kB / 0.7347 GB, free: 4.285 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) Environment - environmentSimulation: