Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="IDEAS_IDEAS_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.001163/0.001163, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001212/0.001212, allocations: 191.5 kB / 16.25 MB, free: 6.621 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.266/1.266, allocations: 222.9 MB / 239.9 MB, free: 4.477 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6928/0.6928, allocations: 132.2 MB / 422.3 MB, free: 1.938 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001046/0.001046, allocations: 64.5 kB / 0.5014 GB, free: 4.117 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.3196, allocations: 80.2 MB / 0.5797 GB, free: 4.574 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001942/0.3216, allocations: 1.313 MB / 0.581 GB, free: 3.656 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000713/0.3224, allocations: 0.5878 MB / 0.5815 GB, free: 3.246 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.827e-05/0.3224, allocations: 0 / 0.5815 GB, free: 3.246 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.41e-05/0.3224, allocations: 1.516 kB / 0.5815 GB, free: 3.246 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.654e-05/0.3224, allocations: 3.938 kB / 0.5815 GB, free: 3.242 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003993/0.3229, allocations: 125 kB / 0.5817 GB, free: 3.191 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.312e-05/0.3229, allocations: 12.56 kB / 0.5817 GB, free: 3.184 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.933e-05/0.3229, allocations: 7.438 kB / 0.5817 GB, free: 3.18 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.441e-05/0.3229, allocations: 2 kB / 0.5817 GB, free: 3.18 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.016e-05/0.323, allocations: 4 kB / 0.5817 GB, free: 3.18 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.814e-06/0.323, allocations: 0 / 0.5817 GB, free: 3.18 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004318/0.3234, allocations: 342.4 kB / 0.582 GB, free: 3.082 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.077e-06/0.3234, allocations: 4.547 kB / 0.582 GB, free: 3.078 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.035e-05/0.3235, allocations: 14.73 kB / 0.582 GB, free: 3.066 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002063/0.3237, allocations: 136.8 kB / 0.5822 GB, free: 3.027 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.3237, allocations: 0 / 0.5822 GB, free: 3.027 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.3237, allocations: 1.156 kB / 0.5822 GB, free: 3.027 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.3237, allocations: 0.6562 kB / 0.5822 GB, free: 3.027 MB / 430.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.0002537/0.324, allocations: 352.1 kB / 0.5825 GB, free: 2.652 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.324, allocations: 9.938 kB / 0.5825 GB, free: 2.652 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.813e-05/0.324, allocations: 38.62 kB / 0.5825 GB, free: 2.605 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.813e-05/0.324, allocations: 6.844 kB / 0.5826 GB, free: 2.602 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.374e-05/0.3241, allocations: 166.7 kB / 0.5827 GB, free: 2.402 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.382e-06/0.3241, allocations: 1.531 kB / 0.5827 GB, free: 2.402 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.715e-06/0.3241, allocations: 384 / 0.5827 GB, free: 2.402 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.332e-05/0.3242, allocations: 34.59 kB / 0.5827 GB, free: 2.367 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.3242, allocations: 1.125 kB / 0.5827 GB, free: 2.367 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.763e-06/0.3242, allocations: 0 / 0.5827 GB, free: 2.367 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.3242, allocations: 0.5156 kB / 0.5827 GB, free: 2.367 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.119e-05/0.3243, allocations: 4.047 kB / 0.5827 GB, free: 2.367 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.542e-05/0.3244, allocations: 151 kB / 0.5829 GB, free: 2.176 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.953e-05/0.3244, allocations: 32.67 kB / 0.5829 GB, free: 2.141 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.659e-05/0.3244, allocations: 11.52 kB / 0.5829 GB, free: 2.129 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.3244, allocations: 6.25 kB / 0.5829 GB, free: 2.125 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.095e-05/0.3245, allocations: 34.55 kB / 0.583 GB, free: 2.082 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.3245, allocations: 0.7812 kB / 0.583 GB, free: 2.082 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001/0.3246, allocations: 42.05 kB / 0.583 GB, free: 2.047 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.474e-05/0.3246, allocations: 59.47 kB / 0.5831 GB, free: 1.977 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.764e-05/0.3246, allocations: 94.27 kB / 0.5832 GB, free: 1.879 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.749e-06/0.3246, allocations: 25.7 kB / 0.5832 GB, free: 1.848 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.051e-05/0.3247, allocations: 80.75 kB / 0.5833 GB, free: 1.766 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.758e-05/0.3247, allocations: 13.86 kB / 0.5833 GB, free: 1.754 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.138e-05/0.3247, allocations: 13.38 kB / 0.5833 GB, free: 1.738 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.149e-05/0.3247, allocations: 311.6 kB / 0.5836 GB, free: 1.426 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.718e-06/0.3248, allocations: 3.016 kB / 0.5836 GB, free: 1.426 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.566e-06/0.3248, allocations: 10.62 kB / 0.5836 GB, free: 1.418 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.319e-05/0.3248, allocations: 9.984 kB / 0.5836 GB, free: 1.41 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.3248, allocations: 0 / 0.5836 GB, free: 1.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.885e-05/0.3249, allocations: 49.16 kB / 0.5837 GB, free: 1.367 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.006e-05/0.3249, allocations: 8.594 kB / 0.5837 GB, free: 1.363 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.845e-06/0.3249, allocations: 0 / 0.5837 GB, free: 1.363 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.3249, allocations: 1.656 kB / 0.5837 GB, free: 1.363 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.325, allocations: 9.562 kB / 0.5837 GB, free: 1.363 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001846/0.3252, allocations: 0.5838 MB / 0.5842 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.744e-05/0.3252, allocations: 4.562 kB / 0.5842 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-06/0.3253, allocations: 1.125 kB / 0.5843 GB, free: 0.7695 MB / 430.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 3.812e-05/0.3253, allocations: 113.1 kB / 0.5844 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.883e-06/0.3253, allocations: 1.75 kB / 0.5844 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.649e-05/0.3254, allocations: 52.34 kB / 0.5844 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.3254, allocations: 0 / 0.5844 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.185e-06/0.3254, allocations: 1.797 kB / 0.5844 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.3254, allocations: 0 / 0.5844 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.688e-05/0.3255, allocations: 159.7 kB / 0.5846 GB, free: 416 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3255, allocations: 4 kB / 0.5846 GB, free: 412 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.724e-05/0.3255, allocations: 14.81 kB / 0.5846 GB, free: 408 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3255, allocations: 0 / 0.5846 GB, free: 408 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.119e-06/0.3256, allocations: 1.375 kB / 0.5846 GB, free: 408 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000201/0.3258, allocations: 0.5876 MB / 0.5852 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.3258, allocations: 3.938 kB / 0.5852 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.292e-05/0.3258, allocations: 61.27 kB / 0.5852 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.607e-05/0.3259, allocations: 77.72 kB / 0.5853 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.084e-05/0.3259, allocations: 6.328 kB / 0.5853 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.51e-05/0.3259, allocations: 5.344 kB / 0.5853 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.193e-05/0.3259, allocations: 0 / 0.5853 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-06/0.3259, allocations: 1.578 kB / 0.5853 GB, free: 15.63 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.706e-05/0.326, allocations: 81.56 kB / 0.5854 GB, free: 15.55 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.326, allocations: 0.9375 kB / 0.5854 GB, free: 15.55 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001747/0.3262, allocations: 6.5 kB / 0.5854 GB, free: 15.55 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.0003171/0.3265, allocations: 0.6194 MB / 0.586 GB, free: 14.95 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000145/0.3266, allocations: 24.95 kB / 0.586 GB, free: 14.94 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3266, allocations: 0 / 0.586 GB, free: 14.94 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.109e-05/0.3267, allocations: 14.48 kB / 0.586 GB, free: 14.94 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001215/0.3269, allocations: 4.75 kB / 0.586 GB, free: 14.93 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003387/0.3272, allocations: 142.9 kB / 0.5862 GB, free: 14.77 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001812/0.3274, allocations: 0.6739 MB / 0.5868 GB, free: 14.08 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.356e-05/0.3274, allocations: 0.6562 kB / 0.5868 GB, free: 14.08 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.815e-05/0.3274, allocations: 8.156 kB / 0.5868 GB, free: 14.07 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3274, allocations: 0 / 0.5868 GB, free: 14.07 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1958/0.5233, allocations: 1.248 MB / 0.5881 GB, free: 13.86 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001631/0.5235, allocations: 251.9 kB / 0.5883 GB, free: 13.61 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.662/2.186, allocations: 7.906 kB / 0.5883 GB, free: 13.61 MB / 446.1 MB (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)