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: translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.008457/0.008457, allocations: 170.6 kB / 16.27 MB, free: 6.648 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.464/1.464, allocations: 223.3 MB / 240.3 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9915/0.9915, allocations: 135.3 MB / 426.7 MB, free: 14.39 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000377/0.000377, allocations: 11.98 kB / 0.5076 GB, free: 4.723 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.1682, allocations: 82.32 MB / 0.588 GB, free: 2.582 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001256/0.1695, allocations: 0.9672 MB / 0.5889 GB, free: 1.598 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009271/0.1704, allocations: 0.5897 MB / 0.5895 GB, free: 1.008 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.255e-05/0.1705, allocations: 4 kB / 0.5895 GB, free: 1.004 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.41e-05/0.1705, allocations: 0 / 0.5895 GB, free: 1.004 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.349e-05/0.1705, allocations: 0 / 0.5895 GB, free: 1.004 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000412/0.1709, allocations: 123.6 kB / 0.5896 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.865e-05/0.171, allocations: 11.94 kB / 0.5896 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.983e-05/0.171, allocations: 7.938 kB / 0.5896 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.59e-05/0.171, allocations: 0 / 0.5896 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.155e-05/0.1711, allocations: 7.984 kB / 0.5897 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.458e-06/0.1711, allocations: 4 kB / 0.5897 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000455/0.1716, allocations: 343.3 kB / 0.59 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.127e-06/0.1716, allocations: 0 / 0.59 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.673e-05/0.1717, allocations: 33.64 kB / 0.59 GB, free: 488 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002184/0.1719, allocations: 132 kB / 0.5901 GB, free: 356 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1719, allocations: 7.938 kB / 0.5901 GB, free: 348 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1719, allocations: 0 / 0.5901 GB, free: 348 kB / 494.1 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.1719, allocations: 0 / 0.5901 GB, free: 348 kB / 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.0003586/0.1723, allocations: 351.4 kB / 0.5905 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.1723, allocations: 12.03 kB / 0.5905 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.677e-05/0.1724, allocations: 4.938 kB / 0.5905 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.1725, allocations: 168.3 kB / 0.5907 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-06/0.1725, allocations: 384 / 0.5907 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.227e-06/0.1725, allocations: 384 / 0.5907 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.597e-05/0.1726, allocations: 33.83 kB / 0.5907 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.1726, allocations: 0 / 0.5907 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.1726, allocations: 3.938 kB / 0.5907 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.1727, allocations: 4 kB / 0.5907 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.31e-05/0.1727, allocations: 0 / 0.5907 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001497/0.1728, allocations: 157.7 kB / 0.5909 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.629e-05/0.1729, allocations: 22.61 kB / 0.5909 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.787e-05/0.1729, allocations: 8.922 kB / 0.5909 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.1729, allocations: 3.984 kB / 0.5909 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.173, allocations: 34.5 kB / 0.5909 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.173, allocations: 0 / 0.5909 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001237/0.1731, allocations: 53.62 kB / 0.591 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.1731, allocations: 51.41 kB / 0.591 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.225e-05/0.1732, allocations: 93.86 kB / 0.5911 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/0.1732, allocations: 25.7 kB / 0.5911 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.325e-05/0.1733, allocations: 84.14 kB / 0.5912 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.407e-05/0.1733, allocations: 7.891 kB / 0.5912 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.178e-05/0.1733, allocations: 9.719 kB / 0.5912 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.601e-05/0.1734, allocations: 315.1 kB / 0.5915 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.989e-06/0.1735, allocations: 4 kB / 0.5915 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.396e-06/0.1735, allocations: 4 kB / 0.5915 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.956e-05/0.1735, allocations: 16.8 kB / 0.5916 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.1735, allocations: 0 / 0.5916 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.057e-05/0.1736, allocations: 45.62 kB / 0.5916 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.1736, allocations: 4 kB / 0.5916 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.748e-06/0.1736, allocations: 0 / 0.5916 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.1736, allocations: 4 kB / 0.5916 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.1738, allocations: 12.03 kB / 0.5916 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000354/0.1742, allocations: 0.5899 MB / 0.5922 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.791e-05/0.1742, allocations: 0 / 0.5922 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.1742, allocations: 0 / 0.5922 GB, free: 14 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 7.706e-05/0.1743, allocations: 109.8 kB / 0.5923 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.215e-06/0.1743, allocations: 8.125 kB / 0.5923 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001052/0.1744, allocations: 48.75 kB / 0.5924 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.1744, allocations: 0 / 0.5924 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.1744, allocations: 4 kB / 0.5924 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.1744, allocations: 0 / 0.5924 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001097/0.1746, allocations: 161.5 kB / 0.5925 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1746, allocations: 0 / 0.5925 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.536e-05/0.1746, allocations: 11.98 kB / 0.5925 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1747, allocations: 0 / 0.5925 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.1747, allocations: 0 / 0.5925 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003149/0.175, allocations: 0.5937 MB / 0.5931 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.175, allocations: 0 / 0.5931 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.003e-05/0.1751, allocations: 61.17 kB / 0.5932 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.601e-05/0.1751, allocations: 77.11 kB / 0.5932 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.1752, allocations: 8.109 kB / 0.5932 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.521e-05/0.1752, allocations: 3.938 kB / 0.5932 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.55e-05/0.1752, allocations: 4 kB / 0.5932 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-06/0.1752, allocations: 3.938 kB / 0.5933 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.309e-05/0.1752, allocations: 79.28 kB / 0.5933 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.1e-07/0.1752, allocations: 0 / 0.5933 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001964/0.1754, allocations: 12 kB / 0.5933 GB, free: 12.7 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.0001885/0.1756, allocations: 115.3 kB / 0.5934 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001537/0.1758, allocations: 15.98 kB / 0.5935 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.1758, allocations: 0 / 0.5935 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.912e-05/0.1759, allocations: 19.98 kB / 0.5935 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000144/0.1761, allocations: 0 / 0.5935 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003536/0.1764, allocations: 119.1 kB / 0.5936 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003046/0.1767, allocations: 0.6731 MB / 0.5943 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.615e-05/0.1768, allocations: 0 / 0.5943 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.804e-05/0.1768, allocations: 11.42 kB / 0.5943 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of SimCode: time 2.71e-07/0.1768, allocations: 0 / 0.5943 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of Templates: time 0.002386/0.1792, allocations: 428 kB / 0.5947 GB, free: 11.3 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)