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.004314/0.004314, allocations: 101.7 kB / 15.73 MB, free: 6.477 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.001144/0.001144, allocations: 192.4 kB / 16.67 MB, free: 6.391 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.324/1.324, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9417/0.9417, allocations: 135.1 MB / 425.7 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 55.91 kB / 0.5856 GB, free: 3.371 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4114/0.4126, allocations: 80.92 MB / 0.6646 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002202/0.4148, allocations: 1.239 MB / 0.6658 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008251/0.4157, allocations: 0.5937 MB / 0.6664 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.152e-05/0.4157, allocations: 0 / 0.6664 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.819e-05/0.4157, allocations: 0 / 0.6664 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.516e-05/0.4158, allocations: 1.406 kB / 0.6664 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004384/0.4162, allocations: 145.7 kB / 0.6666 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.785e-05/0.4163, allocations: 12.77 kB / 0.6666 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.094e-05/0.4163, allocations: 2.688 kB / 0.6666 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.831e-05/0.4164, allocations: 2.469 kB / 0.6666 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.193e-05/0.4164, allocations: 9.219 kB / 0.6666 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.111e-05/0.4164, allocations: 1.438 kB / 0.6666 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004345/0.4169, allocations: 345.6 kB / 0.6669 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.061e-05/0.4169, allocations: 4 kB / 0.6669 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.804e-05/0.4169, allocations: 1.25 kB / 0.6669 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002203/0.4171, allocations: 142.4 kB / 0.6671 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4171, allocations: 5.25 kB / 0.6671 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4171, allocations: 0 / 0.6671 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.4171, allocations: 0 / 0.6671 GB, free: 5.73 MB / 0.4981 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.0003158/0.4175, allocations: 353.2 kB / 0.6674 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.4175, allocations: 9.938 kB / 0.6674 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.981e-05/0.4175, allocations: 2.312 kB / 0.6674 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.49e-05/0.4176, allocations: 160.4 kB / 0.6676 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.4176, allocations: 5.625 kB / 0.6676 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.836e-06/0.4176, allocations: 5.438 kB / 0.6676 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.257e-05/0.4177, allocations: 40.91 kB / 0.6676 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.4177, allocations: 0 / 0.6676 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.4177, allocations: 0 / 0.6676 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.4178, allocations: 1.094 kB / 0.6676 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.136e-05/0.4178, allocations: 6.906 kB / 0.6676 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001523/0.418, allocations: 148.8 kB / 0.6678 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.67e-05/0.418, allocations: 24.09 kB / 0.6678 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.016e-05/0.418, allocations: 18.98 kB / 0.6678 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.4181, allocations: 3.938 kB / 0.6678 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.624e-05/0.4181, allocations: 31.75 kB / 0.6678 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.4181, allocations: 0 / 0.6678 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001383/0.4182, allocations: 44.02 kB / 0.6679 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.843e-05/0.4183, allocations: 51.41 kB / 0.6679 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.895e-05/0.4183, allocations: 96.28 kB / 0.668 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.813e-06/0.4183, allocations: 31.55 kB / 0.6681 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.528e-05/0.4184, allocations: 80.14 kB / 0.6681 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.176e-05/0.4184, allocations: 9.312 kB / 0.6681 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.464e-05/0.4184, allocations: 15.97 kB / 0.6682 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.667e-05/0.4185, allocations: 312.2 kB / 0.6685 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.289e-05/0.4185, allocations: 5.516 kB / 0.6685 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.166e-06/0.4185, allocations: 1.438 kB / 0.6685 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.927e-05/0.4185, allocations: 18.23 kB / 0.6685 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.4185, allocations: 3.938 kB / 0.6685 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.253e-05/0.4186, allocations: 39.11 kB / 0.6685 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.4186, allocations: 5.125 kB / 0.6685 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.4186, allocations: 0 / 0.6685 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.4186, allocations: 7.922 kB / 0.6685 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.4188, allocations: 11.67 kB / 0.6685 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000232/0.419, allocations: 0.5904 MB / 0.6691 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.029e-05/0.4191, allocations: 1.094 kB / 0.6691 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.4191, allocations: 5.344 kB / 0.6691 GB, free: 3.484 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 4.672e-05/0.4191, allocations: 111.1 kB / 0.6692 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.915e-06/0.4191, allocations: 5.453 kB / 0.6692 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.26e-05/0.4192, allocations: 44.12 kB / 0.6693 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.4192, allocations: 1.469 kB / 0.6693 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.4193, allocations: 128 / 0.6693 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.4193, allocations: 7.984 kB / 0.6693 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.569e-05/0.4193, allocations: 151.9 kB / 0.6694 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.4193, allocations: 1.219 kB / 0.6694 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.459e-05/0.4194, allocations: 11.36 kB / 0.6694 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.4194, allocations: 0 / 0.6694 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.4194, allocations: 1.094 kB / 0.6694 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001758/0.4196, allocations: 0.5864 MB / 0.67 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4196, allocations: 8.031 kB / 0.67 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.467e-05/0.4197, allocations: 66.75 kB / 0.6701 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.818e-05/0.4197, allocations: 78.11 kB / 0.6702 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.4197, allocations: 8.781 kB / 0.6702 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.311e-05/0.4197, allocations: 0 / 0.6702 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.154e-05/0.4197, allocations: 1.094 kB / 0.6702 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-06/0.4197, allocations: 1.156 kB / 0.6702 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.002e-05/0.4198, allocations: 85.83 kB / 0.6703 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.4198, allocations: 3.938 kB / 0.6703 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001912/0.42, allocations: 10.88 kB / 0.6703 GB, free: 2.238 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.0001492/0.4201, allocations: 113.9 kB / 0.6704 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001577/0.4203, allocations: 14.06 kB / 0.6704 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.4203, allocations: 0 / 0.6704 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.598e-05/0.4204, allocations: 18.42 kB / 0.6704 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001418/0.4205, allocations: 6.344 kB / 0.6704 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003678/0.4209, allocations: 108.9 kB / 0.6705 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001353/0.4211, allocations: 0.6753 MB / 0.6712 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.775e-05/0.4211, allocations: 0 / 0.6712 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.508e-05/0.4211, allocations: 8.938 kB / 0.6712 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of SimCode: time 3.4e-07/0.4211, allocations: 4.062 kB / 0.6712 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of Templates: time 0.002927/0.424, allocations: 454.6 kB / 0.6716 GB, free: 1.066 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)