Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="IDEAS_dev_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_dev_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.001061/0.001061, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001068/0.001068, allocations: 194.5 kB / 16.14 MB, free: 6.688 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.292/1.292, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8796/0.8796, allocations: 135.1 MB / 425.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 64.61 kB / 0.5048 GB, free: 5.672 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1247, allocations: 80.92 MB / 0.5838 GB, free: 4.926 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002068/0.1268, allocations: 1.306 MB / 0.5851 GB, free: 3.598 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000888/0.1277, allocations: 0.6128 MB / 0.5857 GB, free: 2.984 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.219e-05/0.1277, allocations: 0 / 0.5857 GB, free: 2.984 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.614e-05/0.1277, allocations: 3.938 kB / 0.5857 GB, free: 2.98 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.485e-05/0.1278, allocations: 0 / 0.5857 GB, free: 2.98 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003779/0.1282, allocations: 123.6 kB / 0.5858 GB, free: 2.859 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.446e-05/0.1282, allocations: 11.92 kB / 0.5858 GB, free: 2.848 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.094e-05/0.1282, allocations: 0 / 0.5858 GB, free: 2.848 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.51e-05/0.1283, allocations: 4 kB / 0.5858 GB, free: 2.844 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.003e-05/0.1283, allocations: 0 / 0.5858 GB, free: 2.844 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.113e-05/0.1283, allocations: 4 kB / 0.5858 GB, free: 2.84 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004575/0.1288, allocations: 343.3 kB / 0.5861 GB, free: 2.504 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.396e-06/0.1288, allocations: 3.938 kB / 0.5862 GB, free: 2.5 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.886e-05/0.1288, allocations: 7.984 kB / 0.5862 GB, free: 2.492 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002214/0.129, allocations: 139.9 kB / 0.5863 GB, free: 2.355 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1291, allocations: 4 kB / 0.5863 GB, free: 2.352 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.21e-07/0.1291, allocations: 4 kB / 0.5863 GB, free: 2.348 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.246e-06/0.1291, allocations: 0 / 0.5863 GB, free: 2.348 MB / 494.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.0003181/0.1294, allocations: 347.4 kB / 0.5866 GB, free: 1.961 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.1294, allocations: 12.03 kB / 0.5866 GB, free: 1.949 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.61e-05/0.1295, allocations: 30.75 kB / 0.5867 GB, free: 1.91 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.806e-05/0.1295, allocations: 0.9375 kB / 0.5867 GB, free: 1.91 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.172e-05/0.1296, allocations: 160.4 kB / 0.5868 GB, free: 1.715 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.1296, allocations: 8.375 kB / 0.5868 GB, free: 1.707 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.085e-06/0.1296, allocations: 384 / 0.5868 GB, free: 1.707 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.481e-05/0.1297, allocations: 41.62 kB / 0.5869 GB, free: 1.66 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.46e-06/0.1297, allocations: 0 / 0.5869 GB, free: 1.66 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.242e-06/0.1297, allocations: 0 / 0.5869 GB, free: 1.66 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.1297, allocations: 0 / 0.5869 GB, free: 1.66 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.557e-05/0.1298, allocations: 11.92 kB / 0.5869 GB, free: 1.648 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001258/0.1299, allocations: 149.7 kB / 0.587 GB, free: 1.453 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.563e-05/0.1299, allocations: 22.61 kB / 0.5871 GB, free: 1.422 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.713e-05/0.13, allocations: 12.86 kB / 0.5871 GB, free: 1.406 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.13, allocations: 8 kB / 0.5871 GB, free: 1.398 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.13, allocations: 34.5 kB / 0.5871 GB, free: 1.355 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.13, allocations: 0 / 0.5871 GB, free: 1.355 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001132/0.1301, allocations: 45.62 kB / 0.5871 GB, free: 1.305 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.556e-05/0.1302, allocations: 51.41 kB / 0.5872 GB, free: 1.242 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.052e-05/0.1302, allocations: 97.98 kB / 0.5873 GB, free: 1.137 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.1303, allocations: 25.7 kB / 0.5873 GB, free: 1.105 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.481e-05/0.1303, allocations: 84.08 kB / 0.5874 GB, free: 1.02 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.947e-05/0.1303, allocations: 7.906 kB / 0.5874 GB, free: 1.012 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.714e-05/0.1303, allocations: 17.7 kB / 0.5874 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.758e-05/0.1304, allocations: 310.8 kB / 0.5877 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.24e-05/0.1305, allocations: 4 kB / 0.5877 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.594e-06/0.1305, allocations: 0 / 0.5877 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.362e-05/0.1305, allocations: 21.05 kB / 0.5877 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.1305, allocations: 0 / 0.5877 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.052e-05/0.1306, allocations: 49.56 kB / 0.5878 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.949e-06/0.1306, allocations: 4 kB / 0.5878 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.1306, allocations: 0 / 0.5878 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.556e-06/0.1306, allocations: 0 / 0.5878 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.1308, allocations: 8 kB / 0.5878 GB, free: 0.582 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003285/0.1311, allocations: 0.586 MB / 0.5884 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.055e-05/0.1311, allocations: 4.031 kB / 0.5884 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.1311, allocations: 0 / 0.5884 GB, free: 15.97 MB / 0.4981 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 () * 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.488e-05/0.1312, allocations: 109.8 kB / 0.5885 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.516e-06/0.1312, allocations: 7.844 kB / 0.5885 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.846e-05/0.1313, allocations: 44.81 kB / 0.5885 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.1313, allocations: 4 kB / 0.5885 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.1313, allocations: 4.125 kB / 0.5885 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.043e-06/0.1313, allocations: 0 / 0.5885 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.878e-05/0.1314, allocations: 165.6 kB / 0.5887 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1314, allocations: 0 / 0.5887 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.042e-05/0.1315, allocations: 8 kB / 0.5887 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1315, allocations: 0 / 0.5887 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.14e-06/0.1315, allocations: 0 / 0.5887 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002653/0.1318, allocations: 0.5898 MB / 0.5893 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1318, allocations: 4.094 kB / 0.5893 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.423e-05/0.1319, allocations: 57.17 kB / 0.5893 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.928e-05/0.1319, allocations: 81.11 kB / 0.5894 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.198e-05/0.1319, allocations: 7.922 kB / 0.5894 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.465e-05/0.132, allocations: 0 / 0.5894 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.398e-06/0.132, allocations: 0 / 0.5894 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.132, allocations: 0 / 0.5894 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.434e-05/0.132, allocations: 87.31 kB / 0.5895 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.132, allocations: 7.875 kB / 0.5895 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001918/0.1322, allocations: 15.94 kB / 0.5895 GB, free: 14.66 MB / 0.4981 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 () * 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.0003394/0.1326, allocations: 0.6117 MB / 0.5901 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001421/0.1327, allocations: 23.92 kB / 0.5901 GB, free: 14 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1327, allocations: 0 / 0.5901 GB, free: 14 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.79e-05/0.1328, allocations: 19.94 kB / 0.5902 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001307/0.133, allocations: 1.828 kB / 0.5902 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003677/0.1333, allocations: 137.1 kB / 0.5903 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001906/0.1335, allocations: 0.6772 MB / 0.591 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.727e-05/0.1336, allocations: 4 kB / 0.591 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.934e-05/0.1336, allocations: 7.438 kB / 0.591 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.1336, allocations: 3.938 kB / 0.591 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1354/0.269, allocations: 1.209 MB / 0.5922 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003328/0.2694, allocations: 260.7 kB / 0.5924 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.78/2.049, allocations: 0 / 0.5924 GB, free: 11.77 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)