Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0/package.mo): time 1.821/1.821, allocations: 287.4 MB / 302.5 MB, free: 8.297 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.000997/0.000997, allocations: 179.9 kB / 371.1 MB, free: 10.82 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.388/1.388, allocations: 205.4 MB / 0.6298 GB, free: 10.56 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.0007641/0.0007641, allocations: 98.77 kB / 0.7431 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003852/0.0003853, allocations: 12.84 kB / 0.8662 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1988/0.1992, allocations: 115.3 MB / 0.9787 GB, free: 28.08 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001131/0.2004, allocations: 0.9782 MB / 0.9797 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007124/0.2011, allocations: 0.53 MB / 0.9802 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.874e-05/0.2012, allocations: 4 kB / 0.9802 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.32e-05/0.2012, allocations: 0 / 0.9802 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.763e-05/0.2013, allocations: 7.922 kB / 0.9802 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003774/0.2017, allocations: 113 kB / 0.9803 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.108e-05/0.2017, allocations: 11.94 kB / 0.9803 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.433e-05/0.2018, allocations: 3.984 kB / 0.9803 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.69e-05/0.2018, allocations: 4 kB / 0.9803 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.243e-05/0.2018, allocations: 11.92 kB / 0.9804 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.019e-05/0.2018, allocations: 4 kB / 0.9804 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003729/0.2022, allocations: 327.4 kB / 0.9807 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.526e-06/0.2022, allocations: 7.938 kB / 0.9807 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.874e-05/0.2023, allocations: 25.7 kB / 0.9807 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.2024, allocations: 92.05 kB / 0.9808 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2024, allocations: 4 kB / 0.9808 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2024, allocations: 0 / 0.9808 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.2024, allocations: 0 / 0.9808 GB, free: 25.95 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.0002924/0.2027, allocations: 347.5 kB / 0.9811 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.2028, allocations: 12.03 kB / 0.9811 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.568e-05/0.2028, allocations: 38.73 kB / 0.9812 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.996e-05/0.2029, allocations: 4.844 kB / 0.9812 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.043e-05/0.203, allocations: 160.4 kB / 0.9813 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.203, allocations: 384 / 0.9813 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.512e-06/0.203, allocations: 4.375 kB / 0.9813 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.533e-05/0.2031, allocations: 26.27 kB / 0.9814 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.2031, allocations: 11.88 kB / 0.9814 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.342e-06/0.2031, allocations: 4 kB / 0.9814 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.2031, allocations: 0 / 0.9814 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.553e-05/0.2032, allocations: 7.984 kB / 0.9814 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001067/0.2033, allocations: 145.7 kB / 0.9815 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.671e-05/0.2033, allocations: 26.67 kB / 0.9816 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.533e-05/0.2033, allocations: 8.844 kB / 0.9816 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.2034, allocations: 0 / 0.9816 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.383e-05/0.2034, allocations: 34.56 kB / 0.9816 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 7.32e-07/0.2034, allocations: 4 kB / 0.9816 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001126/0.2035, allocations: 45.58 kB / 0.9816 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.736e-05/0.2035, allocations: 51.41 kB / 0.9817 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.467e-05/0.2036, allocations: 101.8 kB / 0.9818 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.853e-06/0.2036, allocations: 25.7 kB / 0.9818 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.582e-05/0.2036, allocations: 84.08 kB / 0.9819 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.64e-05/0.2036, allocations: 3.906 kB / 0.9819 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.073e-06/0.2037, allocations: 0 / 0.9819 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.051e-05/0.2037, allocations: 319.1 kB / 0.9822 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.927e-06/0.2037, allocations: 0 / 0.9822 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.556e-06/0.2037, allocations: 8 kB / 0.9822 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.407e-05/0.2038, allocations: 20.72 kB / 0.9822 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.2038, allocations: 0 / 0.9822 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.658e-05/0.2038, allocations: 37.7 kB / 0.9823 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.2038, allocations: 7.938 kB / 0.9823 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.2038, allocations: 3.984 kB / 0.9823 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.2039, allocations: 4.094 kB / 0.9823 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/0.204, allocations: 11.98 kB / 0.9823 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002195/0.2042, allocations: 0.586 MB / 0.9829 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.698e-05/0.2043, allocations: 0 / 0.9829 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-06/0.2043, allocations: 0 / 0.9829 GB, free: 23.58 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 4.607e-05/0.2043, allocations: 109.9 kB / 0.983 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.293e-06/0.2043, allocations: 11.91 kB / 0.983 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.976e-05/0.2044, allocations: 48.8 kB / 0.983 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.2044, allocations: 0 / 0.983 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.2045, allocations: 0 / 0.983 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.2045, allocations: 0 / 0.983 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.332e-05/0.2045, allocations: 157.6 kB / 0.9832 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.2045, allocations: 0 / 0.9832 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.016e-05/0.2046, allocations: 11.98 kB / 0.9832 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.2046, allocations: 0 / 0.9832 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.71e-06/0.2046, allocations: 8.031 kB / 0.9832 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001654/0.2048, allocations: 0.5821 MB / 0.9838 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2048, allocations: 3.938 kB / 0.9838 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.7e-05/0.2049, allocations: 65.16 kB / 0.9838 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.599e-05/0.2049, allocations: 81.23 kB / 0.9839 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.978e-06/0.2049, allocations: 0 / 0.9839 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.348e-05/0.2049, allocations: 0 / 0.9839 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.674e-05/0.2049, allocations: 7.875 kB / 0.9839 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.2049, allocations: 8 kB / 0.9839 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.472e-05/0.205, allocations: 75.28 kB / 0.984 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.11e-07/0.205, allocations: 3.938 kB / 0.984 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001705/0.2051, allocations: 15.94 kB / 0.984 GB, free: 22.28 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.0002375/0.2054, allocations: 0.6126 MB / 0.9846 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001463/0.2055, allocations: 19.98 kB / 0.9846 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.2056, allocations: 0 / 0.9846 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.303e-05/0.2056, allocations: 20.8 kB / 0.9847 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001329/0.2058, allocations: 8.094 kB / 0.9847 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003149/0.2061, allocations: 144.7 kB / 0.9848 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.61e-05/0.2062, allocations: 0.6731 MB / 0.9855 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.558e-05/0.2062, allocations: 4 kB / 0.9855 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.703e-05/0.2063, allocations: 7.438 kB / 0.9855 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.2063, allocations: 0 / 0.9855 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3553/0.5616, allocations: 1.118 MB / 0.9866 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002142/0.5619, allocations: 238.1 kB / 0.9868 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.627/2.189, allocations: 3.266 kB / 0.9868 GB, free: 19.55 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)