Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) 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.FixedResistances.Examples.CheckValve,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Examples_CheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.CheckValve,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Examples_CheckValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006268/0.006268, allocations: 103.5 kB / 15.74 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 191.9 kB / 16.67 MB, free: 5.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.237/1.237, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7326/0.7326, allocations: 132.2 MB / 422.7 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 61.97 kB / 0.5808 GB, free: 24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1411, allocations: 80.22 MB / 0.6592 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.CheckValve): time 0.02086/0.162, allocations: 20.74 MB / 0.6794 GB, free: 5.973 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00606/0.1681, allocations: 4.958 MB / 0.6843 GB, free: 1.004 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005201/0.1686, allocations: 19.88 kB / 0.6843 GB, free: 0.9844 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0007253/0.1693, allocations: 274.1 kB / 0.6845 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001779/0.1712, allocations: 0.8591 MB / 0.6854 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001644/0.1728, allocations: 0.715 MB / 0.6861 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001402/0.1742, allocations: 1.388 MB / 0.6874 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004994/0.1747, allocations: 439.2 kB / 0.6879 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008035/0.1756, allocations: 0.5799 MB / 0.6884 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004893/0.1761, allocations: 446.1 kB / 0.6889 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.769e-05/0.1761, allocations: 40 kB / 0.6889 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00104/0.1772, allocations: 0.6316 MB / 0.6895 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001349/0.1773, allocations: 127.4 kB / 0.6896 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002433/0.1776, allocations: 286.5 kB / 0.6899 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000973/0.1786, allocations: 0.8537 MB / 0.6907 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1786, allocations: 0 / 0.6907 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1786, allocations: 7.938 kB / 0.6907 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.165e-06/0.1786, allocations: 4 kB / 0.6907 GB, free: 10.36 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001428/0.18, allocations: 0.9149 MB / 0.6916 GB, free: 9.395 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.1801, allocations: 12.02 kB / 0.6917 GB, free: 9.383 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.359e-05/0.1802, allocations: 66.73 kB / 0.6917 GB, free: 9.309 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001114/0.1803, allocations: 64.19 kB / 0.6918 GB, free: 9.246 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006779/0.181, allocations: 474.4 kB / 0.6922 GB, free: 8.742 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.683e-05/0.181, allocations: 32.59 kB / 0.6923 GB, free: 8.711 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.024e-05/0.181, allocations: 32 kB / 0.6923 GB, free: 8.68 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005707/0.1816, allocations: 313.9 kB / 0.6926 GB, free: 8.367 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.1816, allocations: 3.984 kB / 0.6926 GB, free: 8.363 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.052e-05/0.1817, allocations: 16 kB / 0.6926 GB, free: 8.348 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/0.1817, allocations: 8 kB / 0.6926 GB, free: 8.34 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005649/0.1823, allocations: 258.4 kB / 0.6929 GB, free: 8.086 MB / 0.5294 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001925/0.1842, allocations: 1.337 MB / 0.6942 GB, free: 6.629 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004843/0.1847, allocations: 257.1 kB / 0.6944 GB, free: 6.371 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000272/0.185, allocations: 140.8 kB / 0.6945 GB, free: 6.23 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003657/0.1854, allocations: 0.4908 MB / 0.695 GB, free: 5.629 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.1854, allocations: 46.42 kB / 0.6951 GB, free: 5.574 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=25): time 1.273e-06/0.1854, allocations: 0 / 0.6951 GB, free: 5.574 MB / 0.5294 GB Notification: Performance of matching and sorting (n=25): time 0.001608/0.187, allocations: 0.5572 MB / 0.6956 GB, free: 4.988 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.1871, allocations: 55.41 kB / 0.6957 GB, free: 4.922 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004484/0.1875, allocations: 462.2 kB / 0.6961 GB, free: 4.461 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.665e-05/0.1876, allocations: 33.7 kB / 0.6961 GB, free: 4.422 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001611/0.1877, allocations: 248.4 kB / 0.6964 GB, free: 4.176 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.971e-05/0.1878, allocations: 82.77 kB / 0.6965 GB, free: 4.094 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.1879, allocations: 81.61 kB / 0.6965 GB, free: 4.008 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.1881, allocations: 362.8 kB / 0.6969 GB, free: 3.645 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002771/0.1883, allocations: 112.8 kB / 0.697 GB, free: 3.531 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003413/0.1887, allocations: 181 kB / 0.6972 GB, free: 3.336 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005599/0.1893, allocations: 277.1 kB / 0.6974 GB, free: 3.059 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1893, allocations: 0 / 0.6974 GB, free: 3.059 MB / 0.5294 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001421/0.1907, allocations: 489.7 kB / 0.6979 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.1907, allocations: 4 kB / 0.6979 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1907, allocations: 8 kB / 0.6979 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003392/0.1911, allocations: 60.83 kB / 0.698 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003312/0.1914, allocations: 71.89 kB / 0.698 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003797/0.1918, allocations: 0.564 MB / 0.6986 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003724/0.1922, allocations: 47.72 kB / 0.6986 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-05/0.1922, allocations: 19.98 kB / 0.6986 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003682/0.1926, allocations: 239.8 kB / 0.6989 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003206/0.1929, allocations: 178.6 kB / 0.699 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005241/0.1935, allocations: 263.6 kB / 0.6993 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.282e-06/0.1935, allocations: 0 / 0.6993 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0007067/0.1942, allocations: 368.8 kB / 0.6996 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.1942, allocations: 11.94 kB / 0.6997 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.993e-06/0.1942, allocations: 0 / 0.6997 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.615e-06/0.1942, allocations: 0 / 0.6997 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000358/0.1946, allocations: 75.89 kB / 0.6997 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.1946, allocations: 4 kB / 0.6997 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003584/0.195, allocations: 51.86 kB / 0.6998 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.081e-05/0.195, allocations: 19.97 kB / 0.6998 GB, free: 0.5508 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001144/0.1951, allocations: 196.2 kB / 0.7 GB, free: 360 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.638e-05/0.1952, allocations: 51.38 kB / 0.7 GB, free: 308 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008436/0.1961, allocations: 421.1 kB / 0.7004 GB, free: 15.87 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/0.1961, allocations: 7.984 kB / 0.7004 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1961, allocations: 4 kB / 0.7005 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1961, allocations: 4 kB / 0.7005 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001328/0.1974, allocations: 0.9398 MB / 0.7014 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.1975, allocations: 4.125 kB / 0.7014 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002155/0.1977, allocations: 47.95 kB / 0.7014 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000151/0.1978, allocations: 48.77 kB / 0.7015 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.242e-05/0.1979, allocations: 8 kB / 0.7015 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003009/0.1982, allocations: 0.56 MB / 0.702 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.1982, allocations: 4.031 kB / 0.702 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007111/0.1989, allocations: 0.495 MB / 0.7025 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001433/0.1991, allocations: 152.4 kB / 0.7027 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.071e-05/0.1991, allocations: 11.94 kB / 0.7027 GB, free: 13.44 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002944/0.1994, allocations: 23.97 kB / 0.7027 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.955e-05/0.1995, allocations: 20.11 kB / 0.7027 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.18e-05/0.1995, allocations: 8 kB / 0.7027 GB, free: 13.39 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000304/0.1998, allocations: 326.9 kB / 0.703 GB, free: 13.07 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1998, allocations: 4 kB / 0.703 GB, free: 13.07 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006494/0.2005, allocations: 255.5 kB / 0.7033 GB, free: 12.82 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001329/0.2018, allocations: 1.181 MB / 0.7044 GB, free: 11.61 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001044/0.2029, allocations: 466.1 kB / 0.7049 GB, free: 11.15 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.2029, allocations: 0 / 0.7049 GB, free: 11.15 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003634/0.2033, allocations: 167.8 kB / 0.705 GB, free: 10.99 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009174/0.2042, allocations: 207.7 kB / 0.7052 GB, free: 10.79 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005759/0.2099, allocations: 4.005 MB / 0.7091 GB, free: 6.668 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003611/0.2103, allocations: 0.851 MB / 0.71 GB, free: 5.789 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003471/0.2107, allocations: 112.1 kB / 0.7101 GB, free: 5.68 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002294/0.2109, allocations: 183.4 kB / 0.7103 GB, free: 5.5 MB / 0.545 GB Notification: Performance of SimCode: time 4.61e-07/0.2109, allocations: 4 kB / 0.7103 GB, free: 5.496 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03823/0.2492, allocations: 15.02 MB / 0.7249 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.44, allocations: 1.719 kB / 0.7249 GB, free: 6.766 MB / 0.5606 GB (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FixedResistances_Examples_CheckValve_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FixedResistances_Examples_CheckValve.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)