Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.InverseFlowFunctions,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",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.00687/0.00687, allocations: 172 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7791/0.7791, 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.757/1.757, allocations: 223.2 MB / 406.8 MB, free: 3.223 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.001053/0.001053, allocations: 97.06 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003852/0.0003855, allocations: 11.98 kB / 0.5692 GB, free: 14.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4326/0.433, allocations: 82.3 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1608/0.5939, allocations: 113.1 MB / 0.7599 GB, free: 2.906 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003069/0.5942, allocations: 83.94 kB / 0.76 GB, free: 2.824 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01763/0.6119, allocations: 5.392 MB / 0.7653 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.464e-06/0.6119, allocations: 0 / 0.7653 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.574e-05/0.612, allocations: 0 / 0.7653 GB, free: 13.43 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005108/0.6125, allocations: 375.1 kB / 0.7656 GB, free: 13.01 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.6125, allocations: 15.97 kB / 0.7657 GB, free: 13 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.822e-05/0.6126, allocations: 38.55 kB / 0.7657 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.786e-05/0.6126, allocations: 3.953 kB / 0.7657 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/0.6128, allocations: 167.1 kB / 0.7659 GB, free: 12.74 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.6128, allocations: 3.938 kB / 0.7659 GB, free: 12.74 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.789e-06/0.6128, allocations: 0 / 0.7659 GB, free: 12.74 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.613, allocations: 41.69 kB / 0.7659 GB, free: 12.69 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.613, allocations: 3.984 kB / 0.7659 GB, free: 12.69 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.613, allocations: 4 kB / 0.7659 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.613, allocations: 0 / 0.7659 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.555e-05/0.6131, allocations: 19.98 kB / 0.7659 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004154/0.6135, allocations: 252.8 kB / 0.7662 GB, free: 12.37 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002204/0.6137, allocations: 46.62 kB / 0.7662 GB, free: 12.31 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 3.123e-05/0.6138, allocations: 4 kB / 0.7662 GB, free: 12.31 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.6138, allocations: 34.56 kB / 0.7662 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 1.463e-06/0.6138, allocations: 0 / 0.7662 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4): time 0.0002047/0.614, allocations: 53.78 kB / 0.7663 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.476e-05/0.6141, allocations: 59.36 kB / 0.7664 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.94e-05/0.6142, allocations: 96.92 kB / 0.7664 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.6143, allocations: 25.7 kB / 0.7665 GB, free: 12 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.537e-05/0.6143, allocations: 88.05 kB / 0.7666 GB, free: 11.91 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.606e-05/0.6144, allocations: 7.812 kB / 0.7666 GB, free: 11.91 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.808e-06/0.6144, allocations: 4 kB / 0.7666 GB, free: 11.9 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.6145, allocations: 318.8 kB / 0.7669 GB, free: 11.58 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.101e-05/0.6146, allocations: 7.984 kB / 0.7669 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.426e-05/0.6146, allocations: 17.72 kB / 0.7669 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.729e-05/0.6146, allocations: 8 kB / 0.7669 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-06/0.6147, allocations: 0 / 0.7669 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.467e-05/0.6148, allocations: 57.62 kB / 0.767 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/0.6148, allocations: 8.031 kB / 0.767 GB, free: 11.47 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.6148, allocations: 0 / 0.767 GB, free: 11.47 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.6148, allocations: 4 kB / 0.767 GB, free: 11.47 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.049e-05/0.6149, allocations: 11.92 kB / 0.767 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.6149, allocations: 4 kB / 0.767 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.817e-05/0.6149, allocations: 7.953 kB / 0.767 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.75e-06/0.6149, allocations: 0 / 0.767 GB, free: 11.45 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.182e-05/0.615, allocations: 109.8 kB / 0.7671 GB, free: 11.33 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.211e-05/0.6151, allocations: 0 / 0.7671 GB, free: 11.33 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001488/0.6152, allocations: 73.02 kB / 0.7672 GB, free: 11.25 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.6152, allocations: 0 / 0.7672 GB, free: 11.25 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.6152, allocations: 0 / 0.7672 GB, free: 11.25 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.6152, allocations: 0 / 0.7672 GB, free: 11.25 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001844/0.6154, allocations: 173.5 kB / 0.7673 GB, free: 11.03 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.6154, allocations: 480 / 0.7673 GB, free: 11.03 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.55e-05/0.6155, allocations: 4 kB / 0.7673 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.6155, allocations: 0 / 0.7673 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.6155, allocations: 128 / 0.7673 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.6155, allocations: 8 kB / 0.7673 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.6155, allocations: 4 kB / 0.7674 GB, free: 11.01 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001411/0.6157, allocations: 155.4 kB / 0.7675 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.458e-05/0.6157, allocations: 77.11 kB / 0.7676 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.6158, allocations: 3.984 kB / 0.7676 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.01e-05/0.6158, allocations: 0 / 0.7676 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.505e-05/0.6158, allocations: 4 kB / 0.7676 GB, free: 10.74 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.6158, allocations: 0 / 0.7676 GB, free: 10.74 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.11e-05/0.6159, allocations: 83.28 kB / 0.7677 GB, free: 10.66 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.3e-07/0.6159, allocations: 0 / 0.7677 GB, free: 10.66 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002774/0.6162, allocations: 20 kB / 0.7677 GB, free: 10.64 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000554/0.6167, allocations: 0.7084 MB / 0.7684 GB, free: 9.902 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 9.18e-05/0.6168, allocations: 27.92 kB / 0.7684 GB, free: 9.875 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.6169, allocations: 4.062 kB / 0.7684 GB, free: 9.871 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.356e-05/0.6169, allocations: 12 kB / 0.7684 GB, free: 9.859 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001324/0.617, allocations: 6.172 kB / 0.7684 GB, free: 9.855 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000477/0.6175, allocations: 182.1 kB / 0.7686 GB, free: 9.637 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/0.6178, allocations: 0.677 MB / 0.7693 GB, free: 8.934 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 4.282e-05/0.6179, allocations: 11.98 kB / 0.7693 GB, free: 8.922 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.548e-05/0.6179, allocations: 11.42 kB / 0.7693 GB, free: 8.91 MB / 0.5417 GB Notification: Performance of SimCode: time 2.4e-07/0.6179, allocations: 0 / 0.7693 GB, free: 8.91 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01291/0.6308, allocations: 1.163 MB / 0.7704 GB, free: 7.898 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002202/0.6311, allocations: 190 kB / 0.7706 GB, free: 7.66 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.609/2.24, allocations: 0 / 0.7706 GB, free: 7.66 MB / 0.5417 GB (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)