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.01089/0.01089, allocations: 169.9 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7727/0.7727, allocations: 135.2 MB / 151 MB, free: 13.81 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.582/1.582, allocations: 223.2 MB / 406.8 MB, free: 3.168 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.00106/0.001061, allocations: 95.42 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003773/0.0003773, allocations: 8 kB / 0.5692 GB, free: 14.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4682/0.4686, allocations: 82.3 MB / 0.6495 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1659/0.6346, allocations: 111.9 MB / 0.7588 GB, free: 4.098 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002615/0.6349, allocations: 79.95 kB / 0.7589 GB, free: 4.02 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01033/0.6453, allocations: 3.489 MB / 0.7623 GB, free: 0.5273 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.914e-06/0.6453, allocations: 0 / 0.7623 GB, free: 0.5273 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.336e-06/0.6453, allocations: 4 kB / 0.7623 GB, free: 0.5234 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.000337/0.6457, allocations: 343.3 kB / 0.7626 GB, free: 144 kB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.6457, allocations: 8.031 kB / 0.7626 GB, free: 136 kB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.837e-05/0.6458, allocations: 34.56 kB / 0.7626 GB, free: 92 kB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.423e-05/0.6458, allocations: 7.906 kB / 0.7627 GB, free: 84 kB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.646, allocations: 167 kB / 0.7628 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.646, allocations: 0 / 0.7628 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.144e-05/0.646, allocations: 0 / 0.7628 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.927e-05/0.6461, allocations: 33.64 kB / 0.7628 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.981e-06/0.6461, allocations: 0 / 0.7628 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-06/0.6461, allocations: 0 / 0.7628 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.6461, allocations: 4 kB / 0.7629 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.732e-05/0.6462, allocations: 4 kB / 0.7629 GB, free: 15.83 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001652/0.6463, allocations: 157.6 kB / 0.763 GB, free: 15.63 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 6.378e-05/0.6464, allocations: 34.53 kB / 0.763 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.6464, allocations: 0 / 0.763 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.6465, allocations: 34.56 kB / 0.7631 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 7.41e-07/0.6465, allocations: 8 kB / 0.7631 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0001378/0.6466, allocations: 41.69 kB / 0.7631 GB, free: 15.49 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/0.6467, allocations: 51.41 kB / 0.7632 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.258e-05/0.6468, allocations: 89 kB / 0.7633 GB, free: 15.33 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.6468, allocations: 29.64 kB / 0.7633 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.431e-05/0.6468, allocations: 80.14 kB / 0.7634 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.433e-05/0.6468, allocations: 7.891 kB / 0.7634 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.034e-06/0.6469, allocations: 0 / 0.7634 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.647, allocations: 319.1 kB / 0.7637 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.272e-05/0.647, allocations: 4 kB / 0.7637 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.125e-06/0.647, allocations: 3.938 kB / 0.7637 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.807e-05/0.6471, allocations: 7.953 kB / 0.7637 GB, free: 14.87 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.6471, allocations: 0 / 0.7637 GB, free: 14.87 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.327e-05/0.6471, allocations: 37.7 kB / 0.7637 GB, free: 14.83 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.6471, allocations: 7.984 kB / 0.7637 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.6472, allocations: 4 kB / 0.7637 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.6472, allocations: 0 / 0.7637 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.6473, allocations: 12.09 kB / 0.7637 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003726/0.6477, allocations: 0.5821 MB / 0.7643 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.147e-05/0.6478, allocations: 7.938 kB / 0.7643 GB, free: 14.19 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.6478, allocations: 0 / 0.7643 GB, free: 14.19 MB / 0.5417 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 (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 8.625e-05/0.6479, allocations: 109.9 kB / 0.7644 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.291e-06/0.6479, allocations: 4.094 kB / 0.7644 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001108/0.648, allocations: 48.72 kB / 0.7645 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.648, allocations: 0 / 0.7645 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.648, allocations: 0 / 0.7645 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.648, allocations: 0 / 0.7645 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001139/0.6481, allocations: 157.6 kB / 0.7646 GB, free: 13.81 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.6481, allocations: 0 / 0.7646 GB, free: 13.81 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.785e-05/0.6482, allocations: 11.98 kB / 0.7646 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.6482, allocations: 0 / 0.7646 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.6482, allocations: 4 kB / 0.7646 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003189/0.6486, allocations: 0.5899 MB / 0.7652 GB, free: 13.18 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.6486, allocations: 4.031 kB / 0.7652 GB, free: 13.18 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.735e-05/0.6486, allocations: 61.12 kB / 0.7653 GB, free: 13.1 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.729e-05/0.6487, allocations: 81.05 kB / 0.7654 GB, free: 13 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.085e-05/0.6487, allocations: 4.125 kB / 0.7654 GB, free: 13 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.358e-05/0.6487, allocations: 0 / 0.7654 GB, free: 13 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.976e-05/0.6488, allocations: 19.88 kB / 0.7654 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-06/0.6488, allocations: 3.938 kB / 0.7654 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.489e-05/0.6488, allocations: 79.22 kB / 0.7655 GB, free: 12.9 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6488, allocations: 0 / 0.7655 GB, free: 12.9 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002007/0.649, allocations: 8 kB / 0.7655 GB, free: 12.89 MB / 0.5417 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 (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.0004441/0.6495, allocations: 0.6126 MB / 0.7661 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001457/0.6496, allocations: 19.98 kB / 0.7661 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.6496, allocations: 3.938 kB / 0.7661 GB, free: 12.22 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 6.886e-05/0.6497, allocations: 8 kB / 0.7661 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001023/0.6498, allocations: 4.109 kB / 0.7661 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004287/0.6503, allocations: 150.1 kB / 0.7662 GB, free: 12.03 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003554/0.6506, allocations: 0.6809 MB / 0.7669 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.511e-05/0.6507, allocations: 0 / 0.7669 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.684e-05/0.6507, allocations: 11.44 kB / 0.7669 GB, free: 11.31 MB / 0.5417 GB Notification: Performance of SimCode: time 2.4e-07/0.6507, allocations: 0 / 0.7669 GB, free: 11.31 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01336/0.6641, allocations: 1.121 MB / 0.768 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002108/0.6643, allocations: 229 kB / 0.7682 GB, free: 10.17 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.529/2.193, allocations: 0 / 0.7682 GB, free: 10.17 MB / 0.5417 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)