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-master/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-master/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: "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="IDEAS_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/Complex 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6957/0.6957, allocations: 133.4 MB / 146.7 MB, free: 10.8 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 221.3 MB / 400.4 MB, free: 5.805 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008692/0.0008691, allocations: 97.48 kB / 483.3 MB, free: 5.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.17e-05/3.179e-05, allocations: 7.078 kB / 0.5601 GB, free: 87.79 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1464, allocations: 82.3 MB / 0.6405 GB, free: 7.73 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5305/0.677, allocations: 111.8 MB / 0.7497 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001894/0.6772, allocations: 82.09 kB / 0.7498 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.009469/0.6867, allocations: 3.492 MB / 0.7532 GB, free: 27.61 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6867, allocations: 0 / 0.7532 GB, free: 27.61 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.6868, allocations: 0 / 0.7532 GB, free: 27.61 MB / 0.5105 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.000318/0.6871, allocations: 338.2 kB / 0.7535 GB, free: 27.24 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.6871, allocations: 11.41 kB / 0.7535 GB, free: 27.24 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.329e-05/0.6872, allocations: 33.23 kB / 0.7536 GB, free: 27.2 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.423e-05/0.6872, allocations: 4.531 kB / 0.7536 GB, free: 27.2 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.6873, allocations: 163 kB / 0.7537 GB, free: 27 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.6874, allocations: 7.844 kB / 0.7537 GB, free: 27 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.844e-06/0.6874, allocations: 0 / 0.7537 GB, free: 27 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.678e-05/0.6875, allocations: 32.55 kB / 0.7538 GB, free: 26.97 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.6875, allocations: 0 / 0.7538 GB, free: 26.97 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.6875, allocations: 0 / 0.7538 GB, free: 26.97 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.6875, allocations: 0 / 0.7538 GB, free: 26.97 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.765e-05/0.6875, allocations: 7.781 kB / 0.7538 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001535/0.6877, allocations: 159.5 kB / 0.7539 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.374e-05/0.6877, allocations: 26.08 kB / 0.7539 GB, free: 26.74 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.796e-05/0.6878, allocations: 8.734 kB / 0.7539 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.6878, allocations: 3.938 kB / 0.754 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.6878, allocations: 30.56 kB / 0.754 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.6878, allocations: 0 / 0.754 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0001263/0.688, allocations: 43.22 kB / 0.754 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/0.688, allocations: 51.41 kB / 0.7541 GB, free: 26.59 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.525e-05/0.6881, allocations: 92.88 kB / 0.7542 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.6881, allocations: 25.7 kB / 0.7542 GB, free: 26.47 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.696e-05/0.6881, allocations: 80.14 kB / 0.7543 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.596e-05/0.6882, allocations: 13.94 kB / 0.7543 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-06/0.6882, allocations: 0 / 0.7543 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.6884, allocations: 314.8 kB / 0.7546 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.271e-05/0.6884, allocations: 0 / 0.7546 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.027e-06/0.6884, allocations: 8.062 kB / 0.7546 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.903e-05/0.6884, allocations: 7.562 kB / 0.7546 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.6884, allocations: 0 / 0.7546 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.442e-05/0.6885, allocations: 42.92 kB / 0.7546 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.6885, allocations: 3.844 kB / 0.7546 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.6886, allocations: 3.594 kB / 0.7546 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.6886, allocations: 0 / 0.7546 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.6887, allocations: 10.39 kB / 0.7546 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003741/0.6891, allocations: 0.5828 MB / 0.7552 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.123e-05/0.6891, allocations: 3.953 kB / 0.7552 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.6892, allocations: 0 / 0.7552 GB, free: 25.43 MB / 0.5105 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.022e-05/0.6892, allocations: 108.5 kB / 0.7553 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.266e-06/0.6893, allocations: 0 / 0.7553 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001091/0.6894, allocations: 50.23 kB / 0.7554 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.6894, allocations: 4.125 kB / 0.7554 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.6894, allocations: 7.969 kB / 0.7554 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.6894, allocations: 0 / 0.7554 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.881e-05/0.6895, allocations: 148.5 kB / 0.7555 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.6895, allocations: 0 / 0.7555 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.117e-05/0.6896, allocations: 10.33 kB / 0.7555 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.6896, allocations: 3.688 kB / 0.7555 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.62e-06/0.6896, allocations: 0 / 0.7555 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003173/0.6899, allocations: 0.5912 MB / 0.7561 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.6899, allocations: 3.984 kB / 0.7561 GB, free: 24.49 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.71e-05/0.69, allocations: 70.97 kB / 0.7562 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.439e-05/0.6901, allocations: 79.92 kB / 0.7563 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.07e-05/0.6901, allocations: 0 / 0.7563 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.336e-05/0.6901, allocations: 0 / 0.7563 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.394e-05/0.6901, allocations: 7.797 kB / 0.7563 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.6901, allocations: 4.125 kB / 0.7563 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.313e-05/0.6902, allocations: 75.28 kB / 0.7563 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6902, allocations: 0 / 0.7563 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002027/0.6904, allocations: 18.45 kB / 0.7564 GB, free: 24.24 MB / 0.5105 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.0004304/0.6908, allocations: 0.6156 MB / 0.757 GB, free: 23.64 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000147/0.691, allocations: 14.31 kB / 0.757 GB, free: 23.64 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.691, allocations: 0 / 0.757 GB, free: 23.64 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 7.809e-05/0.6911, allocations: 10.69 kB / 0.757 GB, free: 23.64 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001074/0.6912, allocations: 13.23 kB / 0.757 GB, free: 23.64 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002627/0.6915, allocations: 89.91 kB / 0.7571 GB, free: 23.53 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002556/0.6917, allocations: 0.6759 MB / 0.7577 GB, free: 22.83 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.689e-05/0.6917, allocations: 4 kB / 0.7578 GB, free: 22.83 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.282e-05/0.6918, allocations: 11.28 kB / 0.7578 GB, free: 22.82 MB / 0.5105 GB Notification: Performance of SimCode: time 2.51e-07/0.6918, allocations: 3.938 kB / 0.7578 GB, free: 22.82 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01374/0.7055, allocations: 1.126 MB / 0.7589 GB, free: 22.67 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001683/0.7057, allocations: 196.4 kB / 0.7591 GB, free: 22.45 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.428/2.134, allocations: 3.938 kB / 0.7591 GB, free: 22.45 MB / 0.5105 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)