Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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_dp,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",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.001248/0.001248, 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.001257/0.001257, allocations: 195.3 kB / 16.14 MB, free: 6.707 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.239/1.239, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6982/0.6982, allocations: 132.2 MB / 422.1 MB, free: 2.027 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001129, allocations: 63.78 kB / 0.5012 GB, free: 9.102 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1231, allocations: 80.21 MB / 0.5795 GB, free: 9.117 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002769/0.126, allocations: 1.31 MB / 0.5808 GB, free: 7.789 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001305/0.1273, allocations: 0.6128 MB / 0.5814 GB, free: 7.176 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.43e-05/0.1273, allocations: 0 / 0.5814 GB, free: 7.176 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.682e-05/0.1273, allocations: 0 / 0.5814 GB, free: 7.176 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.569e-05/0.1274, allocations: 0 / 0.5814 GB, free: 7.176 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004879/0.1279, allocations: 119.6 kB / 0.5815 GB, free: 7.059 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.239e-05/0.1279, allocations: 15.92 kB / 0.5815 GB, free: 7.043 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.59e-05/0.128, allocations: 0 / 0.5815 GB, free: 7.043 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.805e-05/0.128, allocations: 4 kB / 0.5815 GB, free: 7.039 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.566e-05/0.128, allocations: 4 kB / 0.5815 GB, free: 7.035 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.1281, allocations: 4 kB / 0.5815 GB, free: 7.031 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006278/0.1287, allocations: 343.3 kB / 0.5818 GB, free: 6.695 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.696e-06/0.1287, allocations: 3.938 kB / 0.5819 GB, free: 6.691 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.745e-05/0.1287, allocations: 0 / 0.5819 GB, free: 6.691 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003032/0.1291, allocations: 143.9 kB / 0.582 GB, free: 6.551 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1291, allocations: 0 / 0.582 GB, free: 6.551 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.11e-07/0.1291, allocations: 0 / 0.582 GB, free: 6.551 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.916e-06/0.1291, allocations: 4 kB / 0.582 GB, free: 6.547 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.0004531/0.1295, allocations: 351.4 kB / 0.5823 GB, free: 6.156 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.1296, allocations: 12.03 kB / 0.5823 GB, free: 6.145 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.467e-05/0.1296, allocations: 34.75 kB / 0.5824 GB, free: 6.102 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.351e-05/0.1297, allocations: 0.9375 kB / 0.5824 GB, free: 6.102 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.1298, allocations: 160.4 kB / 0.5825 GB, free: 5.906 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.1298, allocations: 4.375 kB / 0.5825 GB, free: 5.902 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.397e-06/0.1298, allocations: 384 / 0.5825 GB, free: 5.902 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.615e-05/0.1299, allocations: 41.62 kB / 0.5826 GB, free: 5.855 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.1299, allocations: 3.938 kB / 0.5826 GB, free: 5.852 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.773e-06/0.13, allocations: 0 / 0.5826 GB, free: 5.852 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.13, allocations: 3.938 kB / 0.5826 GB, free: 5.848 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.808e-05/0.13, allocations: 4 kB / 0.5826 GB, free: 5.844 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001651/0.1302, allocations: 149.7 kB / 0.5827 GB, free: 5.648 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.619e-05/0.1302, allocations: 26.61 kB / 0.5828 GB, free: 5.613 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.173e-05/0.1303, allocations: 4.859 kB / 0.5828 GB, free: 5.605 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.369e-05/0.1303, allocations: 12 kB / 0.5828 GB, free: 5.594 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.1303, allocations: 34.56 kB / 0.5828 GB, free: 5.551 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 2.956e-06/0.1304, allocations: 0 / 0.5828 GB, free: 5.551 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001393/0.1305, allocations: 45.62 kB / 0.5828 GB, free: 5.5 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.1305, allocations: 51.41 kB / 0.5829 GB, free: 5.438 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.598e-05/0.1306, allocations: 93.86 kB / 0.583 GB, free: 5.336 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.1306, allocations: 25.95 kB / 0.583 GB, free: 5.305 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.028e-05/0.1307, allocations: 88.08 kB / 0.5831 GB, free: 5.215 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.797e-05/0.1307, allocations: 15.89 kB / 0.5831 GB, free: 5.199 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.57e-05/0.1308, allocations: 9.719 kB / 0.5831 GB, free: 5.184 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.1309, allocations: 314.8 kB / 0.5834 GB, free: 4.867 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.628e-05/0.1309, allocations: 4 kB / 0.5834 GB, free: 4.863 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.227e-05/0.1309, allocations: 4 kB / 0.5834 GB, free: 4.859 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.926e-05/0.131, allocations: 16.8 kB / 0.5834 GB, free: 4.84 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.131, allocations: 4.062 kB / 0.5834 GB, free: 4.836 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.262e-05/0.1311, allocations: 41.64 kB / 0.5835 GB, free: 4.789 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.1311, allocations: 4 kB / 0.5835 GB, free: 4.785 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1311, allocations: 3.984 kB / 0.5835 GB, free: 4.781 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.1311, allocations: 0 / 0.5835 GB, free: 4.781 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/0.1313, allocations: 8 kB / 0.5835 GB, free: 4.773 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000449/0.1317, allocations: 0.5821 MB / 0.5841 GB, free: 4.168 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.638e-05/0.1318, allocations: 12.06 kB / 0.5841 GB, free: 4.156 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.1318, allocations: 3.984 kB / 0.5841 GB, free: 4.152 MB / 494.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 8.271e-05/0.1319, allocations: 117.7 kB / 0.5842 GB, free: 4.031 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.548e-06/0.1319, allocations: 0 / 0.5842 GB, free: 4.031 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000119/0.132, allocations: 44.81 kB / 0.5842 GB, free: 3.977 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.1321, allocations: 4 kB / 0.5842 GB, free: 3.973 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1321, allocations: 0 / 0.5842 GB, free: 3.973 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1321, allocations: 4.031 kB / 0.5842 GB, free: 3.969 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001169/0.1322, allocations: 153.6 kB / 0.5844 GB, free: 3.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1322, allocations: 0 / 0.5844 GB, free: 3.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.742e-05/0.1323, allocations: 11.98 kB / 0.5844 GB, free: 3.758 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1323, allocations: 0 / 0.5844 GB, free: 3.758 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.1323, allocations: 0 / 0.5844 GB, free: 3.758 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003473/0.1327, allocations: 0.5859 MB / 0.585 GB, free: 3.148 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1327, allocations: 0 / 0.585 GB, free: 3.148 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.597e-05/0.1328, allocations: 69.23 kB / 0.585 GB, free: 3.062 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.182e-05/0.1329, allocations: 85.05 kB / 0.5851 GB, free: 2.961 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.1329, allocations: 3.938 kB / 0.5851 GB, free: 2.957 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.978e-05/0.1329, allocations: 0 / 0.5851 GB, free: 2.957 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.5e-05/0.1329, allocations: 7.922 kB / 0.5851 GB, free: 2.949 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-06/0.1329, allocations: 4 kB / 0.5851 GB, free: 2.945 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.58e-05/0.133, allocations: 83.31 kB / 0.5852 GB, free: 2.863 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.133, allocations: 3.938 kB / 0.5852 GB, free: 2.859 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003205/0.1333, allocations: 15.94 kB / 0.5852 GB, free: 2.844 MB / 494.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.000408/0.1337, allocations: 0.6007 MB / 0.5858 GB, free: 2.215 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001803/0.1339, allocations: 28.05 kB / 0.5858 GB, free: 2.188 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.134, allocations: 3.938 kB / 0.5859 GB, free: 2.184 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001058/0.1341, allocations: 15.98 kB / 0.5859 GB, free: 2.168 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001848/0.1343, allocations: 0 / 0.5859 GB, free: 2.168 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004906/0.1348, allocations: 138.1 kB / 0.586 GB, free: 1.992 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000339/0.1351, allocations: 0.6772 MB / 0.5867 GB, free: 1.289 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.773e-05/0.1351, allocations: 0 / 0.5867 GB, free: 1.289 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.542e-05/0.1352, allocations: 14.56 kB / 0.5867 GB, free: 1.281 MB / 494.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1352, allocations: 3.938 kB / 0.5867 GB, free: 1.277 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.046/1.181, allocations: 1.188 MB / 0.5878 GB, free: 308 kB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002522/1.181, allocations: 254.7 kB / 0.5881 GB, free: 48 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.612/2.793, allocations: 0 / 0.5881 GB, free: 48 kB / 494.1 MB (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)