Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="IDEAS_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.008315/0.008315, allocations: 170.7 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.763/0.763, allocations: 135.2 MB / 151 MB, free: 13.82 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.56/1.56, 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.0009509/0.0009508, allocations: 96.88 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003587/0.0003587, allocations: 11.98 kB / 0.5692 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4576/0.458, allocations: 82.3 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1563/0.6144, allocations: 113.1 MB / 0.7599 GB, free: 2.914 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000235/0.6147, allocations: 83.94 kB / 0.76 GB, free: 2.832 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01692/0.6316, allocations: 5.4 MB / 0.7653 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.534e-06/0.6316, allocations: 0 / 0.7653 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.626e-06/0.6317, 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.00051/0.6322, allocations: 375.1 kB / 0.7656 GB, free: 13.01 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/0.6322, allocations: 12.03 kB / 0.7657 GB, free: 13 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.99e-05/0.6323, allocations: 34.56 kB / 0.7657 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.853e-05/0.6323, allocations: 3.953 kB / 0.7657 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.6325, allocations: 171 kB / 0.7659 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.6325, allocations: 3.984 kB / 0.7659 GB, free: 12.74 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.6325, allocations: 0 / 0.7659 GB, free: 12.74 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/0.6326, allocations: 37.7 kB / 0.7659 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-06/0.6326, allocations: 0 / 0.7659 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.6327, allocations: 0 / 0.7659 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.6327, allocations: 7.984 kB / 0.7659 GB, free: 12.69 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.524e-05/0.6327, allocations: 16 kB / 0.7659 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003564/0.6331, allocations: 252.8 kB / 0.7662 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002129/0.6333, allocations: 46.56 kB / 0.7662 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.6334, allocations: 4.062 kB / 0.7662 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.6334, allocations: 34.66 kB / 0.7662 GB, free: 12.28 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.6334, allocations: 0 / 0.7662 GB, free: 12.28 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4): time 0.0001904/0.6336, allocations: 57.67 kB / 0.7663 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/0.6336, allocations: 63.3 kB / 0.7664 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.668e-05/0.6337, allocations: 89 kB / 0.7664 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.464e-05/0.6338, allocations: 29.7 kB / 0.7665 GB, free: 12.01 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.55e-05/0.6338, allocations: 84.05 kB / 0.7665 GB, free: 11.93 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.302e-05/0.6338, allocations: 7.812 kB / 0.7666 GB, free: 11.92 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.922e-06/0.6338, allocations: 4 kB / 0.7666 GB, free: 11.91 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.634, allocations: 322.8 kB / 0.7669 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.732e-05/0.634, allocations: 4 kB / 0.7669 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.073e-05/0.634, allocations: 17.72 kB / 0.7669 GB, free: 11.56 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.713e-05/0.6341, allocations: 11.98 kB / 0.7669 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.6341, allocations: 4 kB / 0.7669 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.066e-05/0.6342, allocations: 57.62 kB / 0.767 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.6342, allocations: 5.094 kB / 0.767 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.6342, allocations: 8.016 kB / 0.767 GB, free: 11.47 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.6342, allocations: 4 kB / 0.767 GB, free: 11.47 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.675e-05/0.6343, allocations: 8.359 kB / 0.767 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.6343, allocations: 4 kB / 0.767 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.565e-05/0.6343, allocations: 3.953 kB / 0.767 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.6344, 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 7.683e-05/0.6344, allocations: 109.8 kB / 0.7671 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.317e-05/0.6345, allocations: 3.984 kB / 0.7671 GB, free: 11.33 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001485/0.6346, allocations: 77.02 kB / 0.7672 GB, free: 11.25 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.6346, allocations: 0 / 0.7672 GB, free: 11.25 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/0.6346, allocations: 0 / 0.7672 GB, free: 11.25 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.6346, allocations: 0 / 0.7672 GB, free: 11.25 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/0.6348, allocations: 165.6 kB / 0.7673 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.6348, allocations: 0 / 0.7673 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.449e-05/0.6349, allocations: 4 kB / 0.7673 GB, free: 11.03 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.6349, allocations: 4.062 kB / 0.7673 GB, free: 11.03 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.6349, allocations: 11.98 kB / 0.7674 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.6349, allocations: 0 / 0.7674 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.6349, allocations: 4 kB / 0.7674 GB, free: 11.01 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001268/0.635, allocations: 151.4 kB / 0.7675 GB, free: 10.85 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.261e-05/0.6351, allocations: 77.11 kB / 0.7676 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.6351, allocations: 0 / 0.7676 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.959e-05/0.6352, allocations: 0 / 0.7676 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.632e-05/0.6352, allocations: 4 kB / 0.7676 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/0.6352, allocations: 0 / 0.7676 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.329e-05/0.6353, allocations: 87.27 kB / 0.7677 GB, free: 10.66 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6353, allocations: 4 kB / 0.7677 GB, free: 10.66 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002784/0.6355, 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.0005598/0.6361, allocations: 0.7122 MB / 0.7684 GB, free: 9.898 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 9.476e-05/0.6362, allocations: 16 kB / 0.7684 GB, free: 9.883 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.6362, allocations: 64 / 0.7684 GB, free: 9.883 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.541e-05/0.6363, allocations: 19.98 kB / 0.7684 GB, free: 9.863 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001375/0.6364, allocations: 6.516 kB / 0.7684 GB, free: 9.859 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000468/0.6369, allocations: 182.1 kB / 0.7686 GB, free: 9.641 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002893/0.6372, allocations: 0.677 MB / 0.7693 GB, free: 8.938 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.876e-05/0.6372, allocations: 8 kB / 0.7693 GB, free: 8.93 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.055e-05/0.6373, allocations: 7.438 kB / 0.7693 GB, free: 8.922 MB / 0.5417 GB Notification: Performance of SimCode: time 2.51e-07/0.6373, allocations: 4 kB / 0.7693 GB, free: 8.918 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01241/0.6497, allocations: 1.152 MB / 0.7704 GB, free: 7.898 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002037/0.6499, allocations: 192.5 kB / 0.7706 GB, free: 7.656 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.649/2.299, allocations: 0 / 0.7706 GB, free: 7.656 MB / 0.5417 GB (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)