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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001584/0.001584, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 192.7 kB / 22.23 MB, free: 5.16 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.566/1.566, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180]
"[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence.
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence.
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C.
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo.
Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.204/1.204, allocations: 177.9 MB / 484.2 MB, free: 5.387 MB / 382.1 MB
"
[Timeout remaining time 178]
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_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow")
translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002058/0.002058, allocations: 72.25 kB / 0.674 GB, free: 10.81 MB / 0.4981 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.7293/0.7313, allocations: 95.17 MB / 0.7669 GB, free: 7.957 MB / 0.5762 GB
Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002896/0.7342, allocations: 1.244 MB / 0.7681 GB, free: 7.434 MB / 0.5762 GB
Notification: Performance of NFInst.instExpressions: time 0.001154/0.7354, allocations: 0.5856 MB / 0.7687 GB, free: 7.027 MB / 0.5762 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.601e-05/0.7354, allocations: 5.156 kB / 0.7687 GB, free: 7.023 MB / 0.5762 GB
Notification: Performance of NFTyping.typeComponents: time 2.268e-05/0.7354, allocations: 0 / 0.7687 GB, free: 7.023 MB / 0.5762 GB
Notification: Performance of NFTyping.typeBindings: time 4.518e-05/0.7355, allocations: 0.6094 kB / 0.7687 GB, free: 7.023 MB / 0.5762 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0005792/0.736, allocations: 145 kB / 0.7689 GB, free: 6.957 MB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 5.925e-05/0.7361, allocations: 13.89 kB / 0.7689 GB, free: 6.949 MB / 0.5762 GB
Notification: Performance of NFFlatten.resolveConnections: time 5.129e-05/0.7362, allocations: 2.016 kB / 0.7689 GB, free: 6.949 MB / 0.5762 GB
Notification: Performance of NFEvalConstants.evaluate: time 2.005e-05/0.7362, allocations: 7 kB / 0.7689 GB, free: 6.945 MB / 0.5762 GB
Notification: Performance of NFSimplifyModel.simplify: time 5.632e-05/0.7362, allocations: 2.969 kB / 0.7689 GB, free: 6.945 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.7362, allocations: 5.188 kB / 0.7689 GB, free: 6.941 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.000543/0.7368, allocations: 347.7 kB / 0.7692 GB, free: 6.836 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 9.848e-06/0.7368, allocations: 0 / 0.7692 GB, free: 6.836 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 2.329e-05/0.7368, allocations: 6.812 kB / 0.7692 GB, free: 6.832 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.000299/0.7371, allocations: 139.8 kB / 0.7694 GB, free: 6.797 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.7371, allocations: 0 / 0.7694 GB, free: 6.797 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 2.214e-06/0.7371, allocations: 0 / 0.7694 GB, free: 6.797 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 6.092e-06/0.7371, allocations: 1.406 kB / 0.7694 GB, free: 6.797 MB / 0.5762 GB
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.0003976/0.7375, allocations: 276.5 kB / 0.7696 GB, free: 6.516 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.7376, allocations: 13.34 kB / 0.7696 GB, free: 6.512 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.12e-05/0.7376, allocations: 6.125 kB / 0.7696 GB, free: 6.508 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 8.758e-05/0.7377, allocations: 104.6 kB / 0.7697 GB, free: 6.383 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.7377, allocations: 4.375 kB / 0.7697 GB, free: 6.379 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.408e-05/0.7377, allocations: 5.328 kB / 0.7697 GB, free: 6.375 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 9.721e-05/0.7378, allocations: 35.05 kB / 0.7698 GB, free: 6.34 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.7378, allocations: 0 / 0.7698 GB, free: 6.34 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.7378, allocations: 0 / 0.7698 GB, free: 6.34 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.7378, allocations: 1.281 kB / 0.7698 GB, free: 6.34 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 2.831e-05/0.7379, allocations: 12.62 kB / 0.7698 GB, free: 6.332 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001203/0.738, allocations: 121.7 kB / 0.7699 GB, free: 6.176 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 4.752e-05/0.738, allocations: 23.77 kB / 0.7699 GB, free: 6.148 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 1.904e-05/0.7381, allocations: 9.344 kB / 0.7699 GB, free: 6.141 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.7381, allocations: 7.922 kB / 0.7699 GB, free: 6.133 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.54e-05/0.7381, allocations: 31.62 kB / 0.77 GB, free: 6.094 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.7381, allocations: 0 / 0.77 GB, free: 6.094 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=2): time 0.0001479/0.7382, allocations: 53.67 kB / 0.77 GB, free: 6.047 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 2.587e-05/0.7383, allocations: 51.41 kB / 0.7701 GB, free: 5.984 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.907e-05/0.7383, allocations: 98.25 kB / 0.7702 GB, free: 5.883 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 9.318e-06/0.7383, allocations: 25.7 kB / 0.7702 GB, free: 5.852 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 1.856e-05/0.7383, allocations: 82.91 kB / 0.7703 GB, free: 5.77 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.7384, allocations: 7.891 kB / 0.7703 GB, free: 5.762 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 2.369e-05/0.7384, allocations: 12.38 kB / 0.7703 GB, free: 5.746 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 5.912e-05/0.7385, allocations: 322.1 kB / 0.7706 GB, free: 5.426 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.223e-05/0.7385, allocations: 1.375 kB / 0.7706 GB, free: 5.426 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.714e-06/0.7385, allocations: 2.594 kB / 0.7706 GB, free: 5.426 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 2.804e-05/0.7385, allocations: 11.62 kB / 0.7706 GB, free: 5.418 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.7385, allocations: 0 / 0.7706 GB, free: 5.418 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=2) (initialization): time 5.772e-05/0.7386, allocations: 47.44 kB / 0.7707 GB, free: 5.375 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.7386, allocations: 6.156 kB / 0.7707 GB, free: 5.375 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.7386, allocations: 0 / 0.7707 GB, free: 5.375 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.7386, allocations: 4.094 kB / 0.7707 GB, free: 5.371 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001627/0.7388, allocations: 11.41 kB / 0.7707 GB, free: 5.371 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002653/0.739, allocations: 0.5823 MB / 0.7713 GB, free: 4.781 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.749e-05/0.7391, allocations: 1.625 kB / 0.7713 GB, free: 4.781 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.273e-06/0.7391, allocations: 1.5 kB / 0.7713 GB, free: 4.781 MB / 0.5762 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.926e-05/0.7391, allocations: 127.2 kB / 0.7714 GB, free: 4.648 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.745e-06/0.7391, allocations: 5.312 kB / 0.7714 GB, free: 4.645 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001069/0.7392, allocations: 43.97 kB / 0.7714 GB, free: 4.605 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.7392, allocations: 1.281 kB / 0.7714 GB, free: 4.605 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.7392, allocations: 0 / 0.7714 GB, free: 4.605 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.7392, allocations: 1.125 kB / 0.7714 GB, free: 4.605 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.114e-05/0.7393, allocations: 124.2 kB / 0.7715 GB, free: 4.449 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.7393, allocations: 0 / 0.7715 GB, free: 4.449 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.505e-05/0.7394, allocations: 8.406 kB / 0.7716 GB, free: 4.449 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.7394, allocations: 1.562 kB / 0.7716 GB, free: 4.449 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.7394, allocations: 5.203 kB / 0.7716 GB, free: 4.445 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002288/0.7397, allocations: 0.591 MB / 0.7721 GB, free: 3.848 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.7397, allocations: 1.062 kB / 0.7721 GB, free: 3.848 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 6.062e-05/0.7397, allocations: 60.56 kB / 0.7722 GB, free: 3.781 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 8.195e-06/0.7397, allocations: 5.234 kB / 0.7722 GB, free: 3.777 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.7397, allocations: 15.59 kB / 0.7722 GB, free: 3.766 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.403e-05/0.7398, allocations: 1.094 kB / 0.7722 GB, free: 3.766 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.918e-05/0.7398, allocations: 1.219 kB / 0.7722 GB, free: 3.766 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.7398, allocations: 0 / 0.7722 GB, free: 3.766 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 2.181e-05/0.7398, allocations: 77.25 kB / 0.7723 GB, free: 3.691 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 7e-08/0.7398, allocations: 0 / 0.7723 GB, free: 3.691 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.0002114/0.74, allocations: 11.59 kB / 0.7723 GB, free: 3.688 MB / 0.5762 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.0001767/0.7402, allocations: 115 kB / 0.7724 GB, free: 3.586 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 0.0001804/0.7404, allocations: 23.31 kB / 0.7724 GB, free: 3.582 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.7404, allocations: 0 / 0.7724 GB, free: 3.582 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 8.402e-05/0.7405, allocations: 13.66 kB / 0.7724 GB, free: 3.582 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001514/0.7406, allocations: 1.375 kB / 0.7724 GB, free: 3.582 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004198/0.741, allocations: 109.6 kB / 0.7726 GB, free: 3.465 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000122/0.7412, allocations: 0.6841 MB / 0.7732 GB, free: 2.758 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 1.607e-05/0.7412, allocations: 0 / 0.7732 GB, free: 2.758 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.374e-05/0.7412, allocations: 8.344 kB / 0.7732 GB, free: 2.75 MB / 0.5762 GB
Notification: Performance of SimCode: time 2.7e-07/0.7412, allocations: 0.625 kB / 0.7732 GB, free: 2.75 MB / 0.5762 GB
Notification: Performance of Templates: time 0.003246/0.7444, allocations: 479 kB / 0.7737 GB, free: 2.676 MB / 0.5762 GB
"
[Timeout remaining time 659]
make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile [Timeout 660]
(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 & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.958735560066998]
Failed to read output from testmodel.py, exit status != 0:
0.753651519306004 0.776446844 0.034300932
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f7fbfbb97b0>