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/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_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="IDEAS_dev_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.001895/0.001895, allocations: 174.7 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.7209/0.7209, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.448/1.448, allocations: 221.3 MB / 400.4 MB, free: 5.844 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.001027/0.001027, allocations: 98.22 kB / 483.3 MB, free: 5.871 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.728e-05/3.748e-05, allocations: 3.656 kB / 0.5601 GB, free: 87.82 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.161, allocations: 82.31 MB / 0.6405 GB, free: 7.719 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5766/0.7376, allocations: 111.8 MB / 0.7497 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001977/0.7379, allocations: 80.39 kB / 0.7498 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.009357/0.7473, allocations: 3.486 MB / 0.7532 GB, free: 27.57 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.312e-06/0.7473, allocations: 4 kB / 0.7532 GB, free: 27.56 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.7473, allocations: 0 / 0.7532 GB, free: 27.56 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.0003017/0.7476, allocations: 339.6 kB / 0.7535 GB, free: 27.2 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.7477, allocations: 11.69 kB / 0.7535 GB, free: 27.2 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.654e-05/0.7477, allocations: 30.56 kB / 0.7536 GB, free: 27.16 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.215e-05/0.7477, allocations: 0.7812 kB / 0.7536 GB, free: 27.16 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.7479, allocations: 173 kB / 0.7537 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.786e-06/0.7479, allocations: 0 / 0.7537 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.013e-06/0.7479, allocations: 0 / 0.7537 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.12e-05/0.748, allocations: 33.55 kB / 0.7538 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.748, allocations: 0 / 0.7538 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.748, allocations: 0 / 0.7538 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.748, allocations: 0 / 0.7538 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.618e-05/0.748, allocations: 7.781 kB / 0.7538 GB, free: 26.92 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001435/0.7482, allocations: 159.5 kB / 0.7539 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.177e-05/0.7482, allocations: 24.69 kB / 0.7539 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.611e-05/0.7483, allocations: 12.73 kB / 0.754 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.7483, allocations: 3.938 kB / 0.754 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.7483, allocations: 30.56 kB / 0.754 GB, free: 26.65 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.7483, allocations: 0 / 0.754 GB, free: 26.65 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0001263/0.7485, allocations: 40.7 kB / 0.754 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.7485, allocations: 54.08 kB / 0.7541 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.484e-05/0.7486, allocations: 92.91 kB / 0.7542 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.7486, allocations: 25.7 kB / 0.7542 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.045e-05/0.7486, allocations: 83.52 kB / 0.7543 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.164e-05/0.7487, allocations: 7.719 kB / 0.7543 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.274e-06/0.7487, allocations: 0 / 0.7543 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.7488, allocations: 317.7 kB / 0.7546 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.033e-05/0.7488, allocations: 0 / 0.7546 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.097e-06/0.7488, allocations: 7.719 kB / 0.7546 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.601e-05/0.7488, allocations: 4.031 kB / 0.7546 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.7489, allocations: 4 kB / 0.7546 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.361e-05/0.7489, allocations: 37.36 kB / 0.7546 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.7489, allocations: 8.5 kB / 0.7546 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.749, allocations: 2.859 kB / 0.7546 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.749, allocations: 7.859 kB / 0.7546 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001574/0.7491, allocations: 7.688 kB / 0.7547 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003682/0.7495, allocations: 0.5787 MB / 0.7552 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.037e-05/0.7496, allocations: 11.33 kB / 0.7552 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.7496, allocations: 0 / 0.7552 GB, free: 25.39 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 0.0001047/0.7497, allocations: 104.8 kB / 0.7553 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.187e-06/0.7497, allocations: 2.719 kB / 0.7553 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001004/0.7498, allocations: 46.31 kB / 0.7554 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.7498, allocations: 0 / 0.7554 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.7498, allocations: 0 / 0.7554 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.7498, allocations: 4.031 kB / 0.7554 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.922e-05/0.7499, allocations: 158.4 kB / 0.7555 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.7499, allocations: 0 / 0.7555 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.788e-05/0.75, allocations: 10.23 kB / 0.7555 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.75, allocations: 0 / 0.7555 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.553e-06/0.75, allocations: 3.875 kB / 0.7555 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003206/0.7504, allocations: 0.5861 MB / 0.7561 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.7504, allocations: 0 / 0.7561 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.03e-05/0.7505, allocations: 70.8 kB / 0.7562 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.454e-05/0.7505, allocations: 84.08 kB / 0.7563 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.046e-05/0.7505, allocations: 4 kB / 0.7563 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.388e-05/0.7505, allocations: 0 / 0.7563 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.634e-05/0.7506, allocations: 5.969 kB / 0.7563 GB, free: 24.28 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.7506, allocations: 3.844 kB / 0.7563 GB, free: 24.28 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.36e-05/0.7506, allocations: 79.31 kB / 0.7564 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7506, allocations: 0 / 0.7564 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001961/0.7508, allocations: 11.75 kB / 0.7564 GB, free: 24.2 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.0004052/0.7512, allocations: 0.6127 MB / 0.757 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001422/0.7514, allocations: 21.56 kB / 0.757 GB, free: 23.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.7514, allocations: 0 / 0.757 GB, free: 23.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 7.506e-05/0.7515, allocations: 14.39 kB / 0.757 GB, free: 23.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001038/0.7516, allocations: 6.188 kB / 0.757 GB, free: 23.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002502/0.7518, allocations: 95.11 kB / 0.7571 GB, free: 23.48 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002599/0.7521, allocations: 0.6795 MB / 0.7578 GB, free: 22.79 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.628e-05/0.7521, allocations: 128 / 0.7578 GB, free: 22.79 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.269e-05/0.7522, allocations: 11.44 kB / 0.7578 GB, free: 22.78 MB / 0.5105 GB Notification: Performance of SimCode: time 6.31e-07/0.7522, allocations: 0 / 0.7578 GB, free: 22.78 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.465/1.217, allocations: 1.128 MB / 0.7589 GB, free: 22.62 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002377/1.217, allocations: 203.8 kB / 0.7591 GB, free: 22.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.881/3.098, allocations: 1.969 kB / 0.7591 GB, free: 22.4 MB / 0.5105 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)