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.001231/0.001231, allocations: 107.7 kB / 15.99 MB, free: 5.906 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.001187/0.001187, allocations: 192.2 kB / 16.9 MB, free: 5.758 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.282/1.282, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6983/0.6983, allocations: 115.3 MB / 406.1 MB, free: 6.293 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 63.91 kB / 493.2 MB, free: 0.6055 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.2971, allocations: 76.17 MB / 0.556 GB, free: 36.21 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002032/0.2992, allocations: 1.3 MB / 0.5573 GB, free: 35.32 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007593/0.3, allocations: 0.5857 MB / 0.5579 GB, free: 34.92 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.618e-05/0.3, allocations: 1.594 kB / 0.5579 GB, free: 34.92 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.583e-05/0.3001, allocations: 0 / 0.5579 GB, free: 34.92 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.028e-05/0.3001, allocations: 1.219 kB / 0.5579 GB, free: 34.92 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004256/0.3005, allocations: 129.5 kB / 0.558 GB, free: 34.87 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.875e-05/0.3006, allocations: 12.66 kB / 0.558 GB, free: 34.86 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.666e-05/0.3006, allocations: 6.297 kB / 0.558 GB, free: 34.86 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.757e-05/0.3006, allocations: 3.375 kB / 0.558 GB, free: 34.86 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.576e-05/0.3007, allocations: 7.453 kB / 0.558 GB, free: 34.86 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.107e-06/0.3007, allocations: 0 / 0.558 GB, free: 34.86 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004232/0.3011, allocations: 346.1 kB / 0.5583 GB, free: 34.75 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.486e-06/0.3011, allocations: 0.7031 kB / 0.5583 GB, free: 34.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.642e-05/0.3012, allocations: 8.25 kB / 0.5584 GB, free: 34.75 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002239/0.3014, allocations: 137.5 kB / 0.5585 GB, free: 34.71 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3014, allocations: 3.938 kB / 0.5585 GB, free: 34.71 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3014, allocations: 0 / 0.5585 GB, free: 34.71 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.3014, allocations: 1.469 kB / 0.5585 GB, free: 34.71 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.0002955/0.3017, allocations: 353.7 kB / 0.5588 GB, free: 34.33 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.3018, allocations: 9.469 kB / 0.5588 GB, free: 34.33 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.98e-05/0.3018, allocations: 32.64 kB / 0.5589 GB, free: 34.29 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.956e-05/0.3018, allocations: 2.125 kB / 0.5589 GB, free: 34.29 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.251e-05/0.3019, allocations: 163.3 kB / 0.559 GB, free: 34.09 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.3019, allocations: 1.062 kB / 0.559 GB, free: 34.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.865e-06/0.3019, allocations: 3 kB / 0.559 GB, free: 34.09 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.367e-05/0.302, allocations: 34.55 kB / 0.5591 GB, free: 34.06 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.302, allocations: 4.594 kB / 0.5591 GB, free: 34.05 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.023e-06/0.302, allocations: 3.312 kB / 0.5591 GB, free: 34.05 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.302, allocations: 0 / 0.5591 GB, free: 34.05 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.428e-05/0.3021, allocations: 8.891 kB / 0.5591 GB, free: 34.05 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.474e-05/0.3022, allocations: 150.7 kB / 0.5592 GB, free: 33.86 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.109e-05/0.3022, allocations: 26.44 kB / 0.5592 GB, free: 33.83 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.828e-05/0.3022, allocations: 12.16 kB / 0.5593 GB, free: 33.82 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.3022, allocations: 0.7031 kB / 0.5593 GB, free: 33.82 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.35e-05/0.3023, allocations: 37.52 kB / 0.5593 GB, free: 33.78 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.3023, allocations: 1.531 kB / 0.5593 GB, free: 33.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001189/0.3024, allocations: 44.72 kB / 0.5593 GB, free: 33.74 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.771e-05/0.3024, allocations: 52.56 kB / 0.5594 GB, free: 33.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.059e-05/0.3025, allocations: 95.59 kB / 0.5595 GB, free: 33.58 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.071e-06/0.3025, allocations: 26.36 kB / 0.5595 GB, free: 33.55 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.224e-05/0.3025, allocations: 87.11 kB / 0.5596 GB, free: 33.46 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.933e-05/0.3025, allocations: 8.5 kB / 0.5596 GB, free: 33.45 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.287e-05/0.3025, allocations: 12.83 kB / 0.5596 GB, free: 33.44 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.075e-05/0.3026, allocations: 313.4 kB / 0.5599 GB, free: 33.12 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.233e-05/0.3026, allocations: 10.23 kB / 0.5599 GB, free: 33.12 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.405e-06/0.3026, allocations: 1.406 kB / 0.5599 GB, free: 33.12 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.304e-05/0.3026, allocations: 15.62 kB / 0.5599 GB, free: 33.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.3027, allocations: 0 / 0.5599 GB, free: 33.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.814e-05/0.3027, allocations: 39.23 kB / 0.56 GB, free: 33.07 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.3027, allocations: 9.703 kB / 0.56 GB, free: 33.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.3027, allocations: 1.844 kB / 0.56 GB, free: 33.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.3027, allocations: 4.906 kB / 0.56 GB, free: 33.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/0.3029, allocations: 18.67 kB / 0.56 GB, free: 33.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002035/0.3031, allocations: 0.5841 MB / 0.5606 GB, free: 32.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.728e-05/0.3031, allocations: 2.344 kB / 0.5606 GB, free: 32.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.3031, allocations: 0.7188 kB / 0.5606 GB, free: 32.47 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 4.348e-05/0.3032, allocations: 113.1 kB / 0.5607 GB, free: 32.35 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.316e-06/0.3032, allocations: 10.52 kB / 0.5607 GB, free: 32.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001014/0.3033, allocations: 45.17 kB / 0.5607 GB, free: 32.31 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.3033, allocations: 1.094 kB / 0.5607 GB, free: 32.31 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.3033, allocations: 1.406 kB / 0.5607 GB, free: 32.31 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/0.3033, allocations: 0.7031 kB / 0.5607 GB, free: 32.31 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.146e-05/0.3034, allocations: 155.4 kB / 0.5609 GB, free: 32.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.3034, allocations: 0.6094 kB / 0.5609 GB, free: 32.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.24e-05/0.3035, allocations: 15.72 kB / 0.5609 GB, free: 32.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3035, allocations: 1.344 kB / 0.5609 GB, free: 32.11 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.219e-06/0.3035, allocations: 0 / 0.5609 GB, free: 32.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001663/0.3037, allocations: 0.5868 MB / 0.5615 GB, free: 31.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3037, allocations: 3.938 kB / 0.5615 GB, free: 31.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.213e-05/0.3037, allocations: 65.92 kB / 0.5615 GB, free: 31.45 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.483e-05/0.3037, allocations: 81.48 kB / 0.5616 GB, free: 31.35 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.034e-05/0.3038, allocations: 5.656 kB / 0.5616 GB, free: 31.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.461e-05/0.3038, allocations: 1.656 kB / 0.5616 GB, free: 31.35 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.097e-05/0.3038, allocations: 6.984 kB / 0.5616 GB, free: 31.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.3038, allocations: 0 / 0.5616 GB, free: 31.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.582e-05/0.3038, allocations: 79.23 kB / 0.5617 GB, free: 31.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3038, allocations: 0 / 0.5617 GB, free: 31.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000186/0.304, allocations: 8.875 kB / 0.5617 GB, free: 31.27 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.0002272/0.3043, allocations: 0.6083 MB / 0.5623 GB, free: 30.67 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001452/0.3044, allocations: 24.11 kB / 0.5623 GB, free: 30.66 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3044, allocations: 0 / 0.5623 GB, free: 30.66 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.938e-05/0.3045, allocations: 14.55 kB / 0.5624 GB, free: 30.66 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001345/0.3046, allocations: 10.5 kB / 0.5624 GB, free: 30.66 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003428/0.305, allocations: 144.2 kB / 0.5625 GB, free: 30.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.097e-05/0.3051, allocations: 0.6756 MB / 0.5632 GB, free: 29.81 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.483e-05/0.3051, allocations: 1.078 kB / 0.5632 GB, free: 29.81 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.861e-05/0.3051, allocations: 8.75 kB / 0.5632 GB, free: 29.8 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3051, allocations: 1.969 kB / 0.5632 GB, free: 29.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01139/0.3165, allocations: 1.253 MB / 0.5644 GB, free: 29.61 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001452/0.3167, allocations: 268.7 kB / 0.5647 GB, free: 29.25 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.671/1.988, allocations: 6.688 kB / 0.5647 GB, free: 29.25 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)