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.001148/0.001148, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 194 kB / 16.53 MB, free: 6.391 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.357/1.357, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7711/0.7711, allocations: 132.2 MB / 422.6 MB, free: 1.805 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 60.97 kB / 0.5019 GB, free: 3.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4078/0.4093, allocations: 80.2 MB / 0.5802 GB, free: 4.582 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002374/0.4117, allocations: 1.249 MB / 0.5814 GB, free: 3.703 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008966/0.4126, allocations: 0.5902 MB / 0.582 GB, free: 3.293 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.263e-05/0.4126, allocations: 0.625 kB / 0.582 GB, free: 3.293 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.435e-05/0.4127, allocations: 0.7969 kB / 0.582 GB, free: 3.293 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.941e-05/0.4127, allocations: 8.672 kB / 0.582 GB, free: 3.285 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005467/0.4133, allocations: 142.2 kB / 0.5821 GB, free: 3.223 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.665e-05/0.4133, allocations: 9.453 kB / 0.5821 GB, free: 3.219 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.731e-05/0.4134, allocations: 10.69 kB / 0.5822 GB, free: 3.211 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.779e-05/0.4134, allocations: 2.609 kB / 0.5822 GB, free: 3.211 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.811e-05/0.4135, allocations: 3.438 kB / 0.5822 GB, free: 3.211 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.989e-06/0.4135, allocations: 0 / 0.5822 GB, free: 3.211 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005506/0.414, allocations: 342.7 kB / 0.5825 GB, free: 3.113 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.939e-06/0.414, allocations: 0.7969 kB / 0.5825 GB, free: 3.113 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.07e-05/0.4141, allocations: 10.81 kB / 0.5825 GB, free: 3.105 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002866/0.4144, allocations: 141.2 kB / 0.5826 GB, free: 3.062 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.4144, allocations: 0.7031 kB / 0.5826 GB, free: 3.062 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.4144, allocations: 0 / 0.5826 GB, free: 3.062 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.199e-06/0.4144, allocations: 4 kB / 0.5826 GB, free: 3.059 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.000318/0.4147, allocations: 353.2 kB / 0.583 GB, free: 2.684 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.4148, allocations: 8.594 kB / 0.583 GB, free: 2.684 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.18e-05/0.4148, allocations: 32.58 kB / 0.583 GB, free: 2.645 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.105e-05/0.4148, allocations: 5.938 kB / 0.583 GB, free: 2.641 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.391e-05/0.4149, allocations: 162.9 kB / 0.5832 GB, free: 2.445 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.584e-06/0.4149, allocations: 384 / 0.5832 GB, free: 2.445 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.4149, allocations: 5.375 kB / 0.5832 GB, free: 2.441 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.571e-05/0.415, allocations: 43.03 kB / 0.5832 GB, free: 2.398 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.415, allocations: 0 / 0.5832 GB, free: 2.398 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.737e-06/0.4151, allocations: 0.7188 kB / 0.5832 GB, free: 2.398 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.4151, allocations: 0.7188 kB / 0.5832 GB, free: 2.398 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.596e-05/0.4151, allocations: 3.328 kB / 0.5832 GB, free: 2.398 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001216/0.4152, allocations: 151.9 kB / 0.5834 GB, free: 2.207 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.621e-05/0.4153, allocations: 28.78 kB / 0.5834 GB, free: 2.176 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.971e-05/0.4153, allocations: 14.67 kB / 0.5834 GB, free: 2.16 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.4153, allocations: 5.234 kB / 0.5834 GB, free: 2.156 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.522e-05/0.4154, allocations: 32.53 kB / 0.5834 GB, free: 2.117 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.4154, allocations: 0 / 0.5834 GB, free: 2.117 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001457/0.4155, allocations: 40.66 kB / 0.5835 GB, free: 2.082 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.306e-05/0.4155, allocations: 56.78 kB / 0.5835 GB, free: 2.016 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.213e-05/0.4156, allocations: 93.5 kB / 0.5836 GB, free: 1.918 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.255e-06/0.4156, allocations: 26.58 kB / 0.5837 GB, free: 1.887 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.809e-05/0.4156, allocations: 84.94 kB / 0.5837 GB, free: 1.801 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.722e-05/0.4157, allocations: 10 kB / 0.5837 GB, free: 1.793 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.786e-05/0.4157, allocations: 16.42 kB / 0.5838 GB, free: 1.773 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.93e-05/0.4158, allocations: 312.8 kB / 0.5841 GB, free: 1.461 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.406e-05/0.4158, allocations: 1.812 kB / 0.5841 GB, free: 1.461 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.749e-06/0.4158, allocations: 3.922 kB / 0.5841 GB, free: 1.461 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.875e-05/0.4158, allocations: 14.14 kB / 0.5841 GB, free: 1.449 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.4158, allocations: 4 kB / 0.5841 GB, free: 1.445 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.676e-05/0.4159, allocations: 40.34 kB / 0.5841 GB, free: 1.41 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.4159, allocations: 8.828 kB / 0.5841 GB, free: 1.406 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.4159, allocations: 1.062 kB / 0.5841 GB, free: 1.406 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.4159, allocations: 3.938 kB / 0.5841 GB, free: 1.402 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000172/0.4161, allocations: 10.66 kB / 0.5841 GB, free: 1.402 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002602/0.4164, allocations: 0.588 MB / 0.5847 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.813e-05/0.4164, allocations: 3.906 kB / 0.5847 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.4164, allocations: 1.969 kB / 0.5847 GB, free: 0.8047 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 5.803e-05/0.4165, allocations: 113.4 kB / 0.5848 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.074e-06/0.4165, allocations: 0 / 0.5848 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.898e-05/0.4166, allocations: 49.45 kB / 0.5849 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.4166, allocations: 0 / 0.5849 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.4166, allocations: 0 / 0.5849 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.4166, allocations: 6.594 kB / 0.5849 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.968e-05/0.4167, allocations: 157.2 kB / 0.585 GB, free: 452 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.4167, allocations: 1.5 kB / 0.585 GB, free: 452 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.611e-05/0.4168, allocations: 9.641 kB / 0.585 GB, free: 452 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.4168, allocations: 1 kB / 0.585 GB, free: 452 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.271e-06/0.4168, allocations: 0 / 0.585 GB, free: 452 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002605/0.4171, allocations: 0.5838 MB / 0.5856 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4171, allocations: 4.094 kB / 0.5856 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.969e-05/0.4172, allocations: 65.36 kB / 0.5857 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.859e-05/0.4172, allocations: 79.33 kB / 0.5858 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.4172, allocations: 4.734 kB / 0.5858 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.407e-05/0.4173, allocations: 0.75 kB / 0.5858 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.829e-05/0.4173, allocations: 6.547 kB / 0.5858 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.4173, allocations: 0 / 0.5858 GB, free: 15.68 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.503e-05/0.4173, allocations: 82 kB / 0.5858 GB, free: 15.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4173, allocations: 0 / 0.5858 GB, free: 15.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002082/0.4176, allocations: 15.53 kB / 0.5859 GB, free: 15.59 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.0004296/0.418, allocations: 0.6074 MB / 0.5865 GB, free: 14.99 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001729/0.4182, allocations: 28.91 kB / 0.5865 GB, free: 14.98 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.4182, allocations: 0 / 0.5865 GB, free: 14.98 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.716e-05/0.4183, allocations: 13.95 kB / 0.5865 GB, free: 14.98 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001388/0.4184, allocations: 1.922 kB / 0.5865 GB, free: 14.98 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004714/0.4189, allocations: 139.5 kB / 0.5866 GB, free: 14.82 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002601/0.4192, allocations: 0.6774 MB / 0.5873 GB, free: 14.12 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.584e-05/0.4192, allocations: 1.641 kB / 0.5873 GB, free: 14.12 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.522e-05/0.4192, allocations: 8.656 kB / 0.5873 GB, free: 14.12 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4192, allocations: 0 / 0.5873 GB, free: 14.12 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01904/0.4383, allocations: 1.323 MB / 0.5886 GB, free: 13.78 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.43, allocations: 9.422 kB / 0.5886 GB, free: 13.78 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)