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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 110 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 195.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8015/0.8015, allocations: 134 MB / 436.6 MB, free: 1.293 MB / 334.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 68.33 kB / 0.6051 GB, free: 15.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1651, allocations: 84.67 MB / 0.6878 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002599/0.1677, allocations: 1.254 MB / 0.689 GB, free: 9.852 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001083/0.1688, allocations: 0.588 MB / 0.6896 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.901e-05/0.1688, allocations: 8 kB / 0.6896 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.918e-05/0.1689, allocations: 0 / 0.6896 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.017e-05/0.1689, allocations: 3.938 kB / 0.6896 GB, free: 9.25 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00055/0.1695, allocations: 145.5 kB / 0.6897 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 5.66e-05/0.1695, allocations: 7.984 kB / 0.6898 GB, free: 9.102 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.732e-05/0.1696, allocations: 0 / 0.6898 GB, free: 9.102 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.964e-05/0.1696, allocations: 4 kB / 0.6898 GB, free: 9.098 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.457e-05/0.1696, allocations: 7.938 kB / 0.6898 GB, free: 9.09 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.1697, allocations: 11.94 kB / 0.6898 GB, free: 9.078 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005313/0.1702, allocations: 335.4 kB / 0.6901 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.243e-05/0.1702, allocations: 4 kB / 0.6901 GB, free: 8.746 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.288e-05/0.1702, allocations: 4 kB / 0.6901 GB, free: 8.742 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002855/0.1705, allocations: 140.6 kB / 0.6902 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1705, allocations: 4 kB / 0.6902 GB, free: 8.602 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1705, allocations: 0 / 0.6902 GB, free: 8.602 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.1705, allocations: 0 / 0.6902 GB, free: 8.602 MB / 0.5137 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.0005065/0.171, allocations: 351.1 kB / 0.6906 GB, free: 8.211 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.1711, allocations: 8.031 kB / 0.6906 GB, free: 8.203 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.953e-05/0.1711, allocations: 38.75 kB / 0.6906 GB, free: 8.156 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.556e-05/0.1712, allocations: 12.89 kB / 0.6906 GB, free: 8.145 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.1713, allocations: 164.3 kB / 0.6908 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.544e-06/0.1713, allocations: 384 / 0.6908 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.339e-05/0.1713, allocations: 4.125 kB / 0.6908 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.1714, allocations: 33.69 kB / 0.6908 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.1714, allocations: 0 / 0.6908 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.223e-06/0.1714, allocations: 0 / 0.6908 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1714, allocations: 3.938 kB / 0.6908 GB, free: 7.898 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.577e-05/0.1715, allocations: 8 kB / 0.6908 GB, free: 7.891 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001847/0.1717, allocations: 149.7 kB / 0.691 GB, free: 7.695 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 6.445e-05/0.1717, allocations: 30.5 kB / 0.691 GB, free: 7.656 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.855e-05/0.1717, allocations: 8.797 kB / 0.691 GB, free: 7.645 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.1718, allocations: 4.062 kB / 0.691 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.1718, allocations: 30.56 kB / 0.6911 GB, free: 7.602 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.1718, allocations: 4 kB / 0.6911 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0001532/0.1719, allocations: 41.69 kB / 0.6911 GB, free: 7.551 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.172, allocations: 51.41 kB / 0.6911 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.644e-05/0.1721, allocations: 101.7 kB / 0.6912 GB, free: 7.379 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.1721, allocations: 25.7 kB / 0.6913 GB, free: 7.348 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.95e-05/0.1721, allocations: 84.12 kB / 0.6913 GB, free: 7.262 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.787e-05/0.1721, allocations: 11.95 kB / 0.6914 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.752e-05/0.1722, allocations: 9.969 kB / 0.6914 GB, free: 7.234 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.1723, allocations: 322.8 kB / 0.6917 GB, free: 6.91 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.219e-05/0.1723, allocations: 0 / 0.6917 GB, free: 6.91 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.448e-06/0.1723, allocations: 4 kB / 0.6917 GB, free: 6.906 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.859e-05/0.1724, allocations: 12.86 kB / 0.6917 GB, free: 6.891 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1724, allocations: 0 / 0.6917 GB, free: 6.891 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.378e-05/0.1724, allocations: 41.64 kB / 0.6917 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.1725, allocations: 4 kB / 0.6917 GB, free: 6.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.1725, allocations: 8.078 kB / 0.6917 GB, free: 6.832 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.1725, allocations: 4 kB / 0.6917 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001476/0.1726, allocations: 7.938 kB / 0.6918 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004576/0.1731, allocations: 0.5822 MB / 0.6923 GB, free: 6.215 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.98e-05/0.1731, allocations: 3.953 kB / 0.6923 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.1731, allocations: 3.938 kB / 0.6923 GB, free: 6.207 MB / 0.5137 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.885e-05/0.1732, allocations: 115.1 kB / 0.6924 GB, free: 6.086 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.979e-06/0.1732, allocations: 4 kB / 0.6924 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001215/0.1733, allocations: 52.69 kB / 0.6925 GB, free: 6.02 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.1733, allocations: 3.984 kB / 0.6925 GB, free: 6.016 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1733, allocations: 0 / 0.6925 GB, free: 6.016 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.1733, allocations: 0 / 0.6925 GB, free: 6.016 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001211/0.1735, allocations: 153.6 kB / 0.6926 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1735, allocations: 0 / 0.6926 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.13e-05/0.1735, allocations: 15.92 kB / 0.6927 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1735, allocations: 4.031 kB / 0.6927 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.621e-06/0.1735, allocations: 0 / 0.6927 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003669/0.1739, allocations: 0.586 MB / 0.6932 GB, free: 5.188 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1739, allocations: 0 / 0.6932 GB, free: 5.188 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.211e-05/0.174, allocations: 69.19 kB / 0.6933 GB, free: 5.102 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.338e-05/0.174, allocations: 81.14 kB / 0.6934 GB, free: 5.004 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.1741, allocations: 7.922 kB / 0.6934 GB, free: 4.996 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.34e-05/0.1741, allocations: 0 / 0.6934 GB, free: 4.996 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.441e-05/0.1741, allocations: 0 / 0.6934 GB, free: 4.996 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.1741, allocations: 7.984 kB / 0.6934 GB, free: 4.988 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.094e-05/0.1741, allocations: 79.28 kB / 0.6935 GB, free: 4.91 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6e-08/0.1741, allocations: 0 / 0.6935 GB, free: 4.91 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001896/0.1743, allocations: 8 kB / 0.6935 GB, free: 4.902 MB / 0.5137 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004978/0.1748, allocations: 0.6279 MB / 0.6941 GB, free: 4.242 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001612/0.175, allocations: 19.98 kB / 0.6941 GB, free: 4.223 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.175, allocations: 0 / 0.6941 GB, free: 4.223 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 7.982e-05/0.1751, allocations: 15.98 kB / 0.6941 GB, free: 4.207 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001356/0.1752, allocations: 5.031 kB / 0.6941 GB, free: 4.203 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004979/0.1757, allocations: 139.5 kB / 0.6943 GB, free: 4.027 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.176, allocations: 0.6768 MB / 0.6949 GB, free: 3.324 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.546e-05/0.176, allocations: 0 / 0.6949 GB, free: 3.324 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.46e-05/0.1761, allocations: 7.438 kB / 0.6949 GB, free: 3.316 MB / 0.5137 GB Notification: Performance of SimCode: time 2.81e-07/0.1761, allocations: 0 / 0.6949 GB, free: 3.316 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02536/0.2014, allocations: 1.377 MB / 0.6963 GB, free: 2.164 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.45, allocations: 3.984 kB / 0.6963 GB, free: 2.16 MB / 0.5137 GB " [Timeout remaining time 648] (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/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.781457675155252] Failed to read output from testmodel.py, exit status != 0: 11.535070199053735 11.554686668 11.380489451 Calling exit ...