Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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_m_flow,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",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 2.63/2.63, allocations: 287.5 MB / 302.4 MB, free: 8.215 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.001328/0.001328, allocations: 186.4 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.009/2.009, allocations: 205.4 MB / 0.6297 GB, free: 10.62 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.0009096/0.0009094, allocations: 102.1 kB / 0.743 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000487/0.0004872, allocations: 12.12 kB / 0.8659 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2095/0.2101, allocations: 115.3 MB / 0.9785 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001356/0.2115, allocations: 0.9704 MB / 0.9794 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001012/0.2125, allocations: 0.5347 MB / 0.9799 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.467e-05/0.2126, allocations: 0 / 0.9799 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.726e-05/0.2126, allocations: 3.984 kB / 0.9799 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.18e-05/0.2126, allocations: 7.922 kB / 0.9799 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005546/0.2132, allocations: 116.6 kB / 0.9801 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.371e-05/0.2133, allocations: 4 kB / 0.9801 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.888e-05/0.2133, allocations: 11.92 kB / 0.9801 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.75e-05/0.2134, allocations: 0 / 0.9801 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.443e-05/0.2134, allocations: 8 kB / 0.9801 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.2134, allocations: 0 / 0.9801 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006709/0.2141, allocations: 335.3 kB / 0.9804 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.965e-06/0.2141, allocations: 0 / 0.9804 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.909e-05/0.2142, allocations: 25.7 kB / 0.9804 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002228/0.2144, allocations: 104 kB / 0.9805 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.2144, allocations: 0 / 0.9805 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.793e-06/0.2144, allocations: 0 / 0.9805 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.05e-05/0.2144, allocations: 0 / 0.9805 GB, free: 26.13 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.0003337/0.2148, allocations: 351.3 kB / 0.9809 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.2148, allocations: 11.97 kB / 0.9809 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.619e-05/0.2149, allocations: 30.56 kB / 0.9809 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.378e-05/0.2149, allocations: 3.906 kB / 0.9809 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.158e-05/0.215, allocations: 175 kB / 0.9811 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.215, allocations: 4 kB / 0.9811 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.865e-06/0.215, allocations: 0 / 0.9811 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.197e-05/0.2151, allocations: 33.69 kB / 0.9811 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.2152, allocations: 0 / 0.9811 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.884e-06/0.2152, allocations: 0 / 0.9811 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.2152, allocations: 0 / 0.9811 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.105e-05/0.2152, allocations: 4 kB / 0.9811 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000131/0.2154, allocations: 149.6 kB / 0.9812 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.483e-05/0.2154, allocations: 38.53 kB / 0.9813 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.084e-05/0.2155, allocations: 4.859 kB / 0.9813 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.2155, allocations: 4.062 kB / 0.9813 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.859e-05/0.2155, allocations: 30.56 kB / 0.9813 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.573e-06/0.2155, allocations: 0 / 0.9813 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001492/0.2157, allocations: 37.7 kB / 0.9814 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.322e-05/0.2157, allocations: 51.53 kB / 0.9814 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.405e-05/0.2158, allocations: 101.8 kB / 0.9815 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.295e-06/0.2158, allocations: 29.64 kB / 0.9815 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.916e-05/0.2158, allocations: 80.14 kB / 0.9816 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.309e-05/0.2159, allocations: 15.84 kB / 0.9816 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-06/0.2159, allocations: 0 / 0.9816 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.745e-05/0.216, allocations: 314.8 kB / 0.9819 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.504e-05/0.216, allocations: 0 / 0.9819 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.441e-05/0.216, allocations: 8.109 kB / 0.9819 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.153e-05/0.216, allocations: 4.062 kB / 0.9819 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.216, allocations: 0 / 0.9819 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.234e-05/0.2161, allocations: 41.7 kB / 0.982 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.2161, allocations: 4 kB / 0.982 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.2162, allocations: 0 / 0.982 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.2162, allocations: 0 / 0.982 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002173/0.2164, allocations: 11.98 kB / 0.982 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000299/0.2167, allocations: 0.586 MB / 0.9826 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.628e-05/0.2168, allocations: 7.953 kB / 0.9826 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.2168, allocations: 4.031 kB / 0.9826 GB, free: 23.78 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 6.251e-05/0.2169, allocations: 109.8 kB / 0.9827 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.247e-06/0.2169, allocations: 0 / 0.9827 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001172/0.217, allocations: 48.72 kB / 0.9827 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.217, allocations: 128 / 0.9827 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.217, allocations: 11.94 kB / 0.9827 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.217, allocations: 3.938 kB / 0.9827 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.852e-05/0.2171, allocations: 149.6 kB / 0.9829 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.2171, allocations: 3.984 kB / 0.9829 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001254/0.2173, allocations: 12.02 kB / 0.9829 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.2173, allocations: 0 / 0.9829 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.2173, allocations: 4 kB / 0.9829 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002361/0.2176, allocations: 0.5899 MB / 0.9835 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2176, allocations: 0 / 0.9835 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.797e-05/0.2177, allocations: 69.09 kB / 0.9835 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.171e-05/0.2177, allocations: 77.11 kB / 0.9836 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.2177, allocations: 4 kB / 0.9836 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.024e-05/0.2177, allocations: 0 / 0.9836 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.232e-05/0.2178, allocations: 3.953 kB / 0.9836 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.2178, allocations: 4.125 kB / 0.9836 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.523e-05/0.2178, allocations: 79.28 kB / 0.9837 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.423e-06/0.2178, allocations: 0 / 0.9837 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002793/0.2181, allocations: 19.88 kB / 0.9837 GB, free: 22.48 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.0003453/0.2185, allocations: 0.6087 MB / 0.9843 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002328/0.2187, allocations: 19.92 kB / 0.9843 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2187, allocations: 0 / 0.9843 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001402/0.2189, allocations: 15.98 kB / 0.9844 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001753/0.2191, allocations: 7.891 kB / 0.9844 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004567/0.2195, allocations: 140.9 kB / 0.9845 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001125/0.2197, allocations: 0.677 MB / 0.9852 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.145e-05/0.2197, allocations: 0 / 0.9852 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.478e-05/0.2197, allocations: 11.44 kB / 0.9852 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of SimCode: time 7.72e-07/0.2198, allocations: 0 / 0.9852 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01967/0.2394, allocations: 1.185 MB / 0.9863 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000268/0.2398, allocations: 257 kB / 0.9866 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.371/2.611, allocations: 0 / 0.9866 GB, free: 19.64 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)