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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001683/0.001683, allocations: 169 kB / 7.645 MB, free: 1.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7697/0.7697, allocations: 130.7 MB / 138.7 MB, free: 3.594 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 221.5 MB / 391.8 MB, free: 14.18 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009474/0.0009474, allocations: 98.59 kB / 473.9 MB, free: 4.473 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.047e-05/2.051e-05, allocations: 4 kB / 0.5485 GB, free: 13.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5549/0.5549, allocations: 81.57 MB / 0.6282 GB, free: 42.85 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.152/0.707, allocations: 110.9 MB / 0.7365 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002475/0.7073, allocations: 79.95 kB / 0.7366 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.009843/0.7171, allocations: 3.476 MB / 0.7399 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.363e-06/0.7172, allocations: 0 / 0.7399 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.203e-05/0.7172, allocations: 0 / 0.7399 GB, free: 12.31 MB / 0.5261 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.0003018/0.7175, allocations: 330.4 kB / 0.7403 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.7176, allocations: 8.031 kB / 0.7403 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.746e-05/0.7176, allocations: 0.875 kB / 0.7403 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.7177, allocations: 179 kB / 0.7404 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.7178, allocations: 3.984 kB / 0.7404 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-06/0.7178, allocations: 1.219 kB / 0.7404 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.47e-05/0.7178, allocations: 7.938 kB / 0.7405 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.9e-05/0.7179, allocations: 29.7 kB / 0.7405 GB, free: 11.67 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.7179, allocations: 4 kB / 0.7405 GB, free: 11.67 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.787e-06/0.7179, allocations: 0 / 0.7405 GB, free: 11.67 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.718, allocations: 0 / 0.7405 GB, free: 11.67 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001493/0.7181, allocations: 134.9 kB / 0.7406 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 4.834e-05/0.7182, allocations: 34.61 kB / 0.7406 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.895e-05/0.7182, allocations: 4.859 kB / 0.7407 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.7182, allocations: 0 / 0.7407 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.7183, allocations: 34.62 kB / 0.7407 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 3.577e-06/0.7183, allocations: 0 / 0.7407 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0001389/0.7184, allocations: 33.64 kB / 0.7407 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.363e-05/0.7185, allocations: 59.38 kB / 0.7408 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.126e-05/0.7185, allocations: 93 kB / 0.7409 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.7186, allocations: 29.69 kB / 0.7409 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.806e-05/0.7186, allocations: 80.14 kB / 0.741 GB, free: 11.08 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.515e-05/0.7186, allocations: 3.906 kB / 0.741 GB, free: 11.08 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.515e-06/0.7186, allocations: 0 / 0.741 GB, free: 11.08 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.7188, allocations: 314.8 kB / 0.7413 GB, free: 10.76 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.356e-06/0.7188, allocations: 0 / 0.7413 GB, free: 10.76 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.389e-05/0.7188, allocations: 12.12 kB / 0.7413 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.367e-05/0.7188, allocations: 0 / 0.7413 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.7188, allocations: 3.953 kB / 0.7413 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.931e-05/0.7189, allocations: 45.56 kB / 0.7413 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.7189, allocations: 5.562 kB / 0.7413 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.7189, allocations: 4 kB / 0.7413 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.7189, allocations: 0 / 0.7413 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.7191, allocations: 8 kB / 0.7413 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003871/0.7195, allocations: 0.59 MB / 0.7419 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.743e-05/0.7195, allocations: 0 / 0.7419 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.7195, allocations: 3.953 kB / 0.7419 GB, free: 10.06 MB / 0.5261 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 () * 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 7.464e-05/0.7196, allocations: 105 kB / 0.742 GB, free: 9.953 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.583e-06/0.7196, allocations: 0 / 0.742 GB, free: 9.953 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001056/0.7197, allocations: 49.38 kB / 0.7421 GB, free: 9.898 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.7198, allocations: 4.125 kB / 0.7421 GB, free: 9.895 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.7198, allocations: 0 / 0.7421 GB, free: 9.895 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.7198, allocations: 0 / 0.7421 GB, free: 9.895 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.027e-05/0.7199, allocations: 130.2 kB / 0.7422 GB, free: 9.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.7199, allocations: 0 / 0.7422 GB, free: 9.73 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.311e-05/0.7199, allocations: 11.98 kB / 0.7422 GB, free: 9.719 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.72, allocations: 0 / 0.7422 GB, free: 9.719 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.72, allocations: 0 / 0.7422 GB, free: 9.719 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002734/0.7202, allocations: 0.5859 MB / 0.7428 GB, free: 9.109 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.7203, allocations: 4.031 kB / 0.7428 GB, free: 9.105 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.391e-05/0.7203, allocations: 69.02 kB / 0.7429 GB, free: 9.02 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.064e-05/0.7204, allocations: 77.11 kB / 0.7429 GB, free: 8.926 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.246e-05/0.7204, allocations: 0 / 0.7429 GB, free: 8.926 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.29e-05/0.7204, allocations: 0 / 0.7429 GB, free: 8.926 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.096e-05/0.7204, allocations: 0 / 0.7429 GB, free: 8.926 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.7204, allocations: 8.109 kB / 0.7429 GB, free: 8.918 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.201e-05/0.7205, allocations: 87.23 kB / 0.743 GB, free: 8.832 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7205, allocations: 0 / 0.743 GB, free: 8.832 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002015/0.7207, allocations: 15.94 kB / 0.743 GB, free: 8.816 MB / 0.5261 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 () * 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001903/0.7209, allocations: 112.9 kB / 0.7431 GB, free: 8.699 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001351/0.721, allocations: 15.94 kB / 0.7432 GB, free: 8.684 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.721, allocations: 0 / 0.7432 GB, free: 8.684 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 7.516e-05/0.7211, allocations: 20.08 kB / 0.7432 GB, free: 8.664 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001069/0.7212, allocations: 3.938 kB / 0.7432 GB, free: 8.66 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000177/0.7214, allocations: 59.83 kB / 0.7432 GB, free: 8.582 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002281/0.7217, allocations: 0.6729 MB / 0.7439 GB, free: 7.883 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 1.676e-05/0.7217, allocations: 3.984 kB / 0.7439 GB, free: 7.879 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.299e-05/0.7217, allocations: 7.438 kB / 0.7439 GB, free: 7.871 MB / 0.5261 GB Notification: Performance of SimCode: time 2.21e-07/0.7217, allocations: 0 / 0.7439 GB, free: 7.871 MB / 0.5261 GB Notification: Performance of Templates: time 0.002272/0.724, allocations: 402.6 kB / 0.7443 GB, free: 7.48 MB / 0.5261 GB make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (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 & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)