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_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="Buildings_maint_7_0_x_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_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.425/1.425, allocations: 249.5 MB / 257 MB, free: 6.988 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00118/0.00118, allocations: 176.9 kB / 316.3 MB, free: 3.312 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.718/1.718, allocations: 205.3 MB / 0.5671 GB, free: 15.84 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009254/0.0009252, allocations: 90.77 kB / 0.6714 GB, free: 4.965 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.844e-05/1.824e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.2358, allocations: 106.3 MB / 0.8853 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.746/0.9818, allocations: 132.3 MB / 1.015 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002712/0.9822, allocations: 80.06 kB / 1.015 GB, free: 5.082 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.007081/0.9893, allocations: 2.259 MB / 1.017 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.325e-06/0.9893, allocations: 0 / 1.017 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.867e-06/0.9894, allocations: 0 / 1.017 GB, free: 3.184 MB / 0.6355 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.0003501/0.9897, allocations: 334.4 kB / 1.017 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.9898, allocations: 12.03 kB / 1.017 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.127e-05/0.9898, allocations: 5.25 kB / 1.017 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.99, allocations: 163 kB / 1.017 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.99, allocations: 0 / 1.017 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.185e-06/0.99, allocations: 0 / 1.017 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.265e-05/0.9901, allocations: 7.188 kB / 1.017 GB, free: 2.594 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.607e-05/0.9901, allocations: 33.69 kB / 1.017 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.9901, allocations: 0 / 1.017 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.9902, allocations: 0 / 1.017 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.9902, allocations: 0 / 1.017 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001652/0.9903, allocations: 141.7 kB / 1.018 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.988e-05/0.9904, allocations: 23.45 kB / 1.018 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.9e-05/0.9904, allocations: 8.844 kB / 1.018 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.476e-05/0.9905, allocations: 8.047 kB / 1.018 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.9905, allocations: 33.69 kB / 1.018 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.9905, allocations: 0 / 1.018 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001386/0.9906, allocations: 33.7 kB / 1.018 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.088e-05/0.9907, allocations: 55.41 kB / 1.018 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.795e-05/0.9908, allocations: 85 kB / 1.018 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.9908, allocations: 25.7 kB / 1.018 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.065e-05/0.9908, allocations: 83.27 kB / 1.018 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.76e-05/0.9909, allocations: 15.83 kB / 1.018 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-06/0.9909, allocations: 0 / 1.018 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.991, allocations: 311 kB / 1.018 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.55e-05/0.9911, allocations: 4 kB / 1.018 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.047e-05/0.9911, allocations: 14.75 kB / 1.018 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.454e-05/0.9911, allocations: 0 / 1.018 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.9911, allocations: 0 / 1.018 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.596e-05/0.9912, allocations: 37.66 kB / 1.018 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.9912, allocations: 8 kB / 1.018 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.9912, allocations: 0.5625 kB / 1.018 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.9912, allocations: 3.984 kB / 1.018 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.9914, allocations: 8 kB / 1.018 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004088/0.9918, allocations: 0.5857 MB / 1.019 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.322e-05/0.9919, allocations: 4 kB / 1.019 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.9919, allocations: 4.031 kB / 1.019 GB, free: 0.9648 MB / 0.6355 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 () * 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 0.0001138/0.992, allocations: 115.5 kB / 1.019 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.709e-05/0.9921, allocations: 33.7 kB / 1.019 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.931e-06/0.9921, allocations: 4.125 kB / 1.019 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001123/0.9922, allocations: 48.45 kB / 1.019 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.9922, allocations: 0 / 1.019 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.9922, allocations: 0 / 1.019 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.9922, allocations: 3.953 kB / 1.019 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001173/0.9923, allocations: 133.7 kB / 1.019 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.9924, allocations: 0 / 1.019 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.219e-05/0.9924, allocations: 11.94 kB / 1.019 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.9925, allocations: 0 / 1.019 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.9925, allocations: 0 / 1.019 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003495/0.9928, allocations: 0.5931 MB / 1.02 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.9928, allocations: 0 / 1.02 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.504e-05/0.9929, allocations: 59.83 kB / 1.02 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.807e-05/0.993, allocations: 77.11 kB / 1.02 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.993, allocations: 4.125 kB / 1.02 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.77e-05/0.993, allocations: 7.984 kB / 1.02 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.744e-05/0.993, allocations: 7.891 kB / 1.02 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-06/0.993, allocations: 0 / 1.02 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.167e-05/0.9931, allocations: 75.28 kB / 1.02 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.81e-07/0.9931, allocations: 0 / 1.02 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001994/0.9933, allocations: 15.94 kB / 1.02 GB, free: 15.68 MB / 0.6511 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 () * 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.0004594/0.9938, allocations: 0.6173 MB / 1.021 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001581/0.9939, allocations: 14 kB / 1.021 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.994, allocations: 0 / 1.021 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.487e-05/0.994, allocations: 15.92 kB / 1.021 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001181/0.9942, allocations: 3.953 kB / 1.021 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002947/0.9945, allocations: 89.31 kB / 1.021 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002866/0.9948, allocations: 0.6729 MB / 1.021 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 1.944e-05/0.9948, allocations: 3.984 kB / 1.021 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.006e-05/0.9948, allocations: 7.438 kB / 1.021 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of SimCode: time 3.7e-07/0.9948, allocations: 4 kB / 1.021 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01999/1.015, allocations: 0.7427 MB / 1.022 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002343/1.015, allocations: 194.8 kB / 1.022 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.613/2.628, allocations: 0 / 1.022 GB, free: 13.27 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)