Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.753/1.753, allocations: 288.2 MB / 303.2 MB, free: 8.109 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.0009928/0.0009928, allocations: 187.5 kB / 371.8 MB, free: 10.3 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.623/1.623, allocations: 205.4 MB / 0.6305 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001115/0.001116, allocations: 98.86 kB / 0.7439 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004255/0.0004256, allocations: 20.45 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.251, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001422/0.2524, allocations: 0.9629 MB / 0.9804 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0006558/0.2531, allocations: 319.2 kB / 0.9807 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.845e-05/0.2532, allocations: 0 / 0.9807 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.886e-05/0.2532, allocations: 3.984 kB / 0.9807 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.739e-05/0.2533, allocations: 0 / 0.9807 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004145/0.2537, allocations: 67.78 kB / 0.9808 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.744e-05/0.2537, allocations: 7.984 kB / 0.9808 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.92e-05/0.2538, allocations: 4 kB / 0.9808 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.601e-05/0.2538, allocations: 7.984 kB / 0.9808 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.573e-05/0.2539, allocations: 0 / 0.9808 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.2539, allocations: 3.938 kB / 0.9808 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000275/0.2542, allocations: 179.8 kB / 0.981 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.418e-06/0.2542, allocations: 3.984 kB / 0.981 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.014e-05/0.2543, allocations: 33.64 kB / 0.981 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001571/0.2544, allocations: 52.11 kB / 0.9811 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.2545, allocations: 0 / 0.9811 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.396e-06/0.2545, allocations: 0 / 0.9811 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.844e-06/0.2545, allocations: 0 / 0.9811 GB, free: 25.96 MB / 0.6198 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.0004499/0.2549, allocations: 335.3 kB / 0.9814 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.796e-05/0.255, allocations: 8.031 kB / 0.9814 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.503e-05/0.2551, allocations: 34.56 kB / 0.9814 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.276e-05/0.2551, allocations: 3.906 kB / 0.9814 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.2553, allocations: 171 kB / 0.9816 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.2553, allocations: 0 / 0.9816 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.288e-05/0.2553, allocations: 3.984 kB / 0.9816 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.2555, allocations: 29.7 kB / 0.9816 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.2555, allocations: 0 / 0.9816 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.2555, allocations: 4 kB / 0.9816 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.2555, allocations: 0 / 0.9816 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.465e-05/0.2555, allocations: 7.938 kB / 0.9816 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001758/0.2557, allocations: 161.7 kB / 0.9818 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.731e-05/0.2558, allocations: 18.58 kB / 0.9818 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.94e-05/0.2558, allocations: 0 / 0.9818 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/0.2559, allocations: 30.56 kB / 0.9819 GB, free: 25 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 7.61e-07/0.2559, allocations: 0 / 0.9819 GB, free: 25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001549/0.256, allocations: 49.78 kB / 0.9819 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/0.2561, allocations: 55.44 kB / 0.982 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.2562, allocations: 93.86 kB / 0.982 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.2562, allocations: 25.7 kB / 0.9821 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.598e-05/0.2563, allocations: 84.14 kB / 0.9821 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.723e-05/0.2563, allocations: 7.891 kB / 0.9822 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-06/0.2563, allocations: 0 / 0.9822 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.417e-05/0.2564, allocations: 314.8 kB / 0.9825 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.566e-05/0.2564, allocations: 8.125 kB / 0.9825 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.953e-06/0.2564, allocations: 0 / 0.9825 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.984e-05/0.2564, allocations: 8 kB / 0.9825 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.2564, allocations: 0 / 0.9825 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.628e-05/0.2565, allocations: 45.53 kB / 0.9825 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.2565, allocations: 7.984 kB / 0.9825 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.2565, allocations: 0 / 0.9825 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.2566, allocations: 4 kB / 0.9825 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002245/0.2568, allocations: 9 kB / 0.9825 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003704/0.2572, allocations: 0.5822 MB / 0.9831 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.893e-05/0.2572, allocations: 0 / 0.9831 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.2572, allocations: 3.984 kB / 0.9831 GB, free: 23.64 MB / 0.6198 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 8.346e-05/0.2573, allocations: 117.8 kB / 0.9832 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.144e-06/0.2573, allocations: 0 / 0.9832 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001253/0.2575, allocations: 56.75 kB / 0.9833 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.2575, allocations: 0 / 0.9833 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.2575, allocations: 0 / 0.9833 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.2575, allocations: 3.938 kB / 0.9833 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001079/0.2576, allocations: 149.6 kB / 0.9834 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2576, allocations: 0 / 0.9834 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.301e-05/0.2577, allocations: 11.98 kB / 0.9834 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.2577, allocations: 0 / 0.9834 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.2577, allocations: 0 / 0.9834 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002798/0.258, allocations: 0.5861 MB / 0.984 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.258, allocations: 7.891 kB / 0.984 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.886e-05/0.2581, allocations: 65.16 kB / 0.9841 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.884e-05/0.2581, allocations: 81.11 kB / 0.9841 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.2582, allocations: 0 / 0.9841 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.405e-05/0.2582, allocations: 0 / 0.9841 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.939e-05/0.2582, allocations: 12.11 kB / 0.9842 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.2582, allocations: 3.953 kB / 0.9842 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.741e-05/0.2582, allocations: 75.28 kB / 0.9842 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.3e-07/0.2583, allocations: 0 / 0.9842 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002286/0.2585, allocations: 12 kB / 0.9842 GB, free: 22.34 MB / 0.6198 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.0004093/0.2589, allocations: 0.6133 MB / 0.9848 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001759/0.2591, allocations: 19.98 kB / 0.9849 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2591, allocations: 0 / 0.9849 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.959e-05/0.2592, allocations: 15.92 kB / 0.9849 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001342/0.2593, allocations: 5.688 kB / 0.9849 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005324/0.2599, allocations: 146.7 kB / 0.985 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002323/0.2601, allocations: 0.6809 MB / 0.9857 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.875e-05/0.2602, allocations: 0 / 0.9857 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.929e-05/0.2602, allocations: 7.438 kB / 0.9857 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.2602, allocations: 4 kB / 0.9857 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01608/0.2763, allocations: 1.139 MB / 0.9868 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000207/0.2766, allocations: 251.8 kB / 0.9871 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.688/1.965, allocations: 0 / 0.9871 GB, free: 19.54 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)