Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.843/1.843, allocations: 292.6 MB / 307.5 MB, free: 5.203 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001297/0.001297, allocations: 184.5 kB / 377.1 MB, free: 1.527 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.927/1.927, allocations: 205.4 MB / 0.6366 GB, free: 8.613 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009499/0.00095, allocations: 95.33 kB / 0.7509 GB, free: 63.22 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003782/0.0003783, allocations: 8 kB / 0.8749 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2827, allocations: 116.3 MB / 0.9884 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.699/0.9818, allocations: 139.5 MB / 1.125 GB, free: 35.16 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002386/0.9821, allocations: 82.3 kB / 1.125 GB, free: 35.09 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.008769/0.9909, allocations: 3.449 MB / 1.128 GB, free: 32.53 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.114e-06/0.9909, allocations: 0.5625 kB / 1.128 GB, free: 32.53 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.991, allocations: 0 / 1.128 GB, free: 32.53 MB / 0.7292 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.0002604/0.9912, allocations: 338.6 kB / 1.128 GB, free: 32.15 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.9913, allocations: 8.031 kB / 1.128 GB, free: 32.14 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.629e-05/0.9913, allocations: 34.56 kB / 1.128 GB, free: 32.1 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.306e-05/0.9913, allocations: 3.906 kB / 1.128 GB, free: 32.1 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.956e-05/0.9914, allocations: 160.4 kB / 1.129 GB, free: 31.91 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.9914, allocations: 3.438 kB / 1.129 GB, free: 31.91 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.9915, allocations: 15.52 kB / 1.129 GB, free: 31.89 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.223e-05/0.9916, allocations: 29.64 kB / 1.129 GB, free: 31.86 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.9916, allocations: 0 / 1.129 GB, free: 31.86 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.214e-06/0.9916, allocations: 0 / 1.129 GB, free: 31.86 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.9916, allocations: 4.656 kB / 1.129 GB, free: 31.86 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.214e-05/0.9916, allocations: 1.125 kB / 1.129 GB, free: 31.86 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001229/0.9917, allocations: 154.1 kB / 1.129 GB, free: 31.66 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.033e-05/0.9918, allocations: 22.61 kB / 1.129 GB, free: 31.63 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.9918, allocations: 4.062 kB / 1.129 GB, free: 31.62 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.689e-05/0.9918, allocations: 39 kB / 1.129 GB, free: 31.58 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.9919, allocations: 0 / 1.129 GB, free: 31.58 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0001213/0.992, allocations: 44.52 kB / 1.129 GB, free: 31.54 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.523e-05/0.992, allocations: 51.41 kB / 1.129 GB, free: 31.47 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.734e-05/0.9921, allocations: 93.12 kB / 1.129 GB, free: 31.38 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.384e-06/0.9921, allocations: 29.83 kB / 1.129 GB, free: 31.34 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.76e-05/0.9921, allocations: 83.52 kB / 1.129 GB, free: 31.26 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.934e-05/0.9921, allocations: 3.984 kB / 1.129 GB, free: 31.25 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.294e-06/0.9921, allocations: 0 / 1.129 GB, free: 31.25 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.444e-05/0.9922, allocations: 314.8 kB / 1.129 GB, free: 30.94 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.069e-05/0.9922, allocations: 4 kB / 1.129 GB, free: 30.93 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.234e-06/0.9922, allocations: 11.88 kB / 1.129 GB, free: 30.92 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.455e-05/0.9922, allocations: 0.9375 kB / 1.129 GB, free: 30.92 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.9922, allocations: 8.016 kB / 1.129 GB, free: 30.91 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.181e-05/0.9923, allocations: 41.08 kB / 1.13 GB, free: 30.87 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.9923, allocations: 8 kB / 1.13 GB, free: 30.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.666e-06/0.9923, allocations: 0 / 1.13 GB, free: 30.86 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.9923, allocations: 0 / 1.13 GB, free: 30.86 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.9925, allocations: 11.47 kB / 1.13 GB, free: 30.86 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002312/0.9927, allocations: 0.5859 MB / 1.13 GB, free: 30.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.826e-05/0.9928, allocations: 4.125 kB / 1.13 GB, free: 30.25 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.9928, allocations: 3.953 kB / 1.13 GB, free: 30.24 MB / 0.7292 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 5.139e-05/0.9928, allocations: 110.6 kB / 1.13 GB, free: 30.12 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.035e-06/0.9928, allocations: 5.578 kB / 1.13 GB, free: 30.12 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.515e-05/0.9929, allocations: 40.83 kB / 1.13 GB, free: 30.08 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.9929, allocations: 0.5 kB / 1.13 GB, free: 30.08 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.993, allocations: 0 / 1.13 GB, free: 30.08 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.993, allocations: 3.5 kB / 1.13 GB, free: 30.08 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.776e-05/0.993, allocations: 157.6 kB / 1.13 GB, free: 29.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.993, allocations: 0.625 kB / 1.13 GB, free: 29.88 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.589e-05/0.9931, allocations: 12.17 kB / 1.13 GB, free: 29.87 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.9931, allocations: 0 / 1.13 GB, free: 29.87 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.9931, allocations: 0 / 1.13 GB, free: 29.87 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001649/0.9933, allocations: 0.5933 MB / 1.131 GB, free: 29.26 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.9933, allocations: 3.953 kB / 1.131 GB, free: 29.26 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.851e-05/0.9934, allocations: 61.27 kB / 1.131 GB, free: 29.18 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.901e-05/0.9934, allocations: 84.47 kB / 1.131 GB, free: 29.08 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.11e-05/0.9934, allocations: 5.281 kB / 1.131 GB, free: 29.08 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.33e-05/0.9934, allocations: 0 / 1.131 GB, free: 29.08 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.058e-05/0.9934, allocations: 7.891 kB / 1.131 GB, free: 29.07 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-06/0.9934, allocations: 0 / 1.131 GB, free: 29.07 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.661e-05/0.9935, allocations: 83.31 kB / 1.131 GB, free: 28.99 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9935, allocations: 0 / 1.131 GB, free: 28.99 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002113/0.9937, allocations: 16 kB / 1.131 GB, free: 28.97 MB / 0.7292 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.0002689/0.994, allocations: 0.6134 MB / 1.132 GB, free: 28.34 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001386/0.9941, allocations: 19.55 kB / 1.132 GB, free: 28.32 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.9941, allocations: 7.938 kB / 1.132 GB, free: 28.32 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.605e-05/0.9942, allocations: 11.47 kB / 1.132 GB, free: 28.31 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.546e-05/0.9943, allocations: 0 / 1.132 GB, free: 28.31 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003928/0.9947, allocations: 150.2 kB / 1.132 GB, free: 28.14 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001039/0.9948, allocations: 0.6806 MB / 1.133 GB, free: 27.44 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.519e-05/0.9948, allocations: 0 / 1.133 GB, free: 27.44 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.112e-05/0.9949, allocations: 7.438 kB / 1.133 GB, free: 27.43 MB / 0.7292 GB Notification: Performance of SimCode: time 2.41e-07/0.9949, allocations: 0 / 1.133 GB, free: 27.43 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01338/1.008, allocations: 1.124 MB / 1.134 GB, free: 26.86 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002104/1.009, allocations: 241.9 kB / 1.134 GB, free: 26.62 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.62/2.628, allocations: 4 kB / 1.134 GB, free: 26.61 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)