Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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_dp,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="IDEAS_dev_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.001402/0.001402, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001552/0.001552, allocations: 193.7 kB / 16.14 MB, free: 6.66 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.293/1.293, allocations: 222.9 MB / 239.8 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8669/0.8669, allocations: 135.1 MB / 425.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 68.33 kB / 0.5048 GB, free: 5.668 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1243, allocations: 80.92 MB / 0.5838 GB, free: 4.91 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002001/0.1263, allocations: 1.302 MB / 0.5851 GB, free: 3.586 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008772/0.1272, allocations: 0.605 MB / 0.5857 GB, free: 2.98 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.172e-05/0.1272, allocations: 0 / 0.5857 GB, free: 2.98 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.391e-05/0.1272, allocations: 0 / 0.5857 GB, free: 2.98 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.41e-05/0.1273, allocations: 3.984 kB / 0.5857 GB, free: 2.977 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003698/0.1277, allocations: 115.6 kB / 0.5858 GB, free: 2.863 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.415e-05/0.1277, allocations: 15.88 kB / 0.5858 GB, free: 2.848 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.263e-05/0.1277, allocations: 3.984 kB / 0.5858 GB, free: 2.844 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.637e-05/0.1278, allocations: 8 kB / 0.5858 GB, free: 2.836 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.042e-05/0.1278, allocations: 0 / 0.5858 GB, free: 2.836 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.476e-06/0.1278, allocations: 0 / 0.5858 GB, free: 2.836 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004489/0.1283, allocations: 347.3 kB / 0.5862 GB, free: 2.496 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.186e-06/0.1283, allocations: 0 / 0.5862 GB, free: 2.496 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.727e-05/0.1283, allocations: 3.938 kB / 0.5862 GB, free: 2.492 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002228/0.1285, allocations: 140 kB / 0.5863 GB, free: 2.355 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1285, allocations: 4 kB / 0.5863 GB, free: 2.352 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.81e-07/0.1286, allocations: 0 / 0.5863 GB, free: 2.352 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.925e-06/0.1286, allocations: 0 / 0.5863 GB, free: 2.352 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.0003029/0.1289, allocations: 351.4 kB / 0.5866 GB, free: 1.961 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.1289, allocations: 12.03 kB / 0.5866 GB, free: 1.949 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.9e-05/0.1289, allocations: 42.73 kB / 0.5867 GB, free: 1.898 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.957e-05/0.129, allocations: 4.844 kB / 0.5867 GB, free: 1.895 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.533e-05/0.1291, allocations: 164.4 kB / 0.5868 GB, free: 1.695 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.624e-06/0.1291, allocations: 384 / 0.5868 GB, free: 1.695 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.476e-06/0.1291, allocations: 8.375 kB / 0.5868 GB, free: 1.688 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.179e-05/0.1292, allocations: 37.56 kB / 0.5869 GB, free: 1.645 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.05e-06/0.1292, allocations: 4 kB / 0.5869 GB, free: 1.641 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.63e-06/0.1292, allocations: 0 / 0.5869 GB, free: 1.641 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.1292, allocations: 0 / 0.5869 GB, free: 1.641 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.128e-05/0.1292, allocations: 7.938 kB / 0.5869 GB, free: 1.633 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001152/0.1293, allocations: 145.7 kB / 0.587 GB, free: 1.441 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.726e-05/0.1294, allocations: 34.59 kB / 0.5871 GB, free: 1.398 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.52e-05/0.1294, allocations: 4.859 kB / 0.5871 GB, free: 1.391 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.1294, allocations: 3.938 kB / 0.5871 GB, free: 1.387 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.1295, allocations: 38.56 kB / 0.5871 GB, free: 1.34 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.1295, allocations: 0 / 0.5871 GB, free: 1.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001068/0.1296, allocations: 41.69 kB / 0.5872 GB, free: 1.293 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.541e-05/0.1296, allocations: 51.41 kB / 0.5872 GB, free: 1.23 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.178e-05/0.1297, allocations: 97.98 kB / 0.5873 GB, free: 1.125 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.1297, allocations: 25.7 kB / 0.5873 GB, free: 1.094 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.689e-05/0.1297, allocations: 84.14 kB / 0.5874 GB, free: 1.008 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.627e-05/0.1297, allocations: 3.906 kB / 0.5874 GB, free: 1.004 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.552e-05/0.1298, allocations: 13.72 kB / 0.5874 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.138e-05/0.1299, allocations: 314.8 kB / 0.5877 GB, free: 0.668 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.309e-05/0.1299, allocations: 8 kB / 0.5877 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.318e-06/0.1299, allocations: 0 / 0.5877 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.379e-05/0.1299, allocations: 16.98 kB / 0.5877 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.1299, allocations: 4 kB / 0.5877 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.028e-05/0.13, allocations: 41.64 kB / 0.5878 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.988e-06/0.13, allocations: 7.938 kB / 0.5878 GB, free: 0.582 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.13, allocations: 0 / 0.5878 GB, free: 0.582 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.468e-06/0.13, allocations: 3.984 kB / 0.5878 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.1302, allocations: 8 kB / 0.5878 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000303/0.1305, allocations: 0.586 MB / 0.5884 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.746e-05/0.1305, allocations: 0 / 0.5884 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.1305, allocations: 4.031 kB / 0.5884 GB, free: 15.96 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 5.847e-05/0.1306, allocations: 114.4 kB / 0.5885 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.007e-06/0.1306, allocations: 3.906 kB / 0.5885 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.773e-05/0.1307, allocations: 40.83 kB / 0.5885 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.1307, allocations: 8.109 kB / 0.5885 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.1307, allocations: 4 kB / 0.5885 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.1307, allocations: 0 / 0.5885 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.888e-05/0.1308, allocations: 149.6 kB / 0.5887 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1308, allocations: 0 / 0.5887 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.737e-05/0.1309, allocations: 15.92 kB / 0.5887 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1309, allocations: 0 / 0.5887 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.919e-06/0.1309, allocations: 4 kB / 0.5887 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002685/0.1312, allocations: 0.5899 MB / 0.5893 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.1312, allocations: 0 / 0.5893 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.486e-05/0.1313, allocations: 65.09 kB / 0.5893 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.662e-05/0.1313, allocations: 77.11 kB / 0.5894 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.149e-05/0.1313, allocations: 11.88 kB / 0.5894 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.603e-05/0.1313, allocations: 4 kB / 0.5894 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.826e-06/0.1313, allocations: 0 / 0.5894 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.1314, allocations: 8.109 kB / 0.5894 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.752e-05/0.1314, allocations: 79.28 kB / 0.5895 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1314, allocations: 0 / 0.5895 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001942/0.1316, allocations: 15.94 kB / 0.5895 GB, free: 14.65 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.0003106/0.1319, allocations: 0.6009 MB / 0.5901 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001399/0.1321, allocations: 27.86 kB / 0.5901 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1321, allocations: 0 / 0.5901 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.735e-05/0.1322, allocations: 15.98 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.0001294/0.1323, allocations: 4.922 kB / 0.5902 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003391/0.1326, allocations: 142.1 kB / 0.5903 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001757/0.1328, allocations: 0.6731 MB / 0.591 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.366e-05/0.1328, allocations: 0 / 0.591 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.81e-05/0.1329, allocations: 14.56 kB / 0.591 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1329, allocations: 0 / 0.591 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1067/0.2396, allocations: 1.193 MB / 0.5921 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002139/0.2399, allocations: 262.7 kB / 0.5924 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.775/2.014, allocations: 0 / 0.5924 GB, free: 11.85 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)