Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="IBPSA_latest_IBPSA_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 104.7 kB / 16.27 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001658/0.001658, allocations: 188 kB / 17.2 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7676/0.7676, allocations: 122.9 MB / 413.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00212/0.00212, allocations: 67.89 kB / 0.4912 GB, free: 7.363 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.324, allocations: 77.93 MB / 0.5673 GB, free: 32.87 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.00238/0.3264, allocations: 1.238 MB / 0.5685 GB, free: 32.01 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008386/0.3273, allocations: 0.5865 MB / 0.5691 GB, free: 31.61 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.129e-05/0.3273, allocations: 0 / 0.5691 GB, free: 31.61 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.383e-05/0.3274, allocations: 1.812 kB / 0.5691 GB, free: 31.61 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.867e-05/0.3274, allocations: 4.875 kB / 0.5691 GB, free: 31.6 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004576/0.3279, allocations: 143.3 kB / 0.5692 GB, free: 31.54 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.067e-05/0.3279, allocations: 10.97 kB / 0.5692 GB, free: 31.53 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.552e-05/0.328, allocations: 5.906 kB / 0.5692 GB, free: 31.53 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.962e-05/0.328, allocations: 3.781 kB / 0.5692 GB, free: 31.53 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.226e-05/0.3281, allocations: 3.234 kB / 0.5692 GB, free: 31.53 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.3281, allocations: 1.844 kB / 0.5692 GB, free: 31.53 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005787/0.3287, allocations: 345 kB / 0.5696 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.216e-05/0.3287, allocations: 3.594 kB / 0.5696 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.135e-05/0.3287, allocations: 5.406 kB / 0.5696 GB, free: 31.42 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002937/0.329, allocations: 141.6 kB / 0.5697 GB, free: 31.38 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.329, allocations: 0.5625 kB / 0.5697 GB, free: 31.38 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.329, allocations: 4.5 kB / 0.5697 GB, free: 31.38 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.329, allocations: 0.9375 kB / 0.5697 GB, free: 31.38 MB / 446.1 MB 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.0003628/0.3294, allocations: 350.1 kB / 0.57 GB, free: 31 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.3295, allocations: 9.781 kB / 0.5701 GB, free: 31 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.085e-05/0.3295, allocations: 32.58 kB / 0.5701 GB, free: 30.96 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.574e-05/0.3295, allocations: 7.25 kB / 0.5701 GB, free: 30.96 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.413e-05/0.3296, allocations: 161.4 kB / 0.5702 GB, free: 30.76 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.3297, allocations: 6.984 kB / 0.5703 GB, free: 30.76 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.404e-06/0.3297, allocations: 1.531 kB / 0.5703 GB, free: 30.76 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.624e-05/0.3298, allocations: 36 kB / 0.5703 GB, free: 30.72 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.3298, allocations: 4.438 kB / 0.5703 GB, free: 30.72 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.3298, allocations: 3.984 kB / 0.5703 GB, free: 30.71 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.3298, allocations: 1.625 kB / 0.5703 GB, free: 30.71 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.083e-05/0.3298, allocations: 5.219 kB / 0.5703 GB, free: 30.71 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001463/0.33, allocations: 150.6 kB / 0.5704 GB, free: 30.52 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.735e-05/0.3301, allocations: 26.7 kB / 0.5705 GB, free: 30.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.332e-05/0.3301, allocations: 8.359 kB / 0.5705 GB, free: 30.49 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.3301, allocations: 5.281 kB / 0.5705 GB, free: 30.48 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.3301, allocations: 32.16 kB / 0.5705 GB, free: 30.45 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.3302, allocations: 0.5 kB / 0.5705 GB, free: 30.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001624/0.3303, allocations: 42.7 kB / 0.5706 GB, free: 30.41 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/0.3304, allocations: 52.02 kB / 0.5706 GB, free: 30.35 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.947e-05/0.3304, allocations: 98.81 kB / 0.5707 GB, free: 30.25 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.658e-06/0.3305, allocations: 25.7 kB / 0.5707 GB, free: 30.21 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.692e-05/0.3305, allocations: 83.06 kB / 0.5708 GB, free: 30.13 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.857e-05/0.3305, allocations: 8.5 kB / 0.5708 GB, free: 30.12 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-05/0.3306, allocations: 22.83 kB / 0.5708 GB, free: 30.1 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.089e-05/0.3306, allocations: 313 kB / 0.5711 GB, free: 29.79 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.474e-05/0.3306, allocations: 3.031 kB / 0.5711 GB, free: 29.79 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.258e-06/0.3307, allocations: 2.625 kB / 0.5711 GB, free: 29.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.285e-05/0.3307, allocations: 16.58 kB / 0.5712 GB, free: 29.78 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3307, allocations: 0 / 0.5712 GB, free: 29.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.564e-05/0.3308, allocations: 35.27 kB / 0.5712 GB, free: 29.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.3308, allocations: 12.62 kB / 0.5712 GB, free: 29.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3308, allocations: 0 / 0.5712 GB, free: 29.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.3308, allocations: 3.938 kB / 0.5712 GB, free: 29.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001763/0.331, allocations: 9.797 kB / 0.5712 GB, free: 29.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002944/0.3313, allocations: 0.5854 MB / 0.5718 GB, free: 29.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.975e-05/0.3313, allocations: 4.797 kB / 0.5718 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.141e-06/0.3314, allocations: 2.719 kB / 0.5718 GB, free: 29.14 MB / 446.1 MB 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.231e-05/0.3314, allocations: 112.2 kB / 0.5719 GB, free: 29.03 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.218e-06/0.3314, allocations: 6.844 kB / 0.5719 GB, free: 29.02 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001084/0.3316, allocations: 51.67 kB / 0.572 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.3316, allocations: 1.203 kB / 0.572 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.3316, allocations: 1.594 kB / 0.572 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.3316, allocations: 5.562 kB / 0.572 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.439e-05/0.3317, allocations: 157.9 kB / 0.5721 GB, free: 28.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.3317, allocations: 2.359 kB / 0.5721 GB, free: 28.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.868e-05/0.3318, allocations: 8.781 kB / 0.5721 GB, free: 28.78 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.3318, allocations: 1.5 kB / 0.5721 GB, free: 28.78 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.3318, allocations: 1.438 kB / 0.5721 GB, free: 28.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002057/0.332, allocations: 0.5816 MB / 0.5727 GB, free: 28.19 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.332, allocations: 3.938 kB / 0.5727 GB, free: 28.19 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.179e-05/0.3321, allocations: 66.59 kB / 0.5728 GB, free: 28.12 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.095e-05/0.3321, allocations: 82.33 kB / 0.5728 GB, free: 28.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.3321, allocations: 1.469 kB / 0.5728 GB, free: 28.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.376e-05/0.3321, allocations: 0 / 0.5728 GB, free: 28.02 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.411e-05/0.3322, allocations: 6.172 kB / 0.5728 GB, free: 28.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-06/0.3322, allocations: 0 / 0.5728 GB, free: 28.02 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.855e-05/0.3322, allocations: 78.38 kB / 0.5729 GB, free: 27.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3322, allocations: 1.062 kB / 0.5729 GB, free: 27.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001993/0.3324, allocations: 12.06 kB / 0.5729 GB, free: 27.94 MB / 446.1 MB 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002452/0.3326, allocations: 0.6102 MB / 0.5735 GB, free: 27.34 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001676/0.3328, allocations: 16.7 kB / 0.5735 GB, free: 27.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.3328, allocations: 0.5625 kB / 0.5735 GB, free: 27.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.633e-05/0.3329, allocations: 20.47 kB / 0.5736 GB, free: 27.34 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001339/0.3331, allocations: 4.906 kB / 0.5736 GB, free: 27.33 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003585/0.3334, allocations: 145.5 kB / 0.5737 GB, free: 27.18 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.386e-05/0.3335, allocations: 0.6745 MB / 0.5744 GB, free: 26.48 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.428e-05/0.3336, allocations: 4.906 kB / 0.5744 GB, free: 26.48 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.875e-05/0.3336, allocations: 10.81 kB / 0.5744 GB, free: 26.47 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3336, allocations: 0 / 0.5744 GB, free: 26.47 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02069/0.3543, allocations: 1.34 MB / 0.5757 GB, free: 26.15 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.38/12.74, allocations: 12.75 kB / 0.5757 GB, free: 26.14 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)